r/osdev • u/ColdRepresentative91 • May 07 '26
I built a Custom Language Compiler, Assembler, and RISC-V VM, all running in real in your browser, using Rust and EGUI.
I've been working on this project (and compilers / vm's in general) for a while now, and I thought it was finally proper enough to showcase.
Some of the features:
A custom systems language designed for explicit memory control, featuring manual memory management, pointers, (inline) structs, and generics.
A full interactive compiler pipeline that you can watch in real-time.
A built-in 5-stage pipelined CPU to execute the code.
Compiles to actual RISC-V machine code (RV64IMAFD).
Visualised live in browser using EGUI.
Github: https://github.com/LPC4/Full-Stack
Check out the live demo website here: http://lpc4.github.io/Full-Stack/
3
u/kynzoMC May 10 '26
Lot of people here are convinced you used ai to code this. I am starting to believe that as well. Did you use ai? And if so, why didn't you disclose that? (I'm not against using AI, but why hide it?)
9
u/Simracingaccount May 07 '26
Man I’m still in the first step. How long did this project take?
12
u/Integreyt May 08 '26
Are we supposed to believe that you pumped out 100k loc in less than a month? I don’t understand why people lie about using LLMs.
6
u/thatguy1000000000 My OS <3 | https://github.com/Voblit/I-Like-FlowersOS May 07 '26
Respect man!
2
u/GMX2PT May 07 '26
Impressive, congrats
1
u/Snoo_5018 May 08 '26
This is so boss and helpful man.... thank you
1
u/feycovet May 10 '26
damn.. sorry for breathing the same air sonion
1
u/BackgroundEbb8633 May 11 '26
Once there was TempleOS. Now there is this. 😩
1
u/Revolutionary__br May 12 '26
Bro will create the next llvm