News for hackers. Stuff that matters.
Re:Parsing in JavaScript: all the tools and libraries you ca... by codeismath on Monday May 24, 2021 @12:29PM (#27266353)
I recently used "Arcsecond" JavaScript Parser Combinator library to output some abstract syntax based on John Reynold's "Definitional interpreters for higher-order programming languages".

It's based on Haskell's Parsec parser combinator library, and is zero-dependency.

I was convinced to give it a try based on watching the author's YouTube videos "Parser Combinators From Scratch" on "Low Level JavaScript". Enjoyable series - recommended.

There are no comments on this comment yet.