home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / C / YACCUNX.ZIP / YACC.INF < prev    next >
Encoding:
Text File  |  1983-12-31  |  3.5 KB  |  71 lines

  1.                 Y A C C
  2.  
  3. Notes:
  4.         4-Dec
  5.                 1. Variable declarations inside statements exist.
  6.                 2. MP preprocessor inserts a ' ' at the beginning of
  7.                    a text substitution. Otherwise, it looks like it
  8.                    does the right stuff!
  9.                 3. Include files and their names need looking at.
  10.         -----
  11.         5-Dec
  12.                 1. MP has been fixed. Note the 'beauty' prettyprinter
  13.                    was distributed in this UIC, but it's been deleted.
  14.  
  15.         -----
  16.         28-Aug-81
  17.                 1. Much has happened since the last entry. Yacc has been
  18.                    brought up on RSX-11M, along with changes in the
  19.                    command string outlined below.
  20.  
  21.                 2. In using YACC with Forsythe's LEX, the variable
  22.                    "yylval" was found to be declared in both YACC's
  23.                    output c source (yypars()) and in LEX. Apparently, the
  24.                    UNIX LEX assumes that yylval is in YACC. Because LEX
  25.                    sees so much use with other than YACC, we chose to
  26.                    leave yylval declared in LEX. So the YACC module
  27.                    YSETUP.2C was modified to emit "extern YYSTYPE yylval"
  28.                    when compiled by the Decus compiler or MP processor.
  29.  
  30.                 3. The options accepted by Yacc have been changed. The
  31.                    changes were all in YSETUP.2C. See the docs.
  32.  
  33.                 4. All of the debug stuff has been turned off. This makes
  34.                    for a much easier to read YACC.OUT file.
  35.  
  36.         -----
  37.         22-Mar-82
  38.                 1. Minor changes to accommodate the new DECUS library and
  39.                    compiler. Command file changed to take advantage of the
  40.                    '-m' switch to disable the preprocessor phase of the
  41.                    compiler, since MP is used.  'iovtoa()' changed to
  42.                    'fgetname()'.  ODL slightly changed.  Added header to
  43.                    output file to tell the name of the input file and the
  44.                    date and time of generation.
  45.  
  46.         -----
  47.         12-Apr-83
  48.                 1. Additions and minor changes for running YACC under
  49.                    VAX-11 C.  The newer versions of the files in this
  50.                    UIC are the proper ones, and should run OK under
  51.                    RSX & RT.  I have not purged the old ones because
  52.                    I have not tested the new ones.
  53.  
  54.         -----
  55.         25-Dec-83
  56.                 1. Adapted YACC for IBM PC using the DeSmet C compiler.
  57.                 2. Added #ifdef UNION entries in yypars.c so that YACC
  58.                    can be used with C compilers that do not support the
  59.                    assignment of unions and structures.  If you use
  60.                    the %union construct (see LANDY.Y for example) and your
  61.                    C compiler doesn't support union assignment, then
  62.                    you have to write a routine 
  63.                            yyunion(to, from)
  64.                            YYSTYPE *to, *from;
  65.                    which achieves the assignment of the %union.  If your
  66.                    C compiler does support structure and union assignment
  67.                    then undefine UNION in yypars.c.
  68.                 3. Questions and suggestions on the IBM PC version of YACC
  69.                    can be directed to Scott Guthery, 11100 Leafwood Lane,
  70.                    Austin, Texas,  78750.  Telephone: 512 258-1342.   
  71.