Re: [abc-users] Obtaining a program AST using abc

From: Eric Bodden <>
Date: Fri, 3 Oct 2008 09:38:58 -0400

Hi Luca.

The way in which to access and transform the AST depends on whether or
not you are using the JastAdd-based frontend for your abc extension.
So are you using polyglot or JastAdd?

In cases where you are using polyglot, the extension abc.eaj is a good
entry-level tutorial (although it does not show anything in terms of
AST transformations IIRC), in cases where you are using JastAdd you
should rather have a look at abc.ja.eaj.

Hope that helps.


2008/10/3 Luca Cavallaro <>:
> Dear all,
> I am quite new to abc and I was trying to programmatically access and
> manipulate an aAspectJ program Abstract Syntax Tree using abc.
> Anybody can suggest me a solution please?
> Best regards
> Luca Cavallaro
> --
> Luca Cavallaro
> Ph.D. student
> DEI, Politecnico di Milano,
> Via Golgi 40
> 200133 Milan,
> Italy
> /------------------------------------------------------------/
> Aphasia is the loss of speech in computer scientists when asked:
> "But of what use is your research?"

Eric Bodden
Sable Research Group
McGill University, Montréal, Canada
Received on Fri Oct 03 2008 - 14:39:02 BST

This archive was generated by hypermail 2.2.0 : Fri Oct 03 2008 - 17:20:11 BST