← Back to context

Comment by rascul

3 days ago

Aren't TCL and Perl stringly-typed scripting languages?

Yes - at least in Tcl, _everything_ is a string

  • Not everything, and this already changed a while back.

    > The core of the Tcl interpreter has been replaced with an on-the-fly compiler that translates Tcl scripts to byte codes; a new interpreter then executes the byte codes. In earlier versions of Tcl, strings were used as a universal representation; in Tcl 8.0 strings are replaced with Tcl_Obj structures ("objects") that can hold both a string value and an internal form such as a binary integer or compiled bytecodes.

    http://www.ira.inaf.it/Computing/manuals/tcl/man-8.0/Changes...