Samuel Tardieu @


A Forth compiler for Microchip PIC 16Fxxx

This Forth compiler, available under the GPL v3 free software license, is hosted on Unix (or Linux) using gforth 0.6.x and generates code for the Microchip PIC 16F87x and 16F88 microcontrollers family. It includes two kinds of cooperative schedulers.

In the distribution, you will find some examples: a model railroad booster, a DCC signal generator, some code for silver card smartcards.

This compiler requires gforth 0.7.3 to work.

Getting PicForth

You can either download a packaged version, or get the latest development version of PicForth.

Packaged version 1.4

You can download PicForth 1.4 for Unix, distributed under the GPL v3.

Development version

You can get the current development version of PicForth using git:
git clone
This will create a picforth directory in which you will be able to record your own changes. You can also browse the PicForth repository on GitHub.

Contributing to PicForth

Reporting bugs and asking for features

If you find a bug or have an idea for a new feature, you might consider adding a new issue. The more precise you will be in your description, the more useful it will be.

Submitting patches

Patches are gladly accepted from their original author. Along with any patches, please state that the patch is your original work and that you license the work to the PicForth project under a license compatible with the current one (GPL v3).

To propose a patch, you may fork the PicForth repository on GitHub, and issue a pull request. You may also send patches and pull requests by email.