PetitJava status

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

PetitJava status

Uko2
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: PetitJava status

Tudor Girba-2
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 <[hidden email]> 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
> [hidden email]
> 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."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: PetitJava status

Uko2
Hi.

The thing is that right now I try to go really simple with java importing and want to import really basic source code structures to run on them same algorithms I have for a smalltalk (eg. symbol resolution). It seems that I can improve PetitJava to fit my needs, but will it be hard to make it into complete one. 

My meta-model is on st-hub: http://smalltalkhub.com/#!/~YuriyTymchuk/FAST also if I'll work on PetitJava it will be nice to move it to smalltalkhub.

uko


On 5 бер. 2013, at 22:25, "Tudor Girba-2 [via moose-dev]" <[hidden email]> wrote:

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 <<a href="x-msg://813/user/SendEmail.jtp?type=node&amp;node=4026359&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> 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
> <a href="x-msg://813/user/SendEmail.jtp?type=node&amp;node=4026359&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]
> 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."




_______________________________________________
Moose-dev mailing list
<a href="x-msg://813/user/SendEmail.jtp?type=node&amp;node=4026359&amp;i=2" target="_top" rel="nofollow" link="external">[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



If you reply to this email, your message will be added to the discussion below:
http://moose-dev.97923.n3.nabble.com/PetitJava-status-tp4026356p4026359.html
To unsubscribe from PetitJava status, click here.
NAML



View this message in context: Re: PetitJava status
Sent from the moose-dev mailing list archive at Nabble.com.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: PetitJava status

SergeStinckwich
On Wed, Mar 6, 2013 at 9:52 AM, Yuriy Tymchuk <[hidden email]> wrote:

> Hi.
>
> The thing is that right now I try to go really simple with java importing
> and want to import really basic source code structures to run on them same
> algorithms I have for a smalltalk (eg. symbol resolution). It seems that I
> can improve PetitJava to fit my needs, but will it be hard to make it into
> complete one.
>
> My meta-model is on st-hub: http://smalltalkhub.com/#!/~YuriyTymchuk/FAST
> also if I'll work on PetitJava it will be nice to move it to smalltalkhub.

http://smalltalkhub.com/#!/~Moose/PetitJava

--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: PetitJava status

Uko2
Thanks, missed that :)
 
On 6 бер. 2013, at 09:59, "Serge Stinckwich [via moose-dev]" <[hidden email]> wrote:

On Wed, Mar 6, 2013 at 9:52 AM, Yuriy Tymchuk <<a href="x-msg://828/user/SendEmail.jtp?type=node&amp;node=4026362&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:

> Hi.
>
> The thing is that right now I try to go really simple with java importing
> and want to import really basic source code structures to run on them same
> algorithms I have for a smalltalk (eg. symbol resolution). It seems that I
> can improve PetitJava to fit my needs, but will it be hard to make it into
> complete one.
>
> My meta-model is on st-hub: http://smalltalkhub.com/#!/~YuriyTymchuk/FAST
> also if I'll work on PetitJava it will be nice to move it to smalltalkhub.
http://smalltalkhub.com/#!/~Moose/PetitJava

--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
<a href="x-msg://828/user/SendEmail.jtp?type=node&amp;node=4026362&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



If you reply to this email, your message will be added to the discussion below:
http://moose-dev.97923.n3.nabble.com/PetitJava-status-tp4026356p4026362.html
To unsubscribe from PetitJava status, click here.
NAML



View this message in context: Re: PetitJava status
Sent from the moose-dev mailing list archive at Nabble.com.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev