comp.lang.ada
 help / color / mirror / Atom feed
From: lifetime n00b <anonymous@yahoo.com>
Subject: Re: load and use a ".o" file?
Date: Tue, 30 Dec 2003 15:17:29 GMT
Date: 2003-12-30T15:17:29+00:00	[thread overview]
Message-ID: <dGgIb.3680$qP7.1272@newssvr22.news.prodigy.com> (raw)
In-Reply-To: <m3smj3mekn.fsf@rigel.goldenthreadtech.com>

Jon S. Anthony wrote:

> In CL you don't need an explaination of the mechanism unless you are
> _implementing_ a Common Lisp.  For the user, you don't need to do
> anything other than (compile-file ...) (load ...) to get all the
> resources in native compiled form "linked" in and ready to use.  Or
> for interactive work, just (compile 'your-foo-here).  That's it.  A
> pleasent thing indeed.

See, I just *knew* this was going to turn out more difficult than it 
sounded! :-) First let me say I am not trying to build a complete 
"Common Lisp" implementation, at least not yet. Common Lisp is similar 
to Ada in that both language definitions are very rich and include many 
"libraries" as part of the definition itself that other languages have 
to add on as third party packages. However, one of the nicest features 
of Lisp is that the fundamental syntax of the language is extremely 
elegant and simple.

Right now, it's just this elegant and simple core that I am trying to 
implement, using gnat as the machine-code compiler. It's like a Siren, 
calling me into the deep waters. "Look how beautiful I am! Of course you 
can obtain me, just come a little closer..."

Once I have this core actually working, maybe then I can begin to think 
in terms of adding the myriad functions and operators that make up the 
rest of the Common Lisp definition. And I realize that (compile ...) and 
(load ...) are not part of the core syntax but rather part of the 
"extras" that make up a complete Common Lisp. However, without these, 
there is not much point in continuing on, since the whole point of using 
gnat as the compiler is in the context of these functions.




  reply	other threads:[~2003-12-30 15:17 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
2003-12-29 22:45                     ` Jon S. Anthony
2003-12-29 22:42                   ` Jon S. Anthony
2003-12-30 15:17                     ` lifetime n00b [this message]
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