matklad / tom

tom: a format-preserving TOML parser in Rust
Apache License 2.0
38 stars 2 forks source link

Switch to hand-written lexer #18

Open matklad opened 6 years ago

matklad commented 6 years ago

Currently, we use regex via m_lexer in our lexer. This increases compile-times and binary size significantly, so we might want to switch to a hand-written lexer (http://github.com/alexcrichton/toml-rs has one). This should be done after we have a comprehensive test-suite though.