Hacker News new | ask | show | jobs
by coolsunglasses 4672 days ago
mu

https://github.com/Engelberg/instaparse

2 comments

Context sensitive lexing: check

Flexible grammar construction: check

Easy to manipulate resulting syntax tree: double check

Instaparse is great stuff, GLL is a phenomenally powerful algorithm.

That is a sexy parser generator you got there. Pity it seems to be limited to use in a Clojure environment.
>Pity it seems to be limited to use in a Clojure environment.

Don't let that limit you.

the clojure project links to https://github.com/epsil/gll, the last section of which has suggestions and useful links for implementing the algorithm in other languages