Install ebnflint by entering the following commands in the terminal:
sudo apt update sudo apt install ebnflint
Description:
verifies EBNF productions are consistent and grammatically correct
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 .
. Usage: . ebnflint [--start production] [file] . The --start flag specifies the name of the start production for the grammar; it defaults to "Start".
Homepage: https://golang.org/x/exp
Version: 0.0~git20150826.1.eb7c1fa-1
Section: universe/devel