3 ms·
> require extra compilation steps like practically every LR parser generator. It is worth noting that the author's lrpar tool (linked in the article) doesn't a
by ratmice 4y ago
> require extra compilation steps like practically every LR parser generator.
It is worth noting that the author's lrpar tool (linked in the article) doesn't actually require extra compilation steps or code generation. This perhaps comes at the expense of less flexible lexing and parser actions. But lrpar comes with a tool 'nimbleparse', which given a grammar and an input file parses the input file bypassing code generation. This reduces the grammar editing/testing cycle by quite a lot. Inspired by that I have been working on a lsp based version of the tool for a while, to make the whole thing as responsive as possible...