Home > Archive > Smalltalk > May 2005 > Smalltalk code generator for other lanuages?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Smalltalk code generator for other lanuages?
|
|
| Guenther Schmidt 2005-05-19, 4:02 pm |
| Hi,
is it possible to use, for instance, SmaCC to translate Smalltalk code into another language?
Günther
| |
| Claus Dragon 2005-05-19, 4:02 pm |
| Words to the wise, Guenther Schmidt <gue.schmidt@web.de> wrote:
>Hi,
>
>is it possible to use, for instance, SmaCC to translate Smalltalk code into another language?
Hello,
there has been some talk about this earlier this month if I am not
mistaken, though I think that "SmaCC" was not named explicitly.
| |
| Hans-Martin Mosner 2005-05-19, 8:59 pm |
| Guenther Schmidt <gue.schmidt@web.de> wrote:
> Hi,
>
> is it possible to use, for instance, SmaCC to translate Smalltalk code into another language?
Of course, you can translate Smalltalk using SmaCC (although other
approaches would probably be usable).
However, it is not clear what you mean by "translating into another
language". To preserve the semantics of the language, you would
basically have to create a suitable Smalltalk runtime environment in
that other language (things like automatic GC, polymorphic method
lookup, bounds checking on all array accesses etc.).
Once you've done that, you've implemented yet another Smalltalk VM.
Congratulations! But this was probably not what you wanted.
Cheers,
Hans-Martin
| |
| Reinout Heeck 2005-05-23, 8:58 am |
| Guenther Schmidt wrote:
> Hi,
>
> is it possible to use, for instance, SmaCC to translate Smalltalk code
> into another language?
>
> Günther
You are possibly better off using systems designed for this purpose, for
example:
http://www.program-transformation.org/Stratego/WebHome
HTH,
R
-
|
|
|
|
|