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: William Candillon
Subject: Re: Google summer of code proposal
Date: Thu, 5 Apr 2007 14:05:11 +0200

Hello,

Here is why I think yaxx would be great for the bison project:
The main advantage of yaxx is that one can get the full support for
the YACC grammar without any hand-coded programs in it. That makes it
fully reusable and supporting the language syntax features 100%.

For people who wants to build very quickly DSL, code refactoring tools
or just be able to use xslt as a language of source code
transformation tool, I believe that yaxx is the perfect tool.

If you have any question about my proposal, please let me know.

William

On 3/30/07, Akim Demaille <address@hidden> wrote:
>>> "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?



--
William Candillon
http://phpaspect.org




reply via email to

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