Notes on Parsing in Rust - Part 1
5/3/2020 ā¢ āļø 1 min read
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
Zero allocations
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.