Hi Kiwamu,

Could you possible let us know which tiny cpu/memory size you are using? Are you using any programming framework library, such as the ones for Functional Reactive Programming (Yampa, Reactive, Reactive-Banana, etc)? How has been the experience?

Thanks in advance. Cheers,

Jorge.


Enviado por Samsung Mobile


Kiwamu Okabe escreveu:

Hi John.

I think the patch is useful to run Haskell code on tiny CPU and small
memory size.
Github link is below.

https://github.com/ajhc/ajhc/commit/3167551530b0576cf1f42f928865868ce9aa0b50

The changes are...

1. Control BLOCK_SIZE and MEGABLOCK_SIZE from Makefile.
2. Do not allocate MEGABLOCK dynamically.
3. Set function pointer's bit0 for Cortex-M3.
    http://communities.mentor.com/community/cs/archives/arm-gnu/msg01904.html
4. Naive GC flag to run GC when no blocks.
5. Control stack_grow size.

Example of usage is found at https://github.com/ajhc/demo-cortex-m3.

Best regards,
--
Kiwamu Okabe