lua sample code for iLiad & iup problems
Hi,
first, thanks Hansen for porting Lua.
I've previously experimented with my preferred language -python - in the iLiad, but it's too slow to be usable as core. Though not as beauty as it, Lua is quite good, easy and powerful, so I'm learning it nowdays.
I think that Lua could be a good scripting language for the iLiad, even it could substitute some internal C/C++ code because of its easy embedding, simplyfing the writting of new features and keeping speed.
While experimenting with Lua, I 've written the attached sample program. It displays directory contents and parse manifest.xml files to get some extra information. Don't expect high quality, this is the first code I write in.
I have the purpose to build a proof-of-concept file manager to experiment with diferent look&feels.
And this brings me to the second point in this post.
Looking at iup it looks like the perfect GUI for the iLiad, but I'm having some problems to test iup code.
I haven't been able to compile iup on my desktop (Fedora 10 Linux x86_64), and binary packages don't work either... how do you manage? Could you share the env you are using to write and test lua&iup code, please?
Also, I miss some iup libs, such as iupluacontrols, iupx, iuplua_pplot, iuplua_imglib. Extra bonus for cd, im and luasql packages ;-)
Thanks for sharing,
Iņigo
|