Comment by artpar
3 months ago
I am actually going to use this instead of the one I created ( I could never get to correct ASI handling in that grammar)
3 months ago
I am actually going to use this instead of the one I created ( I could never get to correct ASI handling in that grammar)
Haha nice! It's a good library, and it's flexible enough that you can extend the syntax of JS however you like (with some difficulty, as it's not exactly documented). I experimented with adding my own type system to JS by using Acorn. Can recommend.