File tree 1 file changed +35
-0
lines changed 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ .TH YAPPS2 1
2
+ .SH NAME
3
+ yapps2 \- generate python parser code from grammar description file
4
+ .SH SYNOPSIS
5
+ .B yapps2
6
+ [\fB \- h \fR ]
7
+ [\fB \- i \fR , \fB \-\- context-insensitive-scanner \fR ]
8
+ [\fB \- t \fR , \fB \-\- indent-with-tabs \fR ]
9
+ [\fB \-\- dump \fR ]
10
+ .IR grammar_file [ parser_file ]
11
+ .SH DESCRIPTION
12
+ .B yapps2
13
+ generates python parser code from a grammar description file.
14
+ .SH OPTIONS
15
+ .TP
16
+ .BR \- h " , " \-\- help\fR
17
+ show a help message and exit
18
+ .TP
19
+ .BR \- i " , " \-\- context-insensitive-scanner\fR
20
+ Scan all tokens. See the documentation for details.
21
+ .TP
22
+ .BR \- t " , " \-\- indent-with-tabs\fR
23
+ Use tabs instead of four spaces for indentation in generated code.
24
+ .TP
25
+ .BR \-\- dump\fR
26
+ Dump out grammar information.
27
+ .TP
28
+ .BR grammar_file
29
+ grammar description file (input)
30
+ .TP
31
+ .BR parser_file
32
+ Name of the output file to be generated.
33
+ .BR
34
+ The grammar file's name, with .py appended, will be used, if omitted.
35
+ \" -\" or \"/dev/stdout\" can be used to send generated code to stdout.
You can’t perform that action at this time.
0 commit comments