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

Script Template

  1. Shebang
  2. Add the script directory to auto_path.
  3. package require libraries.
  4. namespace eval demo {} contains:
  5. proc demo::main args {} , then others,
  6. package provide demo $demo::Version
  7. if source'd return
  8. demo::main {*}$argv