A ScalaTest tag that enables us to focus attention on particular tests rather than running all of them each time.
Assert that a message was produced at a given position.
Assert that a message was produced at a given position.
Parse let and letrec expressions
Parse let and letrec expressions
Parse code blocks
Parse code blocks
Continuation handling.
Continuation handling.
The following attribute contains the SECD bytecode generated from the ISWIM syntax node it is attached to.
The following attribute contains the SECD bytecode generated from the ISWIM syntax node it is attached to.
Parse tuple / record expressions
Parse tuple / record expressions
Simple name analysis - using an environment All we need to do here is check that at use sites all variables have been bound by an enclosing let, letrec or function parameter.
Simple name analysis - using an environment All we need to do here is check that at use sites all variables have been bound by an enclosing let, letrec or function parameter.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Parse if .
Parse if ... then ... else ...
Parse lambda (fun) expressions
Parse lambda (fun) expressions
Parse toplevel statements
Parse toplevel statements
Literals, identifiers, keywords and other atomic phrases
Literals, identifiers, keywords and other atomic phrases
Precedence based infix expression parsers.
Precedence based infix expression parsers. Ordered from highest to lowest precedence.
Primitives
Primitives
(Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
Identifiers - keywords and names.
Identifiers - keywords and names.
Parse return expressions
Parse return expressions
Compare two values.
Compare two values. Use reference equality for references and value equality for non-references. If the values are both Some values, perform the check on the wrapped values.
Top level parsers
Top level parsers
(Changed in version 2.10.0) stringLiteral allows escaping single and double quotes, but not forward slashes any longer.
Check for match clauses which are unreachable because they are preceeded by a clauses which match any value.
Check for match clauses which are unreachable because they are preceeded by a clauses which match any value.
References.
References.
Parse while expression
Parse while expression
(Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0
(Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0