wiki:extended.bnf

Extended Backus–Naur form

All syntax is described using the Extended Backus-Naur form wherever possible. This article is intended to help content creators understand the formatting and to make them understandable by the readers.

<ebnf> "EBNF defined in itself" {
syntax     = [ title ] "{" { production } "}" [ comment ].
production = 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 } '"' .
}</ebnf>
  • wiki/extended.bnf.txt
  • Last modified: 2026/01/24 18:46
  • by Site Administrator