GlPortal / RadixEngine

A free and open game engine.
zlib License
148 stars 58 forks source link

Change scripting language #170

Closed ElementW closed 6 years ago

ElementW commented 6 years ago

Following #69, scripting was implemented into the engine using ChaiScript.

Chai was chosen mostly for its ease of integration and urgent need to be able to script out things, however it is not a permanent choice and displays some major issues, including, but not limited to:

Many scripting languages are available and have syntax similar to C/C++. Ones of particular interest are AngelScript and Wren.
An incomplete comparison table is available here and will be completed over time.

ElementW commented 6 years ago

Check out 505ecedb011906b5f5da637d87856d3434be9142, where I replaced Chai with AngelScript. This is the work of a single hour of work so may not be perfect, but it works.