Hi,
PetitJava was started by Alberto Bacchelli a while ago, and until now it mainly covers the
syntax. Both the AST and the parser are rather in their infancy. It would be very cool
indeed to have this project developed further.
Another route would be to connect directly with Eclipse from Pharo and use the AST from
there, without the intermediary file. The idea would be to use JNIPort. I know that
Cyrille built a proof of concept, and it was doable. You can find some info about JNIPort
here:
http://jniport.wikispaces.com
Btw, will your code be open-source?
Cheers,
Doru
On Mar 5, 2013, at 3:17 PM, Yuriy Tymchuk <yuriy.tymchuk(a)me.com> wrote:
Hi everyone. If you remember I'm developing an AST
extension for FAMIX and
right now I've started to work on Java part. One of the features I have to
support is generation of method's AST from the source code on demand.
I've found that there is a petit parser implementation for Java and I wander
what is it's status and is it wise to spend time on it. Because having a
parser in smalltalk is really nice compared to passing a method source text
to some external script, reading result from generated file, etc.
uko
--
View this message in context:
http://moose-dev.97923.n3.nabble.com/PetitJava-status-tp4026356.html
Sent from the moose-dev mailing list archive at
Nabble.com.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Every now and then stop and ask yourself if the war you're fighting is the right
one."