File: yapps2.man

package info (click to toggle)
yapps2 2.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 408 kB
  • sloc: python: 1,016; sh: 24; makefile: 13
file content (35 lines) | stat: -rw-r--r-- 946 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.TH YAPPS2 1
.SH NAME
yapps2 \- generate python parser code from grammar description file
.SH SYNOPSIS
.B yapps2
[\fB\-h\fR]
[\fB\-i\fR, \fB\-\-context-insensitive-scanner\fR]
[\fB\-t\fR, \fB\-\-indent-with-tabs\fR]
[\fB\-\-dump\fR]
.IR grammar_file [ parser_file ]
.SH DESCRIPTION
.B yapps2
generates python parser code from a grammar description file.
.SH OPTIONS
.TP
.BR \-h ", " \-\-help\fR
show a help message and exit
.TP
.BR \-i ", " \-\-context-insensitive-scanner\fR
Scan all tokens. See the documentation for details.
.TP
.BR \-t ", " \-\-indent-with-tabs\fR
Use tabs instead of four spaces for indentation in generated code.
.TP
.BR \-\-dump\fR
Dump out grammar information.
.TP
.BR grammar_file
grammar description file (input)
.TP
.BR parser_file
Name of the output file to be generated.
.BR
The grammar file's name, with .py appended, will be used, if omitted.
\"-\" or \"/dev/stdout\" can be used to send generated code to stdout.