Get It

Jim Tcl source is available from the git repository.

See https://github.com/msteveb/jimtcl

$ git clone https://github.com/msteveb/jimtcl.git
Cloning into 'jimtcl'...
remote: Enumerating objects: 126, done.
remote: Counting objects: 100% (126/126), done.
remote: Compressing objects: 100% (80/80), done.
remote: Total 7761 (delta 65), reused 89 (delta 45), pack-reused 7635
Receiving objects: 100% (7761/7761), 11.45 MiB | 5.47 MiB/s, done.
Resolving deltas: 100% (4964/4964), done.

Note: The source code may be downloaded as a tar.gz or zip file instead if you don’t have git available. e.g. https://github.com/msteveb/jimtcl/archive/master.zip

Build It

You will need:

$ cd jimtcl/
$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
...etc...
$ make
gcc -g -O2 ... -c -o jim-subcmd.o jim-subcmd.c
gcc -g -O2 ... -c -o jim-interactive.o jim-interactive.c
gcc -g -O2 ... -c -o jim-format.o jim-format.c
...etc...

Test It

Jim Tcl includes an extensive test suite.

$ make test
      alias.test: Total    18   Passed    18  Skipped     0  Failed     0
      array.test: Total    12   Passed    12  Skipped     0  Failed     0
       case.test: Total     6   Passed     6  Skipped     0  Failed     0
     concat.test: Total    16   Passed    16  Skipped     0  Failed     0
       dict.test: Total    30   Passed    30  Skipped     0  Failed     0
      error.test: Total     3   Passed     3  Skipped     0  Failed     0
      event.test: Total    14   Passed    14  Skipped     0  Failed     0
       exec.test: Total    75   Passed    75  Skipped     0  Failed     0
      exec2.test: Total     6   Passed     6  Skipped     0  Failed     0
     exists.test: Total    16   Passed    16  Skipped     0  Failed     0
     expand.test: Total     4   Passed     4  Skipped     0  Failed     0
...etc...

Try It

The Jim Tcl shell can be run interactively.

$ ./jimsh 
Welcome to Jim version 0.79
.