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, 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.54.2082 - Sep 22, 2021
© 2011-2021 Gunther Rademacher