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

Log on
Register forum user name Search FAQ

Gammon Forum

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

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Lua
. . -> [Subject]  Lua version plans

Lua version plans

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


Posted by Kevnuke   USA  (145 posts)  [Biography] bio
Date Sun 28 Jul 2019 01:14 AM (UTC)
Message
I was on the version history page on Lua.org and was wondering if you have any plans to update Lua to 5.1.5 or any newer major version. Are there any differences in the newer versions that would be relevant to MUD coding which would justifying going to a newer version? I saw discussion about adding quality of life features in 5.2 (I think) like setn for tables to simplify getting their size.
[Go to top] top

Posted by Fiendish   USA  (2,315 posts)  [Biography] bio   Global Moderator
Date Reply #1 on Sun 28 Jul 2019 03:54 PM (UTC)
Message
You may be interested in https://github.com/keplerproject/lua-compat-5.3

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Nick Gammon   Australia  (22,556 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Sun 28 Jul 2019 08:51 PM (UTC)

Amended on Mon 29 Jul 2019 06:05 AM (UTC) by Nick Gammon

Message
See http://www.gammon.com.au/forum/?id=14028

The changes in Lua 5.2 made it incompatible with the general way things are done in the client plugins, particularly that functions setfenv and getfenv were removed.

This may not be as big a problem with 5.1.5, however I'm not sure about the DLL compatibilites. There are quite a few DLLs that I make available here (eg. to do SQL, LuaSocket, COM, etc.). I would want to be sure that they worked with 5.1.5.

Meanwhile Fiendish's suggestion of the compatability module might go a fair way towards letting you use some of the newer features.

- 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.


2,412 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 FutureQuest]