Source file src/cmd/ebnflint/doc.go
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. 4 5 /* 6 7 Ebnflint verifies that EBNF productions are consistent and gramatically correct. 8 It reads them from an HTML document such as the Go specification. 9 10 Grammar productions are grouped in boxes demarcated by the HTML elements 11 <pre class="ebnf"> 12 </pre> 13 14 15 Usage: 16 ebnflint [--start production] [file] 17 18 The --start flag specifies the name of the start production for 19 the grammar; it defaults to "Start". 20 21 */ 22 package documentation