ebnflint

command
v0.0.0-...-2824937 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2020 License: MIT, BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Ebnflint verifies that EBNF productions are consistent and grammatically correct. It reads them from an HTML document such as the Go specification.

Grammar productions are grouped in boxes demarcated by the HTML elements

<pre class="ebnf">
</pre>

Usage:

go tool ebnflint [--start production] [file]

The --start flag specifies the name of the start production for the grammar; it defaults to "Start".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL