rob@[EMAIL PROTECTED]
wrote:
> We have a number of pieces of equipment under computer control,
> and wonder whether there exists an interpreted or script language
> that could accomplish the control, rather than having to write
> and compile C code for every task. This language would have to
> be able to link in external C subroutines, as well as hardware
> device drivers. We'll probably be mac-based.
I recommend Tcl. It comes with tiger, is mature, stable and actively
developed, comes with a very easy to use GUI toolkit (way more
cross-platform that Java could ever hope to be), and it is trivial to
link with custom C code (even inlined!).
http://www.tcl.tk
is one starting point.
Tcl also has an incredible technology for deployment if that's
something you're concerned about. Similar to mac bundles, you can
combine a tcl/tk runtime, your scripts, associated data, and even an
embedded db into a single executable file. Check out starkits here:
http://www.equi4.com/starkit.html
For adding inline code to your Tcl scripts, check out critcl:
http://www.equi4.com/critcl.html
SWIG, one of the technologies that makes it trivial to link in custom C
code with your tcl scripts, also works with other scripting languages.
Check out SWIG here: http://www.swig.org/.
--
Bryan Oakley
http://www.tclscripting.com


|