nimrod laguage looks nice for embedded goals!
also, i noticed nimrod could only be compiled on a x86 machine, may be possible to use it as interpreter (the so called "interactive mode") on mips/linux or arm/linux, or ppc/linux machine ?
Nimrod runs on lots of CPUs: http://build.nimrod-code.org/ I think Mat2 is working on backends for mips32 and 68000 but I could be wrong.
http://nimrod-code.org/nimrodc.html#nimrod-for-embedded-systems
If your CPU is not in the list of known CPUs try --cpu:avr for a 16 bit CPU and perhaps --cpu:arm for a 32 bit CPU.
i'd like to understand how it is working, it may be i can write the machine layer by my own, i am NOT interested about avr8 or arm, as you can see from the previous post i an interested about 68k, 6800, and mips32: any specific documentation about this ?
also nimrodc is not compiling on a mips system
i have not understood the most important thing: how does nimrod generate code ? does it translate into C ? So if i decide to you a 68000 and i invoke nimrod-c i will get nimrod's source translated into a C source, then it will be invoked m68k-elf-gcc which compile it into object file, and finally the linker will produce the final elf ?
is it that way ?
nimrod i does not generate any C code, it evaluates code directly and has not been built for embedded programming. So lets ignore it.
nimrod c compiles to C but the C is tailored to the platform you request. However for the CPU the only thing that matters are the bit widths as we do not use inline assembler in the core yet. You need to change config/nimrod.cfg or your project specific configuration file to make the compiler invoke m68k-elf-gcc.
also nimrodc is not compiling on a mips system
What's the error message?
nimrod # ./build-it
Error: no C code generated for: [linux: mips]
Following CPU backends are on my wish-list: PIC-32 (MIPS 3),MIPS 5, ARM 8 (prototype board), ARM 6 (Raspberri PI),Parallax Propeller II (via simulator), mc680x0 (because some home-build boards using this processor and I was asked for support), (e)Z80 (mostly self-build systems with either Z80, Z180 or EZ80), tiC647x DSP ("unusal" use of video equipement), SPARC 64 (there exist a common-used open core for FPGA boards)
Finished are backends for AMD64,IA32 (because of some demands) at current