Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
NonEUCitizen
on May 25, 2023
|
parent
|
context
|
favorite
| on:
SectorC: A C Compiler in 512 bytes
The C Star (C*) language from the selfie project also does not support structs, yet in 12KLOC of code they implemented a C Star compiler that can compile selfie (and outputs ELF files), an emulator that runs RISC-U (RISC-V subset), and a hypervisor.
mhd
on May 25, 2023
[–]
There was also Small-C[1], which initially only did integers, characters and simple arrays. Formed the basis for quite a few derivates.
[1]:
https://en.wikipedia.org/wiki/Small-C
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: