From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fcc2d88d867060e8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-30 07:18:03 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!7db1df25!not-for-mail From: lifetime n00b User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: load and use a ".o" file? References: <132Fb.3462$I02.2996@newssvr23.news.prodigy.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 66.138.57.59 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr22.news.prodigy.com 1072797449 ST000 66.138.57.59 (Tue, 30 Dec 2003 10:17:29 EST) NNTP-Posting-Date: Tue, 30 Dec 2003 10:17:29 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: SCSYASZDWJTGRQHX@BCBNWX@RJ_XPDLMN@GZ_GYO^BVNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL Date: Tue, 30 Dec 2003 15:17:29 GMT Xref: archiver1.google.com comp.lang.ada:3948 Date: 2003-12-30T15:17:29+00:00 List-Id: 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.