The time now is Mon 23 Apr 2018, 04:03
All times are UTC - 4 |
Author |
Message |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: 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 . . .
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8526 Location: Perth, Western Australia
|
Posted: 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
|
|
 |
Revolutionist
Guest
|
Posted: 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!!!
Description |
lua
|

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

Joined: 08 Jun 2005 Posts: 1124
|
Posted: 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
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: 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)
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/
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
|
|
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.0520s ][ Queries: 12 (0.0111s) ][ GZIP on ] |