bp isn't managed by the allocator precisely to make bp available for local variables.
It's less complete in terms of the language and needs less memory. smlrc.c runs in 96KB of RAM on a PIC32 MIPS microcontroller.
Going 64-bit is quite a bit of work: - additional 64-bit types will need additional code for type checks and conversions, switch, etc - new or improved code generator is needed (ideally, 64-bit non-pointer types should…
Yeah, a fifth name appears in the macos branch. :) Not sure if github will show the name when macos is merged into master. I wanted something small and easily self-hosting. A compiler on a floppy (as in old times). I…
If you haven't used flex & bison and you're writing your first compiler, you need to learn them and still take care of the things they don't do for you out of the box (they don't know C and the context of the input).…
bp isn't managed by the allocator precisely to make bp available for local variables.
It's less complete in terms of the language and needs less memory. smlrc.c runs in 96KB of RAM on a PIC32 MIPS microcontroller.
Going 64-bit is quite a bit of work: - additional 64-bit types will need additional code for type checks and conversions, switch, etc - new or improved code generator is needed (ideally, 64-bit non-pointer types should…
Yeah, a fifth name appears in the macos branch. :) Not sure if github will show the name when macos is merged into master. I wanted something small and easily self-hosting. A compiler on a floppy (as in old times). I…
If you haven't used flex & bison and you're writing your first compiler, you need to learn them and still take care of the things they don't do for you out of the box (they don't know C and the context of the input).…