[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Programming
. -> [Folder]  General
. . -> [Subject]  Lua interpreter
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Lua interpreter

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Eldeon   (9 posts)  [Biography] bio
Date Tue 22 Jun 2010 06:07 PM (UTC)  quote  ]
Message
Ok I've looked and looked online for this and I can't find it.
I have the source code for the lua interpreter and I need to create it but I don't know how. I'm new to coding and I want to start with lua but I can't learn the language if I don't have the interpreter to try things on. So please if someone could give me like step by step instructions of how to do this that would be fantastic. Thanks.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #1 on Tue 22 Jun 2010 06:15 PM (UTC)  quote  ]
Message
Did you google for "Lua interpreter"? The answer is basically in the front page. Anyhow, assuming you're running on Windows, this should be helpful:
http://code.google.com/p/luaforwindows/

If that's not helpful, could you please be more precise about what isn't working or what isn't clear?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Nick Gammon   Australia  (19,342 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Tue 22 Jun 2010 08:48 PM (UTC)  quote  ]
Message
You don't really need the source code to learn Lua, in fact it would probably confuse you. As David says, it is available from the Lua site.

On this site is a copy of the Lua standalone executable:

http://www.gammon.com.au/downloads/dlmushclient.htm

(Near the bottom).

The exact link is:

http://www.gammon.com.au/files/mushclient/lua5.1_extras/lua5.1.zip

If you download MUSHclient (also from that first link above, or click the Downloads button at the top of this page), then Lua is built into MUSHclient.

I suggest reading the online book "Programming in Lua", which can be accessed here:

http://www.lua.org/pil/

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


3,027 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]