Re: The compilation approach in modern languages

anton@mips.complang.tuwien.ac.at (Anton Ertl)
28 Feb 2005 00:53:47 -0500

          From comp.compilers

Related articles
[12 earlier articles]
Re: The compilation approach in modern languages torbenm@diku.dk (2005-02-18)
Re: The compilation approach in modern languages dot@dotat.at (Tony Finch) (2005-02-18)
Re: The compilation approach in modern languages hannah@schlund.de (2005-02-18)
Re: The compilation approach in modern languages boldyrev@cgitftp.uiggm.nsc.ru (Ivan Boldyrev) (2005-02-18)
Re: The compilation approach in modern languages jle@ural.owlnet.rice.edu (2005-02-20)
Re: The compilation approach in modern languages gneuner2@comcast.net (George Neuner) (2005-02-28)
Re: The compilation approach in modern languages anton@mips.complang.tuwien.ac.at (2005-02-28)
Re: The compilation approach in modern languages gneuner2@comcast.net (George Neuner) (2005-03-01)
Re: The compilation approach in modern languages boldyrev@cgitftp.uiggm.nsc.ru (Ivan Boldyrev) (2005-03-04)
Re: The compilation approach in modern languages anton@mips.complang.tuwien.ac.at (2005-03-05)
Re: The compilation approach in modern languages hannah@schlund.de (2005-05-18)
| List of all articles for this month |

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



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.