stamourv / picobit

A Compact Scheme System for Microcontrollers
GNU General Public License v3.0
181 stars 35 forks source link

This is a very small Scheme system designed to run on small microcontrollers, currently PIC18 and ARM.

It consists of

USAGE:

  1. Install Racket (needed to run the bytecode compiler) racket-lang.org

  2. Build the VM: make This will build the VM with the default configuration (workstation, no deubgging). To configure the VM for another architecture, or with different options, run make help from the `vm' directory.

Note: gawk is required to build the VM.

  1. Compile a Scheme program: ./picobit prog.scm

  2. Run the resulting program: ./picobit-vm prog.hex

Note: The `p' script is a shortcut for compiling and running programs: ./p prog.scm is equivalent to ./picobit prog.scm ; ./picobit-vm prog.hex

SEE ALSO:

HISTORY:

Marc Feeley originally wrote PICOBIT around 2006. Vincent St-Amour took over development in 2008. Jim Shargo worked on a port to Racket in 2011. The Racket port was completed in June 2011. Peter Zotov (whitequark) ported PICOBIT to ARM in August 2011.

LICENCE:

PICOBIT is released under the GPLv3.