Back to godoc.org
golang.org/x/exp / ebnflint

Command ebnflint

v0.0.0-...-18d7dbd
Latest Go to latest

The latest major version is .

Published: 5 days ago | License: BSD-3-Clause | Module: golang.org/x/exp

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier