Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, is it possible to use, for instance, SmaCC to translate Smalltalk code into another language? Günther
Post Follow-up to this messageWords 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.
Post Follow-up to this messageGuenther Schmidt <gue.schmidt@web.de> wrote: > Hi, > > is it possible to use, for instance, SmaCC to translate Smalltalk code into anothe r 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
Post Follow-up to this messageGuenther 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 -
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.