Man Linux: Main Page and Category List


       cup - LALR parser generator for Java(tm)


       cup [options] <file


       This  manual  page documents briefly the 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


       -package name
              specify package generated classes go in [default none].

       -parser name
              specify parser class name [default "parser"].

       -symbols name
              specify name for symbol constant class [default "sym"]

              put non terminals in symbol constant class.

       -expect #
              number of conflicts expected/allowed [default 0].

              compact tables by defaulting to most frequent reduce.

              don’t warn about useless productions, etc.

              don’t print the usual summary of parse states, etc.

              don’t propagate the left and right token position values.

              print messages to indicate progress of the system.

       -time  print time usage summary.

              produce a human readable dump of the symbols and grammar.

              produce a dump of parse state machine.

              produce a dump of the parse tables

       -dump  produce a dump of all of the above.


       jlex(1), javac(1).


       The      author      of      CUP      is      Scott      E.      Hudson
       This  manual  page  was written by Vincent Renardias <>,
       for the Debian GNU/Linux system.