This is an amazing free script system for your c++ application.
I switched to it from Lua and am still experiencing positive emotions only.
Original web page:
http://www.angelcode.com/angelscript/
Porting to Marmalade SDK is very simple. I was needed to do only one change in angelscript.h:
typedef size_t asPWORD;
Moreover, I don't know whether is the author of AngelScript an Marmalade user too, but he is a forward-looking man. There is such define in code everywhere:
#if defined(__GNUC__) || defined( AS_MARMALADE )
That quite drastically alleviates porting AngelScript to Marmalade )
I wonder why this useful thing is not included into Marmalade Code Community still,
since it was originally designed with the intention to be used in the Marmalade SDK.
So usage is:
Add 'anglescript' subproject into your mkb(or mkf)
Add includepath lines to AngelScript headers and add-ons:
angelscript/include
angelscript/addons
Define AS_MARMALADE in the 'defines' section in your mkb:
defines
{
AS_MARMALADE = 1
}
Enjoy.












Yes. AngleScript is better then LUA.
Easier data structure integration
C syntax. (prototype in Anglescript -> copy to C file)
Thanks!
Can't share it due:
Angel Script
Share
×The selected file angelscript.zip could not be uploaded. The file is 446.5 KB which would exceed your disk quota of 2 MB.
What am I do?
PS.
Uploaded on github:
https://github.com/Papirosnik/AngelScript-for-Marmalade
This looks great, thanks for sharing. I may consider integrating this into the IwGame Engine.
Awesome share, this is definitely useful for game engine.
Unfortunately, there is a bug with compilation native arm instructions with marmalade: http://www.madewithmarmalade.com/devnet/forum/7502#comment-28979
If you need an ARM build of AngelScript you should use either AS_MAX_PORTABILITY definition (with some restrictions in add-ons and probably some bugs) or separately build your application with scons and then deploy apk or ipa.
I have just checked it on Android 2.3 and all works properly.
PS. The author of AngelScript works every day and new improvements appear in his repository very often. So, the way with AS_MAX_PORTABILITY maybe will work properly soon.