Using ContextFree with another application
Posted: Mon Mar 08, 2010 5:46 pm
Hi all!
We are developing an application that manipulates cfdg files and images. Basically, it's something that allows you to evolve images generated with Context Free. Right now, we're spawning processes to run cfdg on each grammar to generate the image, but that's hardly efficient, especially so because we have to have something to stop it from running indefinitely - some kind of time limit. I'm wondering if there's a more suitable option than just spawning processes running cfdg. Some way to integrate it more tightly with an enclosing app. I noticed that there is a lot of people integrating, or otherwise using, Context Free in their projects. What's your approach? Our app is written in Python and is being developed for Mac OSX.
Thanks!
We are developing an application that manipulates cfdg files and images. Basically, it's something that allows you to evolve images generated with Context Free. Right now, we're spawning processes to run cfdg on each grammar to generate the image, but that's hardly efficient, especially so because we have to have something to stop it from running indefinitely - some kind of time limit. I'm wondering if there's a more suitable option than just spawning processes running cfdg. Some way to integrate it more tightly with an enclosing app. I noticed that there is a lot of people integrating, or otherwise using, Context Free in their projects. What's your approach? Our app is written in Python and is being developed for Mac OSX.
Thanks!