You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the amount of needed code seems to be roughly 2 KLOC judging by the removal of a backend: 2a18041
now divide that linecount by your average LOC/h and you know how much work it will be.
If you're OK with everything (int, float, pointer/address) being 32-bit and smaller (16-bit and 8-bit for smaller integer types) and your architecture is sufficiently regular, it should be relatively straightforward. Look at that removed code generator mentioned above or the MIPS32 code generator (they're similar to one another). Supporting 64-bit types with the current design/implementation of SmallerC is quite hard.
I have been looking for a small c compiler to hack a backend into for my bytecode virtual machine and so far most are not approachable at all..
The text was updated successfully, but these errors were encountered: