An important milestone has been reached!
After putting many many hours of work into the back-end, Erick just showed me that he now has a basic version of fibonacci compiling from the IR. If you're curious to see the code generation source, you can look source/codegen/ir-to-asm-x86.js in the master branch of our repository.
This version currently only supports the minimum number of IR instructions necessary to get fibonacci working. The next steps will be to increase the number of instructions we support so as to make the system more flexible, implement other tests, and prepare for an eventual early "bootstrap". I will be helping Erick with this work.
I should also note that some primitives have been simplified for this version, and that the fibonacci unit test currently does not perform IR lowering (inlining/optimization). If I have time this weekend, I will try enabling IR lowering in this unit test to verify that the back-end supports this, and perhaps try implementing some instructions in there myself.
Have a nice day,
- Maxime