summaryrefslogtreecommitdiff
path: root/libgo/go/exp/ebnflint/doc.go
blob: f35976eea73012d27788d20e5bf837dab342814f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

/*

Ebnflint verifies that EBNF productions are consistent and gramatically 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:
	ebnflint [--start production] [file]

The --start flag specifies the name of the start production for
the grammar; it defaults to "Start".

*/
package documentation