Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Programming ➜ General ➜ Lua interpreter

Lua interpreter

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Eldeon   (9 posts)  Bio
Date Tue 22 Jun 2010 06:07 PM (UTC)
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.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Tue 22 Jun 2010 06:15 PM (UTC)
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
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 22 Jun 2010 08:48 PM (UTC)
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
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.


16,597 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.