You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Majda 5e146fce38 Text nodes: Implement text nodes
Implement a new syntax to extract matched strings from expressions. For
example, instead of:

  identifier = first:[a-zA-Z_] rest:[a-zA-Z0-9_]* { return first + rest.join(""); }

you can now just write:

  identifier = $([a-zA-Z_] [a-zA-Z0-9_]*)

This is useful mostly for "lexical" rules at the bottom of many
grammars.

Note that structured match results are still built for the expressions
prefixed by "$", they are just ignored. I plan to optimize this later
(sometime after the code generator rewrite).
12 years ago
..
allocate-registers.js Text nodes: Implement text nodes 12 years ago
generate-code.js Text nodes: Implement text nodes 12 years ago
remove-proxy-rules.js Text nodes: Implement text nodes 12 years ago
report-left-recursion.js Text nodes: Implement text nodes 12 years ago
report-missing-rules.js Text nodes: Implement text nodes 12 years ago