User Tools

Site Tools


cdc:dtcyber:v5.8.sz: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.

How to use

<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>

Syntax

cdc/dtcyber/v5.8.sz/extended.bnf.txt · Last modified: 2023/08/05 18:07 by Site Administrator