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.

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.