Hacker News new | ask | show | jobs
by codeismath 1853 days ago
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.