r/osdev • u/paulkim001 • 1d ago
Basic OS, but with my own compiler
After creating a compiler for my own custom programming language, I decided that it is only natural to try creating an operating system out of it! (The image here is from my work in `dev` branch.)
Note that I am still using i686-elf-gcc as a linker, since linker is an awful thing to make for myself :(
Github - Penux (Operating System)
Github - PP (The PP language compiler)
28
Upvotes


2
u/dekai-onigiri 1d ago
Very nice, it's similar to my project as I'm also making a programming language - operating system pair:
https://github.com/rafalgrodzinski/bits-runner-builder
https://github.com/rafalgrodzinski/bits-runner
Don't fall into a hole of rewriting C, because looking at your demos it looks pretty much like C. Try being creative, the point of making a language is that you can have cool new functionality.
1
u/SignedInt32 1d ago
Good job my man π β
β’
u/tahvoD 23h ago
Nice work. Nothing like developing your own everything π
β’
u/Comfortable_Log_461 19h ago
Nice work man! Building your own compiler and your own OS? Thatβs a hard work out there!
β’
u/trannus_aran 15h ago
I wish I could filter this sub for just posts like this: people making their own lil projects, by hand, thinking about each step at least some amount
Nice work OP :)