Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A Scheme compiler for ARM processors

Is there a Scheme compiler (not interpreter) for ARM processors, specifically Cortex-M3? I'm looking for a compiler, not an interpreter, to get a predictable and small execution times on a (relatively) slow processors. It probably will omit some parts of specification (continuations, maybe); that's fine.

I should note that I only have a 8 kB (maybe 2-4 times more) of RAM.

I'll try to use everything in the answers, and then reply with my findings. That may take some time, through.

like image 739
whitequark Avatar asked Aug 16 '11 21:08

whitequark


3 Answers

This question was on Common Lisp, but one particular answer referenced Picobit, which is essentially a Scheme for microcontrollers. It very well fits in my conditions, as the paper says it can work on as little as 7 kb of memory.

I've decided to fork Picobit and port it to ARM processors.

like image 190
whitequark Avatar answered Oct 13 '22 00:10

whitequark


Have you looked at Chicken Scheme?

like image 45
cam Avatar answered Oct 13 '22 02:10

cam


Gambit-C also provides Scheme to C compiler. Also take a look on Stalin

like image 1
paul Avatar answered Oct 13 '22 01:10

paul