Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 22:29
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Announcements
New development environment (!!!)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
JohnMurga
Site Admin


Joined: 04 May 2005
Posts: 586
Location: Far to the east

PostPosted: 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 :

Code:
ls /usr/sbin/*.lua


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
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 12 Aug 2006, 10:00    Post subject:  



Smile

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 Smile

Wiki page here . . .
http://puppylinux.org/wikka/LuaProgramming

_________________
Puppy WIKI

Last edited by Lobster on Mon 14 Aug 2006, 05:15; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: 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
View user's profile Send private message Visit poster's website 
JohnMurga
Site Admin


Joined: 04 May 2005
Posts: 586
Location: Far to the east

PostPosted: Tue 15 Aug 2006, 07:47    Post subject:  

Just back from Crete, in Brussels right now Smile

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
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 15 Aug 2006, 08:35    Post subject:  

Hope you are having fun travelling. Sure you are Wink

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 . . .

Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
sbaguz


Joined: 07 Sep 2006
Posts: 52
Location: Italy

PostPosted: Wed 17 Jan 2007, 06:02    Post subject:  

I discovered MurgaLua only yesterday: it's fantastic!!! Very Happy 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.

Wink
Back to top
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: 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
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: 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
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Announcements
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0704s ][ Queries: 12 (0.0043s) ][ GZIP on ]