home *** CD-ROM | disk | FTP | other *** search
- Archimedes version of Bison
- ---------------------------
-
- Produced by Paul Moore (pmoore@cix.uucp), 4th April 1990.
-
- Changes made include:
-
- Tidying up function declarations for ANSI C
- Adding function prototypes (in system.h)
- Tidying up the simple parser for ANSI C
- Removing VMS-specific files
-
- C.Files: Changed naming conventions to conform to RISC OS
- C.Getargs: Removed undocumented -version flag
- Added -? flag (print version and usage)
- Added -T flag (location of temporary files)
- C.Main: Changed fatals() to use ANSI <stdarg.h>
- C.Reader: Added a comment at the top of fdefines.
- C.Output: Now puts trailing C code BEFORE yyparse() in the output. This
- is more yacc-compatible.
- Surrounded yyrline and yytname with "#if YYDEBUG != 0" as they
- are only used in debug printouts.
-
- A further major change was the removal of references to the "Hairy" parser.
- This parser was undocumented, and appeared to be buggy (at least, the parser
- code expected to have an external variable "timeclock" available. Such a
- variable is not available in Archimedes C). As well as being undocumented,
- a different form of grammar (containing %guard {...} constructs) was required.
- The form of this grammar is not available. As such, the ONLY code likely to
- require the Hairy parser is Free Software Foundation code (and no such code
- exists, that I am aware of).
-
- I therefore removed this code, to "tidy up" and simplify the Bison code and
- the supporting file structures needed.
-
- Any comments, bugs, etc. in this version can be sent to me on CIX (E-Mail
- address above) or at
-
- 10, Mulberry Rise,
- Firdale Park,
- Northwich,
- Cheshire
- CW8 4UQ
-
- Have fun!
-