[www tom@zwizwa.be**20080923122754] hunk ./www/index.html 14 - Scheme. The core of the system is a programmable code generator - structured around a functional + Scheme. At its core is a functional hunk ./www/index.html 16 - concatenative meta language that combines partial evaluation - and manual staging, targeting a 2-stack machine model. On top of - this it includes a syntax frontend for - creating - Forth style languages, a backend code generator for the + concatenative language Coma extended with quasiquotation-based + Scheme to Coma template programming. + +
Staapl uses a simple 2-stack virtual machine model to abstract + low-end microcontroller architectures. Primitives for the Coma + language are stack machine code transformers, implemented in Scheme + using a pattern matching mechanism. The use of partial evaluation + rules in the definition of primitives allows the elimination of + unnecessary run-time computation and interpretation, and forms the + foundation of the metaprogramming system. + +
On top of these two mechanisms Staapl includes a + + Forth syntax frontend that hides the Scheme metaprogramming + system, a backend code generator for the hunk ./www/index.html 32 - microcontroller architecture, and interaction tools for a productive - edit-compile-run cycle. + microcontroller architecture, and live interaction tools and a + Forth-style console for debugging and testing. hunk ./www/index.html 40 -