kach / nearley

📜🔜🌲 Simple, fast, powerful parser toolkit for JavaScript.
https://nearley.js.org
MIT License
3.63k stars 231 forks source link

nearley-railroad doesn't follow @include's #519

Open mattfysh opened 4 years ago

Floffah commented 4 years ago

Hi, the built in nearley-railroad works but isnt great. I have built a package for this that looks very similar but allows for templates & doesn't quite follow @includes but does follow any rule in your grammar that could have came from multiple files. See it at https://github.com/Floffah/better-nearley-railroad