Open paupino opened 7 years ago
Refocusing this ticket to output lexer tokens only and let #59 deal with the logging aspect.
This ticket should inject logging into the generated Parser to allow for shift/reduce logging as well as inject logging into lexer.rs
so that we can see both valid and invalid symbols being pushed onto the stack.
Ideally, I'd like to rewrite the lexer so that it generates action tables etc (e.g. like Flex, JFlex etc).
Output lexer tokens (Accept, State, Replace) when logging is set to verbose.