DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:ebnf

EBNF Plugin

Compatible with DokuWiki

Greebo

plugin Renders syntax diagrams in EBNF

Last updated on
2023-09-27
Provides
Syntax
Repository
Source

Tagged with diagram, images, media

Download and Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

See also: https://karmin.ch/ebnf/examples

Syntax Example

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

Changelog

plugin/ebnf.txt · Last modified: 2023-09-28 00:56 by tscherter

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki