Usually, npmtrends is a great way of choosing a library that's widely used and probably more reliable and better documented. When choosing a JS parser, the options are remarkably close!
Related Posts
Blogging about my programming language project: choosing the basic syntax!
https://www.garden-lang.org/blog/syntax.html
I'm still tinkering with the website for my PL experiment. I want the styling to express "labour of love hobby project".
Choosing what program to show on the home page is really hard too. All the keywords are links like Racket.
What do you think? https://www.garden-lang.org/
Counter-intuitively, if you're writing a parser for a programming language, you need it to be a total function. As soon as you build IDE tooling, you need ASTs from invalid or incomplete input.
The parser should return (Ast, List<Error>) rather than Result<Ast, Error>.