wduquette / molt

Embeddable TCL Interpreter for Rust applications
BSD 3-Clause "New" or "Revised" License
103 stars 12 forks source link

Tokenizer #44

Closed wduquette closed 4 years ago

wduquette commented 4 years ago

This pull request adds a new type, Tokenizer, which allows a string slice to be parsed into slices while still supporting "peek()", and uses it in the list-syntax parser. Tokenizer will eventually replace CharPtr and EvalPtr.