Hacker News new | ask | show | jobs
by rmasters 1934 days ago
Tree-sitter uses JS for grammars and I'm sure there are others:

https://tree-sitter.github.io/tree-sitter/creating-parsers#t...

1 comments

I was aiming for sub-100 lines of code implementation. IMO, a full-fledged library would be much better off if they just supported EBNF or McKeeman Form.