From: pfpearson.net@gmail.com
Subject: Re: Questions on using prgma Import (C, foo)
Date: Tue, 26 Feb 2008 11:59:15 -0800 (PST)
Date: 2008-02-26T11:59:15-08:00 [thread overview]
Message-ID: <f28060f6-07d7-4f31-85c4-f73e45409eee@c33g2000hsd.googlegroups.com> (raw)
In-Reply-To: ulk57vnb8.fsf@stephe-leake.org
On Feb 26, 7:50 am, Stephen Leake <stephen_le...@stephe-leake.org>
wrote:
> You should also consider providing a slightly thicker wrapper that
> does the conversion from Interfaces.C.Strings.chars_ptr to
> Standard.String; that will make this easier to use with plain Ada
> programs.
I plan on doing that, once I have the thin wrapper done. A reason for
the thin wrapper is to retain speed - one of the benefits of lua.
> Lua has a website:http://www.lua.org/
Gee, I wish I'd said that :-)
> I'm not clear on how it manages dynamically allocated memory; that
> would be a concern for some embedded systems.
That's a good question, to which I may try to find an answer. I don't
develop for embedded systems (I hope I didn't misuse the phrase
"embedded language" - I meant a language "embedded" within my
program), so I hadn't really thought about it much.
> I'm currently using OpenToken to build my own language for controlling
> my simulator. That language has no control structures or subroutines.
> I might consider switching to Lua to gain those things.
In general, I prefer to reuse languages - *everyone* writes their
own, including where I work. It's pretty poor (effective, but limited
and I suspect that it's slower than lua), which is why I want to
propose the use of lua.
next prev parent reply other threads:[~2008-02-26 19:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-25 19:22 Questions on using prgma Import (C, foo) pfpearson.net
2008-02-25 19:28 ` Pascal Obry
2008-02-25 19:48 ` pfpearson.net
2008-02-26 12:15 ` Jeffrey Creem
2008-02-26 13:50 ` Stephen Leake
2008-02-26 19:59 ` pfpearson.net [this message]
2008-02-26 10:51 ` Jean-Pierre Rosen
2008-02-26 20:01 ` pfpearson.net
2008-03-10 20:29 ` Alexey Veselovsky
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox