ebnf:index
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| ebnf:index [2009/04/09 13:50] – Vincent Tscherter | ebnf:index [2025/09/06 10:14] (aktuell) – Vincent Tscherter | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | ====== EBNF Parser & Syntax Diagram Renderer ====== | ||
| + | The //EBNF Parser & Syntax Diagram Renderer// can be used stand-alone or as Dokuwiki-Plugin. | ||
| + | |||
| + | ===== Download and Install===== | ||
| + | * https:// | ||
| + | * Requirements: | ||
| + | ===== How to use ===== | ||
| + | |||
| + | < | ||
| + | syntax | ||
| + | production = identifier " | ||
| + | expression = term { " | ||
| + | term = factor { factor } . | ||
| + | factor | ||
| + | | literal | ||
| + | | " | ||
| + | | " | ||
| + | | " | ||
| + | identifier = character { character } . | ||
| + | title = literal . | ||
| + | comment | ||
| + | literal | ||
| + | | '"' | ||
| + | }</ | ||
| + | |||
| + | |||
| + | < | ||
| + | syntax | ||
| + | production = identifier " | ||
| + | expression = term { " | ||
| + | term = factor { factor } . | ||
| + | factor | ||
| + | | literal | ||
| + | | " | ||
| + | | " | ||
| + | | " | ||
| + | identifier = character { character } . | ||
| + | title = literal . | ||
| + | comment | ||
| + | literal | ||
| + | | '"' | ||
| + | } </ | ||
| + | |||
| + | The script is also available as stand-alone version under: '' | ||
| + | .../ | ||
| + | Note: The stand-alone script supports also XML output | ||
| + | .../ | ||
| + | |||
| + | ===== Syntax ===== | ||
| + | * See examples: [[examples]] | ||
| + | * [[wp> | ||
| + | * [[wp> | ||
| + | |||
| + | ===== Todo & Ideas ===== | ||
| + | * Ellipse ... for enumerations. E.g. '' | ||
| + | * temp hack in v0.2: '' | ||
| + | else { | ||
| + | if ($text!=" | ||
| + | rr($im, UNIT, 0, $w-UNIT-1, $h-1, UNIT/2, $black); | ||
| + | imagestring($im, | ||
| + | $text, $text!=" | ||
| + | } ...</ | ||
| + | * Other fonts | ||
| + | * Configurable dimensions | ||
| + | * escape-chars and or unicode in terminals | ||
| + | * Adding //Regexp// beside terminal and identifiers | ||
| + | * using a lightweight syntaxtree instead DOM | ||
| + | * using some standard parsing mechanism | ||
| + | * support for comments & special-sequences ''? | ||
| + | * http:// | ||
| + | * replace antialias function | ||
