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

AST Transformations

Hi Etienne, All,

The new AST transformations are a great feature, and I'm just wondering
who wrote it I can direct a few questions their way. SableCC is sorely
in need of good documentation and I am happy to do this providing I
don't have to reverse engineer everything that is released! It is also
very difficult to understand the source code due to the lack of (i.e.
non-existance of) comments.

My main question is "Do you have to have a 'New' statement for each
transform, or are there other shortcuts?". I ask this because I see the
mention of lists in the source, and also notice that the grammar allows
more than one transformation to be defined per alternative:

    alt_transform =
	        arrow [terms]: term*;



On Wed, May 07, 2003 at 01:41:04PM -0400, Etienne Gagnon wrote:
> Indrek Mandre wrote:
> >What is the timeline of SableCC 3 anyway? When does it become available?
> The CST->AST stuff is ready.  I should be making it public next week, if
> everything goes well.
> You can think of most of the other wish-list items as SableCC X (where X > 
> 3)
> wishes.
> :-)
> Etienne
> -- 
> Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
> SableVM:                                       http://www.sablevm.org/
> SableCC:                                       http://www.sablecc.org/