Picol is a fun-size Tcl interpreter: the version in this repository is around 5.5 KSLOC.
Picol was originally written by Salvatore Sanfilippo in 2007 and then significantly extended by Richard Suchenwirth the same year.
This fork,
started almost a decade later,
splits Picol into a C header library (picol.h
) for embedding in applications
and a REPL program (interp.c
).
It includes a number of new commands and fixes for correctness and Tcl 8.6 compatibility.
Examples programs that embed Picol are can be found in the directory
examples/
.
Note that Picol is not intended for serious production use.
Getting the latest source code
Tarball
Open the latest check-in and click "Tarball" to download.
Fossil
fossil clone https://chiselapp.com/user/dbohdan/repository/picol/ picol.fossil
mkdir picol
cd picol
fossil open ../picol.fossil
Git (via the GitHub mirror)
git clone https://github.com/dbohdan/picol
Building and testing Picol
Go to the directory where you downloaded Picol and run
make test
make examples-test
More about Picol
- How to build Picol with old Microsoft compilers. It covers building for Windows CE 5 and 6 in particular.
- Tested platforms.
- Picol on the Tcler's Wiki.
- ABOUT.txt written by Richard Suchenwirth.
help.pcl
— a Picol program that uses many of its features.