[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: |
Mon, 9 Oct 2000 23:17:34 +0200 |
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