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.4 required=5.0 tests=BAYES_00,MISSING_FROM, MISSING_MID,MISSING_SUBJECT autolearn=no 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.66.76.8 with SMTP id g8mr1628283paw.23.1343313510986; Thu, 26 Jul 2012 07:38:30 -0700 (PDT) Date: 2012-07-26T07:38:30-07:00 List-Id: Message-ID: <20120726143830.0n9UoHCUB5cshhCyD5m6d-1Ppo9EhUyHUOR-4W6JdXo@z> Thu, 26 Jul 2012 07: 38:30 -0700 (PDT) Thu, 26 Jul 2012 07:38:21 -0700 (PDT) Path: b9ni60415685pbl.0!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!q21no14719522qas.0!news-out.google.com!a15ni105485768qag.0!nntp.google.com!q21no14703710qas.0!news-out.google.com!p10ni64808639pbh.1!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news-peer1!btnet!zen.net.uk!hamilton.zen.co.uk!xlned.com!feeder5.xlned.com!feed.xsnews.nl!border-1.ams.xsnews.nl!newsfeed.straub-nv.de!reality.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada "library only" compiler ? Date: Sun, 22 Jul 2012 23:01:18 +0100 Organization: A noiseless patient Spider Lines: 14 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-Info: mx04.eternal-september.org; posting-host="84970f972981d06cedfb580c49fe4706"; logging-data="18889"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19K9/Ij4ESe9EcoSVFxkVdgooMa38s/kmk=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin) Cancel-Lock: sha1:jjwQuxmck15CpFzg8phdpH/SRQ8= sha1:Dk963nfwakrymC5KFIVy5EGOwdE= Bytes: 1968 X-Received-Bytes: 2377 Content-Type: text/plain Brian Drummond writes: > 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 > > I needed to modify the compile process a little (linking with -ldl) to > overcome missing "dlopen" etc functions; after that, it worked as > expected. Then I made a basic port of the example to Ada. The port at https://github.com/io7m/coreland-lua-ada seems not to have been looked at for a while.