EuroTcl 2023 - Jim and Tcl interoperability, Featuring thing o_o, Georg Lehner, 2023-07-20

Namespaces

Tcl: namespace is created on first usage.

Jim: namespace exists only during execution.

namespace eval demo { variable Var } ← Var vanishes in Jim.

namespace eval demo { variable Var {} } ← now it stays also in Jim.

Variable is named: ::demo::Var

Excess colons are not supported: ::demo::::Var fails