ebnf-convert - Grammar Converter

Paste grammar into textarea and click button for converting to W3C grammar notation. These grammar notations are supported: ABNF, ANTLR 3, ANTLR 4, Bison, GOLD, Instaparse, Invisible XML, JavaCC, Jison, PEG.js, Xtext. This is work in progress. Converters for individual notations are in different states of development, so they may or may not work for you. If you experience any problem, please send me an email, and I will try to fix it.

Input grammar:

Direct recursion elimination:
Factoring:
Inline single-string nonterminals:
Keep references to epsilon-only nonterminals:
Target format:
 


ebnf-convert v0.67 - Jan 17, 2024
© 2011-2024 Gunther Rademacher grd@gmx.net