cksystemsteaching/selfie
View on GitHub ↗ ★ 2,534 Jupyter Notebook
An educational software system of a tiny self-compiling C compiler, a tiny self-executing RISC-V emulator, and a tiny self-hosting RISC-V hypervisor.
11 mentions on Hacker News by 8 people: 2 stories, 9 comments · first 2020-02-27 · latest 2024-01-06
20082026
-
See also https://github.com/cksystemsteaching/selfie
comment by sitkack · 2024-01-06 · in A tiny hand crafted CPU emulator, C compiler, and Operating System -
this sort of exists at https://github.com/cksystemsteaching/selfie ( http://selfie.cs.uni-salzburg.at/ ) > Selfie is a self-contained 64-bit, 12KLOC C implementation of: (...) a tiny (...) subset of C called C Star (C*) (...) to a tiny…
comment by kragen · 2024-01-05 · in Project Oberon: Design of an operating system, a compiler, and a computer [pdf] -
…to compile itself, it seems they've restricted the used grammar to the subset supported by C*. [1]: https://github.com/cksystemsteaching/selfie/blob/50b5fec8378...
comment by jay-barronville · 2023-01-16 · in Selfie – A tiny RISC-V C compiler, emulator and hypervisor -
…for clarity and verbosity's sake (remember that this is built for educational purposes). [1]: https://github.com/cksystemsteaching/selfie/blob/5de675a0f08...
comment by jay-barronville · 2023-01-16 · in Selfie – A tiny RISC-V C compiler, emulator and hypervisor -
…meaning to learn more about compiler backend development. I usually spend time on the frontend. [1] https://github.com/cksystemsteaching/selfie
comment by boberoni · 2023-01-16 · in Selfie – A tiny RISC-V C compiler, emulator and hypervisor -
…of the kernel. I was a bit skeptical reading that, but I’m very impressed right now [2] . . . [1]: https://github.com/cksystemsteaching/selfie/blob/5de675a0f08... [2]: https://github.com/cksystemsteaching/selfie/blob/5de675a0f08...
comment by jay-barronville · 2023-01-16 · in Selfie – A tiny RISC-V C compiler, emulator and hypervisor -
Maybe this is interesting to you as well? https://github.com/cksystemsteaching/selfie
comment by read_if_gay_ · 2021-02-09 · in Compiler Class -
…Might be the same next spring/summer. You’d have to check the professor’s Twitter account. [0]: https://github.com/cksystemsteaching/selfie [1]: https://vimeopro.com/user12798068/university-of-salzburg-int...
comment by read_if_gay_ · 2020-08-30 · in Essentials of Programming Languages -
…subset of C modulo some small semantical differences that are relevant for bootstrapping, see https://github.com/cksystemsteaching/selfie/blob/master/sema...
comment by christophkirsch · 2020-02-27 · in Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor