expgolang.org/x/exp/ebnflint

ebnflint command

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

Version
v0.0.0-20250218142911-aa4b98e5adaa (latest)
Published
Feb 18, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
2 days ago

Tools for package owners.