Javascript lexing for high performance

Javascript lexing for high performance

5 years ago
Anonymous $syBn1NGQOq

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.