tame/tamer/src/parse
Mike Gerwitz 1ec9c963fd tamer: xir::parse::ele: Nonterminal repetition (Kleene star)
This allows an element to be repeated by the parent NT.  The easiest way I
saw to implement this for now was to abuse the Context to provide a runtime
configuration that would allow the state machine to reset after it has
completed parsing.

This also influences error recovery, in that if we're expecting zero or more
of something, we cannot provide an error for an unexpected name, and instead
must emit a dead state so that the caller can determine what to do.

DEV-7145
2022-07-19 16:14:12 -04:00
..
state tamer: parser::Parser: cfg(test) tracing 2022-07-19 14:44:18 -04:00
error.rs tamer: Replace ParseStatus::Dead with generic lookahead 2022-07-12 00:11:45 -04:00
lower.rs tamer: Replace ParseStatus::Dead with generic lookahead 2022-07-12 00:11:45 -04:00
parser.rs tamer: parser::Parser: cfg(test) tracing 2022-07-19 14:44:18 -04:00
state.rs tamer: xir::parse::ele: Nonterminal repetition (Kleene star) 2022-07-19 16:14:12 -04:00