From: | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
Newsgroups: | comp.compilers |
Date: | 28 Feb 2005 00:53:47 -0500 |
Organization: | Institut fuer Computersprachen, Technische Universitaet Wien |
References: | 05-02-053 05-02-056 05-02-065 05-02-075 05-02-082 |
Keywords: | code |
Posted-Date: | 28 Feb 2005 00:53:47 EST |
Ivan Boldyrev <boldyrev@cgitftp.uiggm.nsc.ru> writes:
>> [Well, sure. Lots of languages can compile at runtime. -John]
...
>Perhaps, (Common) Lisp/Scheme is different from them because
>COMPILE-FILE is *standard* function.
Hmm, COMPILE-FILE is not quite what I consider compilation at
run-time. Even in C I can do system("cc ..."); ok, some people have
used that in combination with dlopen/dlsym to achieve a kind of
run-time compilation, but it is relatively cumbersome.
What I am thinking of when I hear Lisp and run-time compilation are
things like macros and back-quote.
Other languages have similar features, and in the standard: In Forth,
"COMPILE,", "POSTPONE" and "LITERAL" are standard words. Prolog has
assert.
etc.
- anton
--
M. Anton Ertl
anton@mips.complang.tuwien.ac.at
http://www.complang.tuwien.ac.at/anton/home.html
Return to the
comp.compilers page.
Search the
comp.compilers archives again.