Hacker News new | ask | show | jobs
by engineer331 2842 days ago
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...

[3]: https://developer.valvesoftware.com/wiki/Squirrel

1 comments

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

[1]:https://github.com/mingodad/squilu