I am writing few parsers in Rust. And here are few notes about that atm.
- nom is good to make lexers, but it is quite verbose than logos
- good tutorials on pratt or shunting yard algorithms
I’d like to try interning strings to have zero-allocation lexer and expressions used in the app. Each token just a slice to interned string in the global cache.