3 ms·
What could be easier than writing a grammar in EBNF-ish notation? This gives you the added benefit that the grammar is explicitly defined, and not implicit in t
by zetalyrae 4y ago
What could be easier than writing a grammar in EBNF-ish notation? This gives you the added benefit that the grammar is explicitly defined, and not implicit in the parser code.
- eatonphil 4y ago> What could be easier than writing a grammar in EBNF-ish notation? Not learning a new language/build system/coding paradigm. :)
- kaba0 4y agoANTLR took me an afternoon, before I could use it for a simple language, including adding it to my build tool.
- westoncb 4y ago> This gives you the added benefit that the grammar is explicitly defined Especially if you're still refining the syntax: it is so comparatively easy to modify a grammar vs parser.