![]() |
|
Navigation |
Synopsis Concrete syntax is a notation for patterns that match parse trees and expressions that generate them.
Syntax
Nonterminal . This language is extended in the following way. Each non-terminal reachable X from Non-terminal has an added alternative to allow nested Rascal Patterns inside of concrete syntax fragments:
Description A concrete syntax fragment allows the programmer to write patterns and expressions in the language that is currently analyzed, transformed or generated. The ConcreteSyntax feature is derived from SyntaxDefinitions. For any non-terminal defined in a SyntaxDefinition, you may use ConcreteSyntax to match or generate its parse trees.
Benefits
Pitfalls
![]() |