1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
7 Ebnflint verifies that EBNF productions are consistent and grammatically correct.
8 It reads them from an HTML document such as the Go specification.
10 Grammar productions are grouped in boxes demarcated by the HTML elements
16 go tool ebnflint [--start production] [file]
18 The --start flag specifies the name of the start production for
19 the grammar; it defaults to "Start".