[Asterisk-Dev] Re: [Dev] TCL for configuration?

Reinhard Max max at suse.de
Mon Jun 23 09:22:29 MST 2003


On Mon, 23 Jun 2003 at 09:28, Steven Critchfield wrote:

> Simpler?

Yes. Definitive.

> How many users do you expect to know how to program in TCL?

Tcl is very easy to learn, because it's syntax is very small, clean
and consistent (see "man Tcl"). Stuff like loops and control
structures are normal commands in Tcl, and not part of the Syntax.

And one wouldn't even need to know how to _program_ in Tcl just to
write a config file that follows Tcl's syntax rules, and gets
interpreted by an embedded Tcl interpreter.


BTW, initially Tcl got developed for exactly such purposes. John
Ousterhout, the initial author of Tcl, found himself writing many
specialized and limited little interpreters to add scripting
capabilities to all his IC design tools written in C. So he had the
idea to write a generic interpreter that can easily be embedded and
extended, build it as a library, and re-use it for all his projects.

See http://www.tcl.tk/advocacy/tclHistory.html for more details.


cu
	Reinhard





More information about the asterisk-dev mailing list