The problem
The constraint worth solving.
Small DSLs and configuration formats often need more rigor than ad hoc string handling but less ceremony than a full external parser-generator workflow.
Write grammars in JavaScript. Parse structured input.
A BNF-like parser that expresses grammar rules as JavaScript objects and includes transformation features for higher-level structured output.

BNFDX keeps grammar close to the JavaScript code that consumes it instead of requiring separate parser-generator files.
Small DSLs and configuration formats often need more rigor than ad hoc string handling but less ceremony than a full external parser-generator workflow.
Resist Design works on product architecture, prototypes, production applications, design systems, and the infrastructure that holds them together.
Start a conversation