The Topy project
Chris Liechti
cliechti at gmx.net
Fri Apr 5 17:31:20 EST 2002
pinard at iro.umontreal.ca (François Pinard) wrote in
news:mailman.1018039992.15896.python-list at python.org:
> Hi, people. I merely feel like chatting a bit. :-)
[long talk about per2py and scheme2py]
this reminds be to GCC and RTL. the GNU-C compiler translates the
source to an intermediate language called RTL. this intermediate code can
then be optimized with arithmetical rules and finaly its output to
assembler/bytecodes (many diffrent dialects for a dozen processors).
there are diffrent fontends to genereate RTL for diffrent languages as C,
C++, Java and some other.
thats in some ways the same problem as yours...
i think the ideal soloution would be to translate the source language to a
meta language that describes the algorithm and its properties. then this
cookbook could be used to generate code in any other language - however i
don't think that such an aproach is realy possible with todays
technologies...
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list