Hi,
is there a Java AST parser in Pharo?
I imagine that jdt2famix must have something inside, but as far as I understand, it just extracts some information from the source code and throws the AST away.
Thanks, Peter
Le mar. 31 juil. 2018 à 10:44, Peter Uhnák i.uhnak@gmail.com a écrit :
Hi,
is there a Java AST parser in Pharo?
Yes, with the SmaCC Java parser. Included in the Moose image.
Regards,
Thierry
I imagine that jdt2famix must have something inside, but as far as I understand, it just extracts some information from the source code and throws the AST away.
Thanks, Peter _______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Hi,
There is one in the SmaCC that ships with Moose: JavaParser.
Cheers, Doru
On Jul 31, 2018, at 10:44 AM, Peter Uhnák i.uhnak@gmail.com wrote:
Hi,
is there a Java AST parser in Pharo?
I imagine that jdt2famix must have something inside, but as far as I understand, it just extracts some information from the source code and throws the AST away.
Thanks, Peter _______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.feenk.com
"Not knowing how to do something is not an argument for how it cannot be done."
There are also a few PetitParser versions around:
MCHttpRepository location: 'http://www.smalltalkhub.com/mc/Moose/PetitJava/main' user: '' password: '' or MCHttpRepository location: 'http://www.smalltalkhub.com/mc/cbc/PetitJava/main' user: '' password: ''
The moose was more focused on getting to famix; mine was more focused on getting an AST (although from a non-Java viewpoint). Both are fairly old now.
-cbc
On Tue, Jul 31, 2018 at 1:44 AM, Peter Uhnák i.uhnak@gmail.com wrote:
Hi,
is there a Java AST parser in Pharo?
I imagine that jdt2famix must have something inside, but as far as I understand, it just extracts some information from the source code and throws the AST away.
Thanks, Peter
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev