EBNF 2 Railroad 1.14.1

Make beautiful documentation for your DSL grammar

What is EBNF?

EBNF is a code that expresses the grammar of a formal language.

Extended Backus–Naur form, Wikipedia

You can use EBNF to describe the syntax of a programming laguage, or a domain specific language.
EBNF 2 Railroad converts a EBNF file with comments into a readable HTML page with railroad diagrams.

Try online! or use the command line tool

npm install -g ebnf2railroad