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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  Programming
. -> [Folder]  General
. . -> [Subject]  Lua interpreter

Lua interpreter

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


Posted by Eldeon   (9 posts)  [Biography] 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.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] 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
[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.


14,907 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at HostDash]