EBNF Tool
EBNF
Convert
[Ctrl+Enter]
"EBNF defined in itself, start rule is syntax" { syntax = [ title ] "{" { rule } "}" [ comment ]. rule = identifier "=" expression ( "." | ";" ) . expression = term { "|" term } . term = factor { factor } . factor = identifier | literal | "[" expression "]" | "(" expression ")" | "{" expression "}" . identifier = character { character } . title = literal . comment = literal . literal = "'" character { character } "'" | '"' character { character } '"' . }
Syntax-Diagram