home *** CD-ROM | disk | FTP | other *** search
/ Dream 57 / Amiga_Dream_57.iso / Amiga / Programmation / c / Compilateur / byacc-3.0.readme < prev    next >
Encoding:
Text File  |  1998-09-24  |  4.1 KB  |  131 lines

  1. Short:    Port of Berkeley Yacc v3.0 [bugfixed 19-Aug-96]
  2. Uploader: koessi@chessy.aworld.de (Bernd Koesling)
  3. Type:     dev/c
  4.  
  5.  
  6. ------- this is taken from the original README -------------
  7.  
  8. Berkeley Yacc is an LALR(1) parser generator. Berkeley Yacc
  9. has been made as compatible as possible with AT&T Yacc.
  10. Berkeley Yacc can accept any input specification that
  11. conforms to the AT&T Yacc documentation. 
  12.  
  13. Berkeley Yacc is in the public domain. The data structures
  14. and algorithms used in Berkeley Yacc are all either taken
  15. from documents available to the general public or are
  16. inventions of the author. Anyone may freely distribute
  17. source or binary forms of Berkeley Yacc whether unchanged or
  18. modified. 
  19.  
  20. Bugs may be reported to corbett@berkeley.edu
  21. Do not expect rapid responses.
  22.  
  23. ------- end of the original README -------------------------
  24.  
  25. ------- this is taken from the original NEW_FEATURES -------
  26.  
  27. This version of Berkeley Yacc has been extensively
  28. reorganized and contains many new features. It is an amalgam
  29. of three earlier versions of Berkeley Yacc. It is largely
  30. untested, so expect it to contain bugs. When bugs are found
  31. report them to corbett@berkeley.edu. Please include small
  32. examples if possible.
  33.  
  34. The -l and -t options have been implemented. The -l option
  35. tells Yacc not to include #line directives in the code it
  36. produces. The -t option causes debugging code to be included
  37. in the compiled parser.
  38.  
  39. The environment variable TMPDIR determines the directory
  40. where temporary files will be created. If TMPDIR is defined,
  41. temporary files will be created in the directory whose
  42. pathname is the value of TMPDIR. By default, temporary files
  43. are created in /tmp.
  44.  
  45. If a parser has been compiled with debugging code, that code
  46. can be enabled by setting an environment variable. If the
  47. environment variable YYDEBUG is set to 0, debugging output
  48. is suppressed. If it is set to 1, debugging output is
  49. written to standard output.
  50.  
  51. ------- end of the original NEW_FEATURES -------------------
  52.  
  53.  
  54. I found the sources at
  55.  
  56.   http://www.salam.cae.wisc.edu/hpux/language/byacc-3.0.html
  57.  
  58. and there were no big changes necessary to compile them for
  59. the Amiga with SAS-C v6.56 (by default, temporary files are
  60. created in "t:").
  61.  
  62.  
  63. This archive contains:
  64.  
  65. byacc          56516  : Amiga binary for any cpu
  66. byacc.020      55684  : Amiga binary for >=68020 cpu
  67. byacc-3.0.lha  36997  : original archive of byacc-3.0
  68. NEW_FEATURES    2541  : original text
  69. pch.lha         4399  : patches to apply to original sources
  70. README          1041  : original text
  71. SCoptions        191  : sas-c 6.56 options
  72. SCoptions.info  4197  : newicon
  73. SMakefile       6229  : this will build everything
  74. SMakefile.info  2096  : newicon
  75.  
  76.  
  77. To examine the sources and diffs use the smakefile:
  78.  
  79.   smake        - to create all dirs and build executable
  80.                  must be called first!
  81.   smake exe    - to build executable
  82.   smake exe020 - to build executable for >=68020 cpu
  83.   smake difs   - to build diffs-file
  84.   smake pats   - to build and archive patch-files
  85.   smake srcs   - to apply the patches
  86.   smake clean  - to remove all created dirs and files
  87.                  exe-files are kept
  88.  
  89. Therefor you need a complete SAS-C v6.5x installation.
  90.  
  91.  
  92. ------- *** WARNING ***
  93.  
  94. Of course this port isn't tested to be called bugfree, so
  95. all riscs are on your own. Don't blame me for any damage -
  96. be it your machine, soft or brain :-)
  97.  
  98.  
  99. ------- *** FIXED BUG [19 Aug 1996] ***
  100.  
  101. Normand Belanger  <normand@vlsi.polymtl.ca>
  102. found this one in the previous release to the aminet:
  103.  
  104.  
  105. NB> Hello Bernd,
  106. NB>
  107. NB> I'm using your port of BYacc 3.0 for Amiga and I have a
  108. NB> little problem. I have the line "#include <exec/types.h>"
  109. NB> in my yacc file and it gets transformed into
  110. NB> "#include <exec//types.h>" (in the y.tab.c file) which
  111. NB> is (obviously) incorrect.
  112.  
  113.  
  114. you're right - I didn't notice this because I always use
  115. local headerfiles (ala "defs.h")
  116.  
  117. It happens in :
  118.  
  119.   file      reader.c
  120.   function  copy_text()
  121.   line      405-406      should be deleted, because
  122.                          the Slash is already written out
  123.                          at the beginning of this case-leaf
  124.  
  125.   I just tried and it seems to be okay now
  126.  
  127. It was nothing I had changed :-)
  128.  
  129.  
  130. have fun - koessi
  131.