SPoC
- Takes
- occam as input and generates Standard C.
- It has a limitation for embedded processors where println is not supported
- Occam source files must be #INCLUDE-d into one "main" occam file.
Then SPoC generates a single huge Standard C file.
- occam2c.h - Macro file
- Primitive data-types and macros.
Comes with SPoC, modifed by us.
- occam2c.c - Runtime system
- Timer interrupt, scheduler, communication functions etc. Mainly runnable code.
Comes with SPoC, modified by us.
- SPoC
- consume my.occ with occam2c.h and occam2c.c to
produce my.c