I have spent the last two weeks slamming away at my keyboard to produce this, a small C compiler suitable for on-calc C compiling.
Github Repo
The compiler is structurally based on c4 by Robert Swierczek, but completely rewritten by myself. Almost 4000 lines of code, can compile a variety of ANSI C syntax, and compiles for Desktop, TIOS, and BOS.
This has taken way too long, and it's still not nearly done. I have yet to implement structs. However, it supports standard atomic types for char, word, int (24-bit), and long. (32-bit)
I might implement floats at some point.
Currently, the only way to write source code that BCC can compile on calc is via CEdit, though BCC will compile any appvar containing just plain text source code.
I should probably make this work with programs too, stay tuned for that.
Github Repo
The compiler is structurally based on c4 by Robert Swierczek, but completely rewritten by myself. Almost 4000 lines of code, can compile a variety of ANSI C syntax, and compiles for Desktop, TIOS, and BOS.
This has taken way too long, and it's still not nearly done. I have yet to implement structs. However, it supports standard atomic types for char, word, int (24-bit), and long. (32-bit)
I might implement floats at some point.
Currently, the only way to write source code that BCC can compile on calc is via CEdit, though BCC will compile any appvar containing just plain text source code.
I should probably make this work with programs too, stay tuned for that.