Transforming Java -> Smalltalk

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

Transforming Java -> Smalltalk

Holger Kleinsorgen-4
Hello,

I want to transform a bunch of Java classes (source available) to
Smalltalk. SmaCC includes an example java parser, but I'm curious to
know if someone has already done some kind of transformer that creates
Smalltalk source code. The output can be incomplete, I just want to
avoid transforming the boring parts that can be automated.

Reply | Threaded
Open this post in threaded view
|

AW: Transforming Java -> Smalltalk

Georg Heeg
Holger,

Some time ago there was a project called Frost which permitted to load Java
code into VisualWorks. The sources of that project are available in the
Cincom Public Store Repository. Certainly the status is far away from
production quality, but maybe it can help you.

Georg

Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
Tel. +49-3496-214328, Fax +49-3496-214712

> -----Ursprüngliche Nachricht-----
> Von: Holger Kleinsorgen [mailto:[hidden email]]
> Gesendet: Dienstag, 10. Juli 2007 09:59
> An: [hidden email]
> Betreff: Transforming Java -> Smalltalk
>
> Hello,
>
> I want to transform a bunch of Java classes (source available) to
> Smalltalk. SmaCC includes an example java parser, but I'm curious to
> know if someone has already done some kind of transformer that creates
> Smalltalk source code. The output can be incomplete, I just want to
> avoid transforming the boring parts that can be automated.


Reply | Threaded
Open this post in threaded view
|

Re: Transforming Java -> Smalltalk

stéphane ducasse-2
In reply to this post by Holger Kleinsorgen-4
alexandre bergel parsed and could script some java code with Smacc  
and the Java parser.
Contact him.

stef
Le 10 juil. 07 à 09:58, Holger Kleinsorgen a écrit :

> Hello,
>
> I want to transform a bunch of Java classes (source available) to  
> Smalltalk. SmaCC includes an example java parser, but I'm curious  
> to know if someone has already done some kind of transformer that  
> creates Smalltalk source code. The output can be incomplete, I just  
> want to avoid transforming the boring parts that can be automated.
>

Reply | Threaded
Open this post in threaded view
|

Re: Transforming Java -> Smalltalk

Johan Brichau
In reply to this post by Holger Kleinsorgen-4
Hi,

Maybe this can help you:
We're not transforming any Java code into Smalltalk code, but we're  
manipulating Java code represented by Eclipse parsetrees directly in  
a bunch of Smalltalk tools. The Eclipse parser and its parsetree are  
made available in Smalltalk through a Java<->Smalltalk  
interconnection library called JavaConnect (similar to JNIPort). I  
don't know how easy it would work using JNIPort because Eclipse is  
quite ugly with its specific classloader requirement etc, but we're  
about to make JavaConnect public too.

Our goal for doing this was exactly to avoid having to write Java-
parsing and -analysis tools in Smalltalk and still be able to operate  
on Java code from within a Smalltalk environment. So, if you want to  
have a full Eclipse parsetree available from within Smalltalk, from  
where you can start doing transformation, just drop me a note. We  
will also send an email in the next few weeks when we make all the  
system public.

best,
Johan Brichau


On 10 Jul 2007, at 09:58, Holger Kleinsorgen wrote:

> Hello,
>
> I want to transform a bunch of Java classes (source available) to  
> Smalltalk. SmaCC includes an example java parser, but I'm curious  
> to know if someone has already done some kind of transformer that  
> creates Smalltalk source code. The output can be incomplete, I just  
> want to avoid transforming the boring parts that can be automated.
>

----------------------------
Johan Brichau
[hidden email]