lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Ok, so somehow I think the discussion got off the main topic, which 
was a "standard" way of loading interface libraries...

Was there any resolution to this?  I think it would be neat if there
was a way to facilitate this, but I don't think there is a simple, 
all encompassing solution. The loadlib code is going to work, sometimes.
A recompile of Lua is (sometimes) going to be required for certain
interface libs. Especially when 4.1 comes out and people start injecting 
their own data structures into the Lua state.

Sounds like what is needed is a "Lua scripting environment" distro 
for Lua beginners and script junkies that can be used 'out of the box' 
and contains some common libraries.

I don't really think Lua proper should standardize on a set of 
extension libraries though.

ack.. have i helped or made things worse. :) die thread die!

Regards,
Jim


----- Original Message ----- 
From: "Philippe Lhoste" <PhiLho@gmx.net>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Thursday, January 31, 2002 11:41 AM
Subject: RE: Lua libraries


| My 0.02 euros :-) on the discussion on Visual Studio and Windows:
| 
| - VS' nmake do understand the standard make format, more or less.
| At work, we have a CGI product that is portable. We have a makefile for each
| supported platform, because of differences of implementation of make, and of
| course to take in account the options for the various compilers, but they
| all look the same, including the one we use to target WinNT.
| In other words, we routinely compile with VS by typing "nmake -f makent" and
| go on.
| 
| - I created dsp/dsw to compile Lua, because it is easier to ask VS to create
| a framework, which I refine to get the wanted result. BTW, the paths in
| these files are relative.
| 
| - A DLL can call a routine in the exe that invoqued it. The exe must provide
| the pointer to the routine to a dedicated function in the DLL.
| Now, there can be problems with shared memory, etc. And it is quite a
| kludge. But it can work.
| 
| Regards.
| 
| -- 
| --=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
| Philippe Lhoste (Paris -- France)
| Professional programmer and amateur artist
| http://jove.prohosting.com/~philho/
| --=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
| 
| Sent through GMX FreeMail - http://www.gmx.net
| 
| 
|