View Single Post
Old 02-12-2009, 02:30 AM   #23
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
hello Iņigo (and all),
Quote:
Originally Posted by Iņigo View Post
Hi,
first, thanks Hansen for porting Lua.
Thanks for trying it! I think really has potential for the Iliad, mut it needs some developers and experimenters to take off.
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.
My prefered language is Ruby. Great but same disadvantages as Python. The more I play with Lua, the more I like it. The only drawback so far is that there are not so many libraries.
Quote:
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?
I had no problems to build Lua and Iup on my Ubuntu PC.
For Lua and the basic Uip stuff: I have a script that builds them from scratch (the tgz's of the sources). That's very handy if you build them often.
I keep everything in svn (even the sources I downloaded). You can browse everyting here: https://dev.mobileread.com/trac/luailiad/browser/trunk
The script I use to build on Linux (Ubuntu) is https://dev.mobileread.com/trac/luai...me_from_tgz.sh. If you want to play with it, you can retrieve everything with just one command:
Code:
svn co https://dev.mobileread.com/svn/luailiad/trunk luailiad
Quote:
Also, I miss some iup libs, such as iupluacontrols, iupx, iuplua_pplot, iuplua_imglib. Extra bonus for cd, im and luasql packages ;-)
This has the following reasons: a) I want to keep the basic Lua package small, b)I have still some issues with Iup itself on the Iliad (the text of check buttons and images on buttons do not show), c) I'm still not 100% sure that Iup will be fast enough on the Iliad for complex Gui's (say 100+ widtgets), d) lack of spare time: I have a job, a wife, a church, friends..... and an Iliad

I think it's not very difficult to port the libraries you mention, but it takes some time to build and test them in a reliable and documented way...

Please proceed with your file manager! try to give it a simple gui. We'll see how far we can get with Lua and Uip...

Last edited by hansel; 02-12-2009 at 06:39 AM.
hansel is offline   Reply With Quote