Javascript lexing for high performance
https://medium.com/@retep007/javascript-lexing-for-high-performance-f9a800ec930d
In this post I will describe my latest findings from writing my own Javascript lexer in Rust-lang. I will start by briefly describing what lexing is. Then, I will continue explaining how to implement state machines in Rust-lang. Next, I talk about how to use state machines for Javascript lexing. Last but not least, I cover further performance optimizations of my lexer.
I would like to thank Sean Barret for his blog post explaining lexing of C using state machines.