Hi, I’m trying to use peg.js to make a language package, but there doesn’t seem to be a way in the documentation to do it without relying on lr? Is there any simple example or documentation for this?
You’d have to implement your own
Parser subclass. That is documented, but there’s no examples beyond the markdown and the stream parsers.
Thank you very much, I’ve figured out how to do it!