Lemonade : Lemon parser generator for D V 0.01
Christoph Singewald
christoph at singewald.at
Tue Jun 26 04:55:57 PDT 2007
Hi all!
I created a project for lemonade on Berlios: http://lemonade.berlios.de
I took lempar.d from carlos und ported lemonade.c fresh from sqllite repository. I left it in one file like lemon.c to make it easier porting bugfixes from lemon.c.
@carlos: I oversee to integrate some of youre improovemends, I hope you'll find some time to reintegrate.
On the News page there are still some points to do.: e.g. %extra_argument in the Parse(...) function
cu
christoph
Carlos Smith Wrote:
> Hi again,
>
> I just compiled Lemonade on Ubuntu.
>
> The original Lemon do generate parsers with
> imbedded #directives. I did not completely eliminated
> those #directives in Lemonade.
>
> DMD has no preproc. So i decided to add one to Lemonade.
> The 2 zip files attached to this post (and
> mailed to you in a separate email), are
> ulemon.zip - the parser generator.
> ucpp.zip - the C preprocessor modified to process D code.
>
> I tested it. it work 98% ok. the 2% is related to the
> preprocessing phase. The cpp( ) call at the end of the
> main( ) in Lemonc, does not work. (It was working
> under Windows. This is my 1st prog on Unix)
>
> I will rework on this later, In the meantime you can
> play with it or fix the problem yourself.
>
> Carlos
>
More information about the Digitalmars-d-announce
mailing list