I'm checking out Nimrod for embedded development.
I am looking for someone to share first-hand experience.
It could be me, but I could not find a list of the possible targets using the --cpu flag :/
http://nimrod-lang.org/nimrodc.html didn't provide any specific info.
Thanks.
If your CPU is not officially listed (the documented list is not complete), try AVR for 16 bits, ARM for 32 bits and follow these instructions:
http://nimrod-lang.org/nimrodc.html#nimrod-for-embedded-systems
If you can use the GC depends on your requirements and how much memory the device has. Maybe you need to use --gc:none in addition to --os:standalone.
Disclaimer: Afaict not many people use these features, so please report any bugs you encounter.
Thanks everybody, that helped.
But anyone who actually uses Nimrod in this setting, please speak up.
With regard to the docs, from http://nim-lang.org/system.html#hostCPU :
hostCPU: Possible values: "i386", "alpha", "powerpc", "sparc", "amd64", "mips", "arm".
Maybe avr too then?