Razish / japp

JA++ server and client modification for Jedi Academy
GNU General Public License v2.0
44 stars 30 forks source link

Add: Squirrel scripting #349

Open Razish opened 8 years ago

Razish commented 8 years ago

http://squirrel-lang.org/

Best described as "Lua grew up and learnt C++" Apparently the API and general design is very similar to Lua, meaning the existing lua backend could continue to exist, and will allow me to write an abstraction layer between the "plugin system" and "scripting backend"

ensiform commented 8 years ago


Apparently there are other options instead of sqplus now and are on the squirrel wiki.

For reference: http://wiki.squirrel-lang.org/default.aspx/SquirrelWiki/Lua%20Compared%20to%20Squirrel.html

GameMonkey is also nice (there are variants gmsrc_ex for example)
Exmirai commented 8 years ago

replace lua with squirrel?

Razish commented 8 years ago

Not necessarily. Could allow both.

Exmirai commented 8 years ago

is squirrel compatible with lua?

Razish commented 8 years ago

Doubtful, but it is designed very much the same as Lua.

ensiform commented 8 years ago

Squirrel has a syntax more similar to C++ rather than Lua afaik. I believe semi-colons are also required :)