I want to allow user to use advanced output feature with my application. In other words I want to have some simple scripting language inside c++ application so that user could call c++ functions from this simple scripting language.
Is there anything similar available?
I know for boost python, but to embed python interpreter in c++ makes binary for about 1mb bigger. I want to keep my exe as smallest as possible.
User should be able to do something like this (for instance):
And when my c++ aplication would parse this script, it would make the output string:Code:%c = random(2,5); %b = "some text"; output = "this is" . %b . "... some random number: " . %c;
"this is some text... some random number: 3"
Thanks for help