:: Re: [DNG] Tcl as a scripting langua…
Página Principal
Delete this message
Reply to this message
Autor: Didier Kryn
Data:  
Para: dng
Assunto: Re: [DNG] Tcl as a scripting language: 4/2/2025 7pm Eastern Standard time
Le 31/03/2025 à 14:28, Steve Litt a écrit :
> Hi all,
>
> Where: GoLUG: https://meet.jit.si/golug
> When: Wednesday, 4/2/2025 7pm sharp Eastern Daylight time
>        Arrive 15 minutes early for Microphone check & discussion
> Who: David Billsbrough, veteran Linux admin and developer
> What: Tcl as a scripting language
>
> If you're anything like me, you've always thought of Tcl as a
> programming language, not a scripting language. And if you're anything
> like me, you've looked at Tcl as a a competitor of Python, Lua, Perl or
> Ruby, and preferred one of those. But when David told me he's going to
> talk about Tcl for making shellscripts, well, that's a horse of a
> different color. Will it be as good as my beloved KSH plus Shellcheck?
> I'm going to this meeting to find out, and hope to see you there.


    I've always thought of TCL as a scripting language, but not with
the same meaning as the shell.

    The term of "scripting language" for the shell means essentially
"interpreted language". Well it is also able to launch processes, which
makes its utility.

    Instead, it is possible to invoque Tcl from within any program, for
example an application written in C, while providing it with functions
it can call to execute commands which belong to the application proper,
making it a high-level steering  function of the application. Of course
it can also launch processes like the shell, but I don't think this is
the most interesting.

--     Didier