These are chat archives for ChaiScript/ChaiScript

Apr 2017
Harish Bhagat
Apr 09 2017 17:09
Hey, I'm looking to use ChaiScript as part of a 3D game engine for a group University project, would this be feasible? All gameplay aspects will be handled through scripts; each script would need to be attached to a GameObject and have an update function, as well as access to properties such as position. Other functions such as those for Maths and Custom data types would also need to be accessed.
Jason Turner
Apr 09 2017 23:37
@Wizardo367 any C++ function (member function, free function) can be exposed to C++, so there's no reason why this couldn't work. I've written my own game engine with ChaiScript which has worked.
You can do several thousand ChaiScript to c++ calls per second, which should be plenty