Grammar Conversion

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:
Inline single-string nonterminals:
Keep references to epsilon-only nonterminals:
Target format:

Convert v0.64 - Mar 09, 2023
© 2011-2023 Gunther Rademacher