Re: [Exim] improvments to exim

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: lists-exim
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] improvments to exim
Avleen Vig <lists-exim@???> wrote:
>
>Any particular reason for Tcl?


Tcl's internals are much much nicer than Perl (say) for embedding and
extending the language. Tcl's syntax is much cleaner and is designed
for simple control of a program without imposing too much language
structure. It can be as procedural or declarative as the program requires.

Tcl is designed for exactly this kind of application -- the classic
example is expect. Exim's configuration *isn't* a program (though it
has many program-like features) so the fact that Tcl's syntax isn't
optimised for things (like assignment) that are common in programming
isn't a problem. In fact you can omit selected programming bits of Tcl
if they aren't appropriate for your situation.

Tony.
--
f.a.n.finch <dot@???> http://dotat.at/
BISCAY: MAINLY SOUTH 4 OR 5 VEERING WEST OR SOUTHWEST 5 OR 6, OCCASIONALLY 7
LATER. RAIN OR SHOWERS. MODERATE OR GOOD.