home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
online
/
source
/
c
/
compilers
/
Bison.sit.hqx
/
Bison
/
README_MPW
< prev
next >
Wrap
Text File
|
1992-08-22
|
2KB
|
43 lines
Enclosed is GNU Bison 1.18 for MPW, together with the files necessary to
rebuild this version. (Some VMS-specific files have been dropped, as well
as the Unix INSTALL, Makefile, and configure stuff.) See the files README
and COPYING for more information on Bison and GNU.
The pre-compiled version was compiled with MPW C 3.2, and requires
MC68020 or better CPU. To make Bison, remove the source files from the
:Source: directory into the Bison directory (the same level with Bison.make,
where'll you'll be building Bison, then execute "Make Bison -f Bison.make",
and run all the commands that are output.
The MPW version spins the beachball cursor, sets the file types and
creators to MPW text ('MPS ' 'TEXT'), supports executable error messages,
and fetches the parser skeletons using the shell variables BISON_SIMPLE and
BISON_HAIRY:
Set BISON_SIMPLE "{CIncludes}Bison.simple"
Export BISON_SIMPLE
Set BISON_HAIRY "{CIncludes}Bison.hairy"
Export BISON_HAIRY
A Commando interface has been provided for all options except -o.
Here is the text for MPW.Help:
Bison # GNU parser generator
Bison [-dltvyV] [-b file_prefix] [-p name_prefix] [-o output] file
-d # produce a ".tab.h" file
-l # don’t produce #line directives
-t # run Bison in trace mode
-v # verbose output, ".output" file
-y # yacc-style names (y.tab.c)
-V # print version string
-b file_prefix # replace 'y' in y.tab.h
-p name_prefix # replace 'yy' in variable names
-o output # specify output file
NOTE: the Bison parser skeletons may be specified in the shell variables
BISON_SIMPLE and BISON_HAIRY (for semantic parsers).
See the GNU Bison manual for more information on Bison’s input.
-