9 ms·
I find (2.) rather interesting. A parser than can parse its own grammar definitions. A language that can define itself.
by galaxyLogic 6y ago
I 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.