comp.lang.ada
 help / color / mirror / Atom feed
* Early Lua Binding
@ 2003-09-17 21:56 chris
  2003-09-17 22:09 ` chris
  0 siblings, 1 reply; 2+ messages in thread
From: chris @ 2003-09-17 21:56 UTC (permalink / raw)


Hi,

I just posted *a very early* version of a binding to Lua on my site.  In 
the next 24 hours this bindings usefulness will probably double as more 
functions (and more useful functions) are added, but I've posted it 
early in a bid to get feedback from interested people before major 
changes become harder and/or take longer.

You can get the binding to Lua 5.0 from www.cyberdanx.co.uk, and email 
danx at that address (or post here).  It doesn't do very much, but a 
simple command line interface (as described in the Lua book) is 
functional and some stack routines are available (upto but not including 
all of section 3.5 of the ref manual).  Tonight I'll add as many of the 
stack accessor functions as possible, then tomorrow the push 
functions... so it should be much more functional tomorrow.



Regards,
Chris Campbell

www.cyberdanx.co.uk




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Early Lua Binding
  2003-09-17 21:56 Early Lua Binding chris
@ 2003-09-17 22:09 ` chris
  0 siblings, 0 replies; 2+ messages in thread
From: chris @ 2003-09-17 22:09 UTC (permalink / raw)


Doh!

To compile the simple command line use something like this on Linux...

gnatmake -I../.. commandll.adb -largs -L/usr/include -llualib50 -llua50 -ldl

The names of the lua libs might be different (above is for debian) on 
your system.


This binding *should* compile on Windows but I haven't test it!  The aim 
is to be 100% portable.  If anyone attempts to build it on windows, can 
they please let me know what happens?



Thanks,
Chris




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-17 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-17 21:56 Early Lua Binding chris
2003-09-17 22:09 ` chris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox