comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: load and use a ".o" file?
Date: Sun, 28 Dec 2003 16:14:06 +0000 (UTC)
Date: 2003-12-28T16:14:06+00:00	[thread overview]
Message-ID: <bsmvge$t3o$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: mailman.186.1072582103.31149.comp.lang.ada@ada-france.org

Stephen Leake <stephen_leake@acm.org> wrote:
: Hmm. Do those compiled versions include the ability to create new code
: at runtime, where the new code is also compiled, not interpreted?

If I have understood Jon correctly, there are Lisp compilers without
an interpreter, and with the ability to load compiled code, so
I'd guess, yes. (I think I've seen the thing, too.)

For SNOBOL4, a minimal RE(P)L which runs the compiler at
run time is

read                        :<code(input ' :(read)')>
end

SPITBOL is a "true" SNOBOL4 compiler afaik, so it might offer
the same capability[*]. (If you are interested,
the :<...>  triggers a jump to the beginning of ..., which is compiled
code() from ``input ' :(read)'''; input reads what you
type, ' :(read)' is an unconditional jump to label 'read',
appended to every such input.)

 [*]From the SPITBOL description at www.snobol4.com:
"New program fragments can be compiled during
program execution...
For very complex problems, your program can "evovle" and
modify itself during execution in response to the data it is
processing. New patterns can be built during execution."



  reply	other threads:[~2003-12-28 16:14 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-18 23:31 load and use a ".o" file? lifetime n00b
2003-12-18 23:59 ` Stephen Leake
2003-12-19  1:51 ` tmoran
2003-12-19 15:28   ` lifetime n00b
2003-12-19 18:08     ` Stephen Leake
2003-12-20 20:12       ` lifetime n00b
2003-12-20 21:15         ` tmoran
2003-12-20 23:41           ` lifetime n00b
2003-12-21  7:15             ` tmoran
2003-12-21 11:46         ` Simon Wright
2003-12-21 13:57         ` Stephen Leake
2003-12-22 19:29           ` lifetime n00b
2003-12-22 20:49           ` Jon S. Anthony
2003-12-22 23:15             ` Stephen Leake
2003-12-23  1:36               ` tmoran
2003-12-27 22:55               ` Jon S. Anthony
2003-12-28  3:28                 ` Stephen Leake
2003-12-28 16:14                   ` Georg Bauhaus [this message]
2003-12-29 22:45                     ` Jon S. Anthony
2003-12-29 22:42                   ` Jon S. Anthony
2003-12-30 15:17                     ` lifetime n00b
2003-12-30 16:56                     ` Stephen Leake
2003-12-22 15:50         ` Mark H Johnson
2003-12-22 19:46           ` lifetime n00b
2003-12-22 22:58             ` Mark H Johnson
2003-12-23 17:48               ` Robert I. Eachus
2003-12-23 17:59                 ` Mark H Johnson
2003-12-23 21:53                   ` Robert I. Eachus
2003-12-19 21:28     ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox