Page 1 of 1

Embedding Cobra as scripting language

PostPosted: Mon Jun 02, 2008 7:20 am
by fogzot
It is possible to embed Cobra and use it as a scripting language inside an application? Does it offers facilities for defining an environment and run a "script" in it? We're interested in doing what we do with Python: define an environment with predefined modules, functions and variables and let short scripts run there. Any information or even better, example, is welcome.

Re: Embedding Cobra as scripting language

PostPosted: Tue Jun 03, 2008 1:06 am
by Charles
Unfortunately, at this time, Cobra does not offer support for embedding. Some effort would be required to make it happen. I would gladly accept a patch for this if anyone has the inclination because In the short term, there are other things that will have my attention.

You might want to check out http://www.protsyk.com/scriptdotnet/ which appears to be built specifically for embedding. I can't say how good it is as I have never used it.