next up previous contents
Next: Contents

The Interactive C Manual for the Handy Board

Fred G. Martingif

A PostScript version of this document is available.

Interactive C (IC for short) is a C language consisting of a compiler (with interactive command-line compilation and debugging) and a run-time machine language module. IC implements a subset of C including control structures ( for, while, if,

else), local and global variables, arrays, pointers, 16-bit and 32-bit integers, and 32-bit floating point numbers.

IC works by compiling into pseudo-code for a custom stack machine, rather than compiling directly into native code for a particular processor. This pseudo-code (or p-code) is then interpreted by the run-time machine language program. This unusual approach to compiler design allows IC to offer the following design tradeoffs:

Since IC 's ultimate performance is limited by the fact that its output p-code is interpreted, these advantages are taken at the expense of raw execution speed. Still, IC is no slouch.

IC was designed and implemented by Randy Sargent with the assistance of Fred Martin. This manual covers the freeware distribution of IC \ (version 2.852).

next up previous contents
Next: Contents

Fred G. Martin
Fri Mar 29 17:44:15 EST 1996