Picol is a fun-size Tcl interpreter: the version found in this repository is around 5 KSLOC. Picol was originally written by Salvatore Sanfilippo and then extended by Richard Suchenwirth in 2007.
This fork splits it into a library (
picol.h) for embedding the interpreter in other applications and a REPL program (
interp.c) and includes a number of new commands and fixes for correctness and Tcl 8.x compatibility. Examples of programs that embed Picol can be found in the directory
Note that Picol is not intended for production use.
Getting the latest source code
Go here and click "Tarball" to download.
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
Per-push Windows binaries are available on Bintray.
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 in the Tcler's Wiki.
- ABOUT.txt written by Richard Suchenwirth.
- help.pcl — a Picol program that uses many of its features.