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 Fri 19 Dec 2014, 12:42
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Lua scripting language - is there a Pupget?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Lobster
Official Crustacean


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

PostPosted: Mon 01 Aug 2005, 13:57    Post subject:  Lua scripting language - is there a Pupget?  

This program seems to have been written in Lua . . .
http://www.freepops.org/en/

Has anyone used or experimented with Lua - it is a scripting language available as a Pupget . . .

Cool

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


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

PostPosted: Mon 01 Aug 2005, 21:57    Post subject:  

Yep, lua-4.01 is a pupget, but that version is very old and the Lua language has changed somewhat since then.
Back to top
View user's profile Send private message Visit poster's website 
Revolutionist
Guest


PostPosted: Thu 04 Aug 2005, 08:02    Post subject: here you are  

this is the lua package needed for lua? and it's compiler!!
this will install everything when done open terminal and type
lua or luac
for more information you should see there site!!!
lua.pup
Description  lua
pup

 Download 
Filename  lua.pup 
Filesize  169.6 KB 
Downloaded  1826 Time(s) 
Back to top
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Thu 04 Aug 2005, 16:37    Post subject: it's is me  

Sorry, about that it is me I put that up there so have fun with it!!!
it is the newest release, just go to there web site for more info, unless you already know of lua!!!

_________________
Heaven is on the way, until then let's get the truth out!
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


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

PostPosted: Fri 05 Aug 2005, 08:04    Post subject:  

I don't know it - but it is a fast scripted or interpreted language

very elegant

try version 4 online - hey only 100k to download . . .
http://doris.sourceforge.net/lua/weblua.php

Here is some example code I am working on
(I prefer to use the language - pah - why should I have to learn it) Embarassed

you create a text file called for example
welcome.lua
and call it by typing lua welcome.lua

in the welcome.lua test file below

Code:
 index = [[
     
         Press Number
   
            1 Welcome
            2 Strings
            3 Numbers
            4 Calling C

         ]]

    print  (index)



[code]if line == "1" then
 dofile ("welcome.lua") ; line = io.read() ; dofile ("index.lua")
elseif line == "2" then
 dofile ("strings.lua")
elseif line == "3" then
 dofile ("numbers.lua")
elseif line == "4" then
 dofile ("callingc.lua")
end[/code]



this makes index print on screen the data betwwen [[ and ]]

Code:
index = [[
     
         Press Number
   
            1 Welcome
            2 Strings
            3 Numbers
            4 Calling C
         ]]


a comment -- read a line
starts with two --

many commands on one line are separated by ;

http://lua-users.org/wiki/

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0558s ][ Queries: 12 (0.0036s) ][ GZIP on ]