News for hackers. Stuff that matters.
Re:Designing a Good DSL by traverseda on Tuesday July 17, 2018 @04:55PM (#17553290)
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.
Re:Designing a Good DSL by wcrichton on Tuesday July 17, 2018 @05:05PM (#17553375)
Arguably parser combinators satisfy the author's requirements, e.g. https://github.com/Geal/nom/
Re:Designing a Good DSL by bd82 on Tuesday July 17, 2018 @07:40PM (#17554480)
Have a look at this: 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.

Re:Designing a Good DSL by nixpulvis on Tuesday July 17, 2018 @05:51PM (#17553764)