Starkit and SDX
As you could see in the previous example, Tclkit can be used as a replacement for tclsh
, because it is able to run .tcl
scripts. This feature, although useful, is nothing new. What is really innovative is that Tclkit is also capable of executing Starkits.
What is Starkit? It is a technology that allows you to pack (or wrap) the entire directory structure containing your scripts and other files crucial for your application into a single file with a virtual system inside of it. Having read the previous sections of this chapter, it won't be a surprise for you that Metakit, along with the appropriate VFS driver, is used to achieve this goal.
The structure and naming convention of directories and files to pack is precisely defined, so Tclkit will be able to locate appropriate scripts inside it and start your application.
The word 'Starkit' also refers to any file created with this technology. Such a file contains your application, is very portable, installation-free, and has no...