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]