Re: The compilation approach in modern languages

anton@mips.complang.tuwien.ac.at (Anton Ertl)
5 Mar 2005 21:32:11 -0500

          From comp.compilers

Related articles
[15 earlier articles]
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: 5 Mar 2005 21:32:11 -0500
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
References: 05-02-053 05-02-056 05-02-065 05-02-075 05-02-082 05-02-101 05-03-007
Keywords: design, Lisp
Posted-Date: 05 Mar 2005 21:32:11 EST

George Neuner <gneuner2@comcast.net> writes:
>On 28 Feb 2005 00:53:47 -0500, anton@mips.complang.tuwien.ac.at (Anton
>Ertl) wrote:
>>What I am thinking of when I hear Lisp and run-time compilation are
>>things like macros and back-quote.
>
>Most macro use in Lisp occurs at development time.


Yes, what I meant here is the ability of Lisp and other languages to
compile at run-time to also run at compile-time, i.e., to use the full
power of the language in macro processing.


The resulting lack of a straight compile-time/run-time boundary is
reflectyed in your use of "development time" (vs. "use time").


Of course, there may be several development times: If a program
generator (e.g., a parser generator is involved), there's the
development time of the generator, and the development time of the
generated program.


> A program whose normal operation requires a lot of run time macro
>expansion is either doing something incredibly smart or insanely
>stupid.


Writing a program generator does not require incredible smarts,
although it may be unidiomatic in Lisp; maybe Lispers prefer to write
meta-interpreters, instead of generators.


- 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.