Very weird question: sometimes I have to just sketch some weird math logic, and I build my game a thousand times just to read the result on a display function. Does an ags script interpreter for only the non graphical functions (maths and String I think) exists? A headless ags of sorts... Maybe AGS Script is based on something of same syntax...
Hmm, code C++ or C# functions with same names and print output to the console/window?
There is XAGE which already has AGS syntax in C#, but idk if you can get a free copy from author.