Implementation of a Scheme interpreter on an ARM Cortex-M4 MCU (Bachelorhesis)


Markus Neumair

21.10.2013, 16:00, room 4981


An important factor for any kind of embedded system, especially for wireless sensor nodes (WSN), is the flexibility. In case of a MCU, it can be increased for a high amount by using an interpreter instead of common used compiled code.
This Bachelor’s Thesis refers to interpreters in general and Armpit Scheme (AS), an interpreter for the Lisp-dialect Scheme on ARM-cores, in special. It points out the high flexibility and the necessary conditions to profit of using an interpreter in contrast to its decreased
Additional to concentrating the interpreted language Scheme, the functionality of AS is analysed. Furthermore, basic functions that are often needed by WSNs and an OS that supports multitasking are implemented under AS and their source-code is explained. Moreover, the performance of interpreters is evaluated, running benchmark-algorithms on AS in comparison to their compiled version. In combination with some benchmark-results, concerning optimization like ARMSchembler, cCc is about 1,7 times faster than ARMSchembled code.