I'm parsing a fairly simple language but my grammar is already becoming unwieldy in a single file. Is there any way to split it up into multiple files?
Asked
Active
Viewed 117 times
1 Answers
1
Yes, grammar files are evaluated with Node.js, so you can use the require
function to split up grammars into files however you see fit.

maxbrunsfeld
- 341
- 2
- 2