home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff299.lzh / Yacc / yacc.doc < prev    next >
Text File  |  1989-12-30  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.      YYYYAAAACCCCCCCC((((1111))))        XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((NNNNoooovvvveeeemmmmbbbbeeeerrrr 22222222,,,, 1111999988889999))))         YYYYAAAACCCCCCCC((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           Yacc - an LALR(1) parser generator
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           yyyyaaaacccccccc [[[[ ----ddddllllttttvvvv ]]]] [[[[ ----bbbb _p_r_e_f_i_x ]]]] _f_i_l_e_n_a_m_e
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           _Y_a_c_c reads the grammar specification in the file _f_i_l_e_n_a_m_e
  16.           and generates an LR(1) parser for it.  The parsers consist
  17.           of a set of LALR(1) parsing tables and a driver routine
  18.           written in the C programming language.  _Y_a_c_c normally writes
  19.           the parse tables and the driver routine to the file _y._t_a_b._c
  20.           (but see the ----bbbb option below).
  21.  
  22.           The following options are available:
  23.  
  24.                ----bbbb _p_r_e_f_i_x
  25.                     The ----bbbb option changes the prefix prepended to the
  26.                     output file names to the string denoted by _p_r_e_f_i_x.
  27.                     The default prefix is the character _y.
  28.  
  29.                ----dddd   The ----dddd option causes the header file _y._t_a_b._h to be
  30.                     written.
  31.  
  32.                ----llll   If the ----llll option is not specified, _y_a_c_c will
  33.                     insert #line directives in the generated code.
  34.                     The #line directives let the C compiler relate
  35.                     errors in the generated code to the user's
  36.                     original code.  If the ----llll option is specified,
  37.                     _y_a_c_c will not insert the #line directives.  Any
  38.                     #line directives specified by the user will be
  39.                     retained.
  40.  
  41.                ----tttt   The ----tttt option will change the preprocessor
  42.                     directives generated by _y_a_c_c so that debugging
  43.                     statements will be incorporated in the compiled
  44.                     code.
  45.  
  46.                ----vvvv   The ----vvvv option causes a human-readable description
  47.                     of the generated parser to be written to the file
  48.                     _y._o_u_t_p_u_t.
  49.  
  50.           If the environment variable TMPDIR is set, the string
  51.           denoted by TMPDIR will be used as the name of the directory
  52.           where the temporary files are created.
  53.  
  54.      FFFFIIIILLLLEEEESSSS
  55.           _y._t_a_b._c
  56.           _y._t_a_b._h
  57.           _y._o_u_t_p_u_t
  58.           /_t_m_p/_y_a_c_c._a_X_X_X_X_X_X
  59.           /_t_m_p/_y_a_c_c._t_X_X_X_X_X_X
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 12/28/89)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      YYYYAAAACCCCCCCC((((1111))))        XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((NNNNoooovvvveeeemmmmbbbbeeeerrrr 22222222,,,, 1111999988889999))))         YYYYAAAACCCCCCCC((((1111))))
  71.  
  72.  
  73.  
  74.           /_t_m_p/_y_a_c_c._u_X_X_X_X_X_X
  75.  
  76.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  77.           If there are rules that are never reduced, the number of
  78.           such rules is reported on standard error.  If there are any
  79.           LALR(1) conflicts, the number of conflicts is reported on
  80.           standard error.
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 12/28/89)
  130.  
  131.  
  132.  
  133.