Author |
Message |
JohnMurga
Site Admin

Joined: 04 May 2005 Posts: 593 Location: Far to the east
|
Posted: Sat 12 Aug 2006, 09:19 Post subject:
New development environment (!!!) |
|
Hey
There was a hidden feature in the last version of MeanPuppy.
This is what I intend to become the main development language for
MeanPuppy and many of my smaller Linux projects ...
It's murgaLua (!)
Read more here :
http://www.murga.org/devPages/murgaLua/index.html
http://www.murga.org/devPages/murgaLua/murgaLua-0.1.tar.gz
(the name is unfortunate, but I couldn't think of anything better)
My current travels haven't allowed me to dedicate the time I would
like to it, but I think it is about ready for an initial release.
If you do the following in MeanPuppy :
You'll see a series of test scripts, these where thrown in there
quickly and include a buggy initial version of the PuppyWizard.
However, they do all run and the version of MurgaLua in MeanPuppy
is the one I am releasing today.
Enjoy and please let me know what you think.
I know it needs a little work.
Cheers
JohnM
PS : Won't see any feedback for a couple of days as I'll be in the air.
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Sat 12 Aug 2006, 10:00 Post subject:
|
|
Very interesting John (and fly safely)
I am within half an hour, hacking your code to create this very useful fish counter . . .
Anyone with real programming skill should check this out
DSL uses Lua - maybe we can pick up some script and tips . . . The Lua forum is very friendly. I am actually quite excited by this because Lua is small - extensible with C and an interpreted language similar to Python and Ruby. It also has a heavy game creator contingent . . .
. . . OK I better try and write something in Lua - "Hello world" is usually my limit
for those of you attempting the tutorial
the command is
/usr/bin/murgaLua helloWorld.lua
not just bin
bin/murgaLua helloWorld.lua
for "hello world"
success - I am a Lua programmer (settle down that cructacean)
Update - actually this is incredible
Wanna start programming check out what John has done - a complete tutorial. He has created an IDE (Integrated Development Environment)
Also found this:
"The lua scripting langauge, and tklua adding Tk support to lua, is an external package." in Puppy News for 2004 - was this rleased as an unleashed package?
Thanks John
Wiki page here . . .
http://puppylinux.org/wikka/LuaProgramming
_________________ YinYana AI Buddhism
Last edited by Lobster on Mon 14 Aug 2006, 05:15; edited 3 times in total
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8526 Location: Perth, Western Australia
|
Posted: Sat 12 Aug 2006, 11:24 Post subject:
|
|
Wow, John, you sure have been busy!
I especially like the adaptation of the ide.
|
Back to top
|
|
 |
JohnMurga
Site Admin

Joined: 04 May 2005 Posts: 593 Location: Far to the east
|
Posted: Tue 15 Aug 2006, 07:47 Post subject:
|
|
Just back from Crete, in Brussels right now
Anyway, murgaLua is also based on the cutting edge Lua (5.1.1), and has very good FLTK support which I believe puts it head an sholders above what's out there right now.
Now what I need is feedback from people trying to use it so that I can improve it further.
Cheers
JohnM
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Tue 15 Aug 2006, 08:35 Post subject:
|
|
Hope you are having fun travelling. Sure you are
I agree with Barry - the IDE is neat.
I also liked your examples.
Trouble is you are a smart cookie and
I am just not designed to program.
(lack of brain cells)
What you have done so far works.
I followed and compiled -
I got as far as the 'create a simple chat prog'
It worked. I printed the code and stared at it. And stared.
What did it mean?
Lua itself is faster than Python so I may spend
more time with it.
Python learning is on hold because the Puppy implementation
does not have Idle, an IDE or the complete libraries.
I was using Python in Windows.
Nothing is more annoying then 90% of a language. I want it all.
I think your tutorial was excellent. It certainly is worth developing.
The Ide was a little confusing but it worked and the LUA code generated was simple and straightforward.
The name is fine
but I would also suggest "Ooh La Lua" or "Lua More" or "Ola Lua"
DSL has (IMO) made a wise decision to adopt LUA and has some
programs that use it - for example a save you settings online component . . .
Maybe we can collaborate with DSL and/or make use of that
or other code . . .
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
sbaguz

Joined: 07 Sep 2006 Posts: 52 Location: Italy
|
Posted: Wed 17 Jan 2007, 06:02 Post subject:
|
|
I discovered MurgaLua only yesterday: it's fantastic!!! Thanks again John!
Only an information for people trying to use it on Puppy 2.02 (like me): the libsqlite3.so.0 is missing and murgaLua bin doesn't work.
Download this, unrpm the needed libraries to /usr/lib and all works fine.
|
Back to top
|
|
 |
tide
Joined: 13 Aug 2010 Posts: 56
|
Posted: Sat 01 Oct 2011, 12:55 Post subject:
|
|
Can't for the life of it find out how to get lua to work on Puppy 4.2.0.
Downloaded and extracted the Tarball to /usr/local/bin, went fine.
Then tried to start Lua from the console but it complained about a missing library libredline.so.6 Did a search for that and came up with libreadline6_6.0-5_i386.pet from here.
Seems to have worked.
Now Lua complains about /lib/libc.so.6: version GLIBC_2.7 and GLIB_2.11 not being found. Where can I get them?
ldd libc.so.6
/lib/ld-liux.so.2 (0xb7e76000)
linux-gate.so.1 = (0xffffe000)
#ldd lua
./lua: /lib/libc.so.6: version 'GLIB_2.7' not found (required by ./lua)
./lua: /lib/libc.so.6: version 'GLIB_2.11' not found (required by ./lua)
Help appreciated!
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 917
|
Posted: Sat 01 Oct 2011, 23:22 Post subject:
|
|
tide,
You can download a .deb file from here-
http://ftp.de.debian.org/debian/pool/main/e/eglibc/libc6_2.11.2-10_i386.deb
Then you'll need to convert the .deb file to a pet file -
http://murga-linux.com/puppy/viewtopic.php?search_id=1923251336&t=39756
You should be all set after installing the pet file.
Cheers,
s
|
Back to top
|
|
 |
tide
Joined: 13 Aug 2010 Posts: 56
|
Posted: Sun 02 Oct 2011, 03:56 Post subject:
|
|
Thanks a million, worked! Typing "lua" at the command line resulted in an "illegal instruction", argh. Another look and it dawned on me: "murgaLua" (cap sens) and I'm up and running.
|
Back to top
|
|
 |
|