Original Post
I've been experimenting with Angelscript for a while now and I like it. So far I've got some stuff to work like calling angelscript functions from C++ and calling registered C++ functions from angelscript. Now I got stuck while trying to call angelscript functions from within angelscript itself (see code example below). I've poked around with the samples in SDK and the manual, but... well... let's just say I failed to find something helpful. What I'm curious about here is how the C++ code (AS implementation) has to be designed to allow this kind of script execution. Are there any online examples I could take a look at? Here's a sample code: bool test() { return true; } int main() { if (test) { Print("OK"); } return 0; } PS. Does Angelscript have a logo that people can put into their products?
