(I hope I can make this clear enough)
We have a "home made" scripting/macro tool that let us call most "high level" functionalities in our application; this was developed to help add automation to the application; to let use run the same set of commands automatically instead of doing them manually.
The tool is starting to show its age and limitation; with each new feature that needs to be added to the tool, we seem to be spending more time hacking/patching the tool instead of doing real work.
Our application loads, parses and interprets the script, calling internal application functions (with parameters). All is done internally within our application
For example,
Let's say our application is a "3d graphic application", I could create a "script" like:
LoadFile ( "potato.cad" ) ConstructSphere( "sphere", 0, 0, 0, 10, #FF0000 ) ReverseSurfaceNormal( "sphere") ZoomAll() Delete( "onion*", ALL_PLANE) SaveFile ( "tomate.cad" )
To run this, with launch our application and open and play the script and it will call the corresponding functions
----
We probably are at the limit of what can be done with the tool.
So I'm looking for some sort of alternative and/or replacement.
VBScript/COM ? Python ? Perl ? LUA ?
Am I going in the proper direction ?
The thing is that I would need to call C functions (wrappers) from a script from within the running application; a little bit (a lot) like how the macros were working in Visual Studio 2008.
Thanks.
Max.