[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a probalem with Bison

From: josephus
Subject: Re: a probalem with Bison
Date: Mon, 25 Jul 2005 16:40:19 -0500
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.8) Gecko/20050511

Paul Eggert wrote:
josephus <address@hidden> writes:

the program, you built should parse 10%  or more of test.alg It does not.

The set of files that you sent in
do not contain a test.alg file.  So I can't reproduce your problem.
You can find a copy of your submission here:


Please send a single, self-contained test case, including the source
code, a makefile to build the program, test data, and instructions
about how to run the program to use the test data, showing why an
older Bison works but Bison 2.0a doesn't.  Please don't send .o files
or executables; just source code and a simple way to reproduce the
problem.  Also, please don't ask me to stich together parts of
previous bug reports, as I probably will make mistakes in doing so.
Just send a self-contained test case.

do not change the lexical parser. You will have to fix the EOF problem

Sorry, I don't know what the "EOF problem" is.

  I also add left out tokens because I changed the grammar. This is
just a way of doing things.

Sorry, I don't know what this is either.

The problem has been isolated in BISON.

Not necessarily.  It could, for example, be a bug elsewhere, that
is triggered by substituting one version of Bison for another.
Until we know what the problem actually is, we don't know whether
it's a bug in Bison or in some other part of your system.

I have been working on the debug verison of bison. I processed the bions parsers with bison itself and then rebuilt bison. I can now parse 3 tokens. the ID token is an error. The grammar says it is not.

I can see where we write the data files. But I need a specification to explain how the tables are used. Until I can determine what should be generated I can't make any headway.

the exprssion in the grammar is  OWN INTEGER ID
this fails when ID is presentd.  So I need to decode the tables.

The fault appears to be here. I have AHO and ULMAN and I can tell that you encode the tables differetly. My grammar as I am testing it has no shift reduce, or any other errors.


Everybody is Ignorant, just on different subjects.
         --- Will Rogers Jr.
It's not what you dont know, it what you know that aint so.
         ---Josh Billings

reply via email to

[Prev in Thread] Current Thread [Next in Thread]