Bison-A2.3 README update

Wilfred.Hansen@cs.cmu.edu
Fri, 31 Mar 1995 19:52:59 GMT

          From comp.compilers

Related articles
Bison-A2.3 README update Wilfred.Hansen@cs.cmu.edu (1995-03-31)
| List of all articles for this month |
Newsgroups: comp.compilers,gnu.announce,comp.text
From: Wilfred.Hansen@cs.cmu.edu
Keywords: yacc, C++
Organization: Carnegie Mellon, Pittsburgh, PA
Date: Fri, 31 Mar 1995 19:52:59 GMT

The README for bison-A2.3 has been updated to indicate how to adapt the
C++parser for non-Andrew environments. (Just delete the offending
references.)


It is available for anonymous ftp from
ftp.andrew.cmu.edu/pub/AUIS/bison


or via the web on
http://www.cs.cmu.edu/afs/cs/project/atk-ftp/bison




Fred Hansen
http://www.cs.cmu.edu/afs/cs/user/wjh/public/Home.html






Extract from README:


============================================
Bison version A2.3


Bison is the GNU parser generator; an alternative to yacc. This directory
contains Bison version A2.3, derived from GNU Bison version 1.22.
It also includes parser generators for C and C++ which have these advantages


No symbol conflicts. Each parser is represented by a single name.
Shared parser code. All grammars use a single instance of the
parser object code.
C++ object. For C++, the generated parser is an object.
License free. The license on the parser code permits effectively
unhindered use.


Bison-A2.3 has these advantages over other versions of Bison:


Errors in the grammar do not terminate input; all errors are
found in one pass. A complete example and test case is
the file mess.y in the distribution.


Tokens may now be specified as multiple-character strings:
"<=" can appear where formerly would have to be LESSEQ.


...


Note on C++parser: This code has some vestigial ATK references.
For non-Andrew usage delete the lines containing "ATK" and "andrewos",
except retain the class declaration and change it to
class parser {


--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.