Re:Tables
by engineer331 on Wednesday September 12, 2018 @11:16PM
(#17975686)
You might want to check out Squirrel[1]. It has some major differences when compared to Lua[2], such as a C-style syntax and true objects, but like Lua is known for easy embedding in C and C++. The Source Engine includes Squirrel as one of its supported scripting languages[3], and it's used in non-gaming applications such as the Code::Blocks IDE.
[1]: http://squirrel-lang.org/
[2]: http://wiki.squirrel-lang.org/mainsite/Wiki/default.aspx/Squ...
There is also a squirrel fork SquiLu[1] that add some Lua code (like pattern matching, some stdlib), extend it with string IO, have several extensions (sqlite3, http server, mpdecimal, axtls, curl, ...), accept a subset of Javascript/Java/C/C++, ...
All these "Let's do Lua, but right" languages fill me with both hope AND dread. This also shows what Lua could have become if a few more bold decisions were made. But I guess without a large commercial entity behind it, that was inevitable.
Is there list of lua-ish (especially wrt. speed and easy C integration) languages somewhere? I did not know this one for example.