> One feature I have been asked for that is somewhat related conceptually is > being able to drive the viewer from a command line and also from external > processes. (e.g., "load save file X, zoom to time Y, etc.) Tcl came up > as one proposed option and I was curious how hard it is to interface to an > extension language yet maintain normal application interactivity excluding > when the extension language's command blocks the viewer for a specific > action to complete.
Cool! Great idea! > Are there code examples in gEDA someone couple specifically point me to? I > know you guys have used guile, but I'm certainly not a fan of functional > programming languages so I'd prefer not to go down that route, however I > would like to see how the interfacing was done and where it was done > rather than reinvent the wheel poorly. First off, I'd suggest you use TCL, since it is pretty well ensconsed as an EDA language. As for examples of where it has been integrated, check out pcb-3.0, which is Tim Edward's fork of PCB: http://opencircuitdesign.com/pcb/index.html It provides a command prompt window into which you can type TCL to perform your actions, and when you hit return, the actions are performed on your board in real time. I've played with it briefly, and I think it is the right approach for this kind of facility. I don't know how fleshed out it is, since I haven't used it extensively. Cheers, Stuart _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
