help-bison
[Top][All Lists]
Advanced

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

Re: Google summer of code proposal


From: Akim Demaille
Subject: Re: Google summer of code proposal
Date: Fri, 30 Mar 2007 17:36:19 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

>>> "WC" == William Candillon <address@hidden> writes:

 > Hello guys,
 > I'm a 20 years old french engineering student at Telecom Lille 1.
 > Last year I participated to the Google Summer of code for the php community.
 > My project was phpAspect (http://phpaspect.org), a php language
 > extension to implement Aspect-Oriented Programming.
 > In order to generate parse tree for a php source code I used the Yaxx
 > extension (http://code.google.com/p/yaxx/):
 > http://phpaspect.org/images/weaving_chain.png

I personally don't really understand the point of such a feature,
because yaxx is LALR.  So your grammar is tortured, it is not faithful
to what you actually have in mind.  Besides, quite often the grammar
one has in mind is EBNF like, with repetitions that you wish to see as
"real" lists rather that cons-lists.

I use SDF/SGLR regularly, and they have this feature, but they run a
GLR engine, and it makes much more sense: the grammar your tool eats
is the grammar you want to work on.

Now, since Bison has GLR, it might make more sense than before, yet, I
am still not convinced.

Can you explain what was nice in using Yaxx?




reply via email to

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