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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
.TH CUP 1
.SH NAME
cup \- LALR parser generator for Java(tm)
.SH SYNOPSIS
.B cup
.RI [ options ]
.RI < file
.SH DESCRIPTION
This manual page documents briefly the
.B cup
command.
This manual page was written for the Debian GNU/Linux distribution
(but may be used by others), because the original program does not
have a manual page.
Instead, it has documentation in HTML format; see
.IR /usr/doc/cup/manual.html .
.SH OPTIONS
.TP
.B \-package name
specify package generated classes go in [default none].
.TP
.B \-parser name
specify parser class name [default "parser"].
.TP
.B \-symbols name
specify name for symbol constant class [default "sym"]
.TP
.B \-nonterms
put non terminals in symbol constant class.
.TP
.B \-expect #
number of conflicts expected/allowed [default 0].
.TP
.B \-compact_red
compact tables by defaulting to most frequent reduce.
.TP
.B \-nowarn
don't warn about useless productions, etc.
.TP
.B \-nosummary
don't print the usual summary of parse states, etc.
.TP
.B \-nopositions
don't propagate the left and right token position values.
.TP
.B \-progress
print messages to indicate progress of the system.
.TP
.B \-time
print time usage summary.
.TP
.B \-dump_grammar
produce a human readable dump of the symbols and grammar.
.TP
.B \-dump_states
produce a dump of parse state machine.
.TP
.B \-dump_tables
produce a dump of the parse tables
.TP
.B \-dump
produce a dump of all of the above.
.SH "SEE ALSO"
.BR jlex (1),
.BR javac (1).
.SH AUTHORS
The author of CUP is Scott E. Hudson
<http://www.cc.gatech.edu/gvu/people/Faculty/Scott.E.Hudson.html>.
This manual page was written by Vincent Renardias <vincent@waw.com>,
for the Debian GNU/Linux system.
|