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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d8e3cd3d8dbaa4fb X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.59.73 with SMTP id k9mr1336306qah.4.1343312996761; Thu, 26 Jul 2012 07:29:56 -0700 (PDT) Received: by 10.66.82.2 with SMTP id e2mr1777933pay.40.1343312554347; Thu, 26 Jul 2012 07:22:34 -0700 (PDT) Path: a15ni113198934qag.0!nntp.google.com!q21no110181qas.0!news-out.google.com!b9ni61405076pbl.0!nntp.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!novia!news-peer1!btnet!zen.net.uk!hamilton.zen.co.uk!xlned.com!feeder3.xlned.com!feeder3.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.15.MISMATCH!ramfeed-1.ams.xsnews.nl!feed.xsnews.nl!border-1.ams.xsnews.nl!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news-2.dfn.de!news-1.dfn.de!news.dfn.de!storethat.news.telefonica.de!telefonica.de!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Ada "library only" compiler ? Date: Sun, 22 Jul 2012 17:59:00 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <2879c45e-f8e0-4434-9f82-968c585a4539@googlegroups.com> <4ec072e1-853f-4210-82aa-9aab335ab0ba@googlegroups.com> <98bd035c-3da7-4c9b-b483-051399dc5b57@googlegroups.com> Mime-Version: 1.0 Injection-Date: Sun, 22 Jul 2012 17:59:00 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="0e44dd4a3c4e0a6e83a86f947fb780ae"; logging-data="29306"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199oD7pdGINIObLSyQUSiaPyS+p74jXiOQ=" User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Cancel-Lock: sha1:5OKgzgk9psD+10mfli5/zVIQ/KU= X-Original-Bytes: 2113 X-Received-Bytes: 2493 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2012-07-22T17:59:00+00:00 List-Id: On Sun, 22 Jul 2012 17:54:02 +0000, Brian Drummond wrote: > On Sat, 21 Jul 2012 20:25:48 -0700, Patrick wrote: > >> Hi Brian > I can now call Lua from Ada. > Calling Ada from Lua ought to work, but I haven't tried it yet. > > I downloaded Lua 5.21 today and tried this (c) example > http://lua-users.org/wiki/SimpleLuaApiExample > Then I made a basic port of the example to Ada. oops, previous post should have included the build instructions for completeness... (adjust paths as necessary) gnatmake test.adb -L../lua-5.2.1/install/lib -largs -llua -largs -lm - largs -ldl - Brian