4 ms·
1. Nope, I still need to make some more example grammars :) 2. Yup: https://github.com/gosukiwi/Pasukon/blob/master/lib/grammar.pasukon https://github.com/gosu
by gosukiwi 6y ago
1. Nope, I still need to make some more example grammars :)
2. Yup: https://github.com/gosukiwi/Pasukon/blob/master/lib/grammar.pasukon https://github.com/gosukiwi/Pasukon/blob/master/lib/grammar....
- galaxyLogic 6y agoI find (2.) rather interesting. A parser than can parse its own grammar definitions. A language that can define itself.
- gosukiwi 6y agoYeah it's pretty cool, if I say so myself :) It parses itself (using a pre-compiled AST) to parse other user-defined grammars. Initially I started using PEGjs, and then swapped once it was ready.