4 ms·
I'd like to see a parser-generator built using these principles, as most of the DSLs for building DSLs are "bad DSLs", by this definition.
by traverseda 8y ago
I'd like to see a parser-generator built using these principles, as most of the DSLs for building DSLs are "bad DSLs", by this definition.
- wcrichton 8y agoArguably parser combinators satisfy the author's requirements, e.g. https://github.com/Geal/nom/ https://github.com/Geal/nom/
- nixpulvis 8y agoDoes this count? https://github.com/nixpulvis/parser-combinator https://github.com/nixpulvis/parser-combinator
- bd82 8y agoHave a look at this: https://tomassetti.me/parsing-in-javascript/#chevrotain https://tomassetti.me/parsing-in-javascript/#chevrotain This is Not exactly a parser generator but an internal JavaScript DSL for writing parsers, but it does meet the criteria for a more verbose syntax.