Cuberite Forum
Squirrel as alt scripting language - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Squirrel as alt scripting language (/thread-211.html)

Pages: 1 2


Squirrel as alt scripting language - Kwen - 11-05-2011

Squirrel(http://squirrel-lang.org/) is a scripting language heavily inspired by lua and c++. I'm convinced this would be an excellent alternative scripting language, so we should probably take chances to implement it.

Discuss.


RE: Squirrel as alt scripting language - rs2k - 11-05-2011

[Image: squirrel-vs-penguin.jpg]


RE: Squirrel as alt scripting language - FakeTruth - 11-05-2011

Oh man! That is one hot squirrel.
http://www.youtube.com/watch?v=qiBxd0Fuh8o


RE: Squirrel as alt scripting language - Luthrandel - 11-05-2011

As awesome as squirrel sounds, I fear it won't hold up to the more popular scripting languages. Adding it would be a lot of effort for what could possibly be very little.
[Image: giant-squirrel.jpg]


RE: Squirrel as alt scripting language - FakeTruth - 11-05-2011

The only downside (IMO) is that Lua has crappy support for classes, while Squirrel natively supports classes. So I do want to give it a try :o


RE: Squirrel as alt scripting language - Kwen - 11-05-2011

C++ binding libraries:

http://wiki.squirrel-lang.org/default.aspx/SquirrelWiki/SquirrelWiki.html


RE: Squirrel as alt scripting language - rs2k - 11-05-2011

It sounds like it's worth giving it a whirl.

[Image: squirrel-spin_o_GIFSoup.com.gif]


RE: Squirrel as alt scripting language - Luthrandel - 11-05-2011

http://wiki.squirrel-lang.org/default.aspx/SquirrelWiki/LuaComparedToSquirrel.html
If it's getting added anyway, might as well make use of it. Smile
[Image: army_squirrel.jpg]


RE: Squirrel as alt scripting language - rs2k - 11-05-2011

This one may seem a bit forced

[Image: squirrel_jedi_fight-13070.jpg]


RE: Squirrel as alt scripting language - FakeTruth - 11-05-2011

I'm kinda stuck at trying to call functions from C++ on class objects within Squirrel Sad I've seen posts about it on their forums, but without answers.