[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison's semantic parsers
From: |
Hans Aberg |
Subject: |
Re: Bison's semantic parsers |
Date: |
Tue, 10 Oct 2000 19:29:00 +0200 |
At 09.14 -0400 0-10-10, Davy Durham wrote:
>Do you guys know about PCCTS ?
> http://www.polhode.com/pccts.html
>
>I believe ANTLR was derived from this... PCCTS is in C++ and is still being
>maintained...... I tried it for a while, but don't remember why I quite using
>it.... It does some really nice things like generating the code that
>holds your
>parse tree structures and such....
>
>Anyway.. FYI:
>
>Davy
>
>
>Hans Aberg wrote:
>
>> At 09.33 -0400 0-10-09, Davy Durham wrote:
>> >What I wish it is would be, something similar to start conditions in
>>flex....
>> >Really handy sometimes..... I think _that_ would allow you to do things
>>based
>> >on semantic information.... Has anyone attempted to contact the author who
>> >implemented it?
>>
>> I think there are two separate questions, how to forward Bison with such
>> features, dynamic (extensible) grammars and such, and what to about the old
>> Bison semantic_parser nobody seems to know how it works.
>>
>> There is another compiler-compiler project in progress, see
>> http://www.antlr.org, written in Java, which sports a built-in lexical
>> analyzer compiler as well.
>>
>> There appears to not have been much progress on Flex the last couple of
>> years, the version (flex-2.5.4.1) I got hold of is from 1994 or something.
>> I had to patch up its C++ feature because it could not handle namespaces.
>>
>> Perhaps Bison and Flex should be bundled, or tuned up together.
>>
>> Hans Aberg
Hans Aberg
- Re: Bison's semantic parsers, Hans Aberg, 2000/10/07
- Re: Bison's semantic parsers, Akim Demaille, 2000/10/10
- Re: Bison's semantic parsers, Richard Stallman, 2000/10/11
- Re: Bison's semantic parsers, Hans Aberg, 2000/10/11
- Re: Bison's semantic parsers, Hans Aberg, 2000/10/12
- Bison and C++, Hans Aberg, 2000/10/14