Get It
Jim Tcl source is available from the git repository.
See http://repo.or.cz/w/jimtcl.git or the github mirror at https://github.com/msteveb/jimtcl
$ git clone git://repo.or.cz/jimtcl.git remote: Counting objects: 3703, done. remote: Compressing objects: 100% (907/907), done. remote: Total 3703 (delta 2715), reused 3703 (delta 2715) Receiving objects: 100% (3703/3703), 1.88 MiB | 437 KiB/s, done. Resolving deltas: 100% (2715/2715), done.
Note: The source code may be downloaded from repo.or.cz as a tar.gz or zip file
instead if you don’t have git available.
Build It
You will need:
- a C compiler
- make
$ 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.71 .