EBNFer

« PluGeSHin   Home   Javascript Quizzes »

EBNFer is a railroad diagram generator for Wordpress. It lets you use Wordpress shortcodes to parse and render Extended Backus–Naur Form diagrams.

Download EBNFer from Wordpress.org

The EBNF parser and renderer is built off of the one created by Vincent Tscherter.

Example usage:

[[ebnf title="JSON RR Diagram"]
"JSON" {
object = "{" [ ( string ':' value ) { ',' string ':' value }  ] "}".
array = '['  [ value { ',' value } ] ']'.
}
[/ebnf]]

EBNF1

Shortcode attributes:

Grammar use:

EBNF2