Christoph J. Scherr
fc889b57d3
Even writing a lexer in rust seems weird and too hard. The typical lexer scheme does not seem to exist in any crate used by some qualified amount of people, instead we have `nom`, which is a "parser combinator", meaning we write a lot of functions instead of grammar that a parser/scanner will be generated from. This just confuses me a lot to be honest, I'd just want lex and yacc in rust, coming from a university course with ply and antlr4. |
||
---|---|---|
.. | ||
cli | ||
scanner | ||
main.rs |