r/osdev • • 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

11 comments sorted by

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.

2

u/paulkim001 1d ago

Whoa it seems your projects seem very polished! How long did it take to do all this, if I may ask??

→ More replies (1)

1

u/SignedInt32 1d ago

Good job my man πŸ‘ ⭐

2

u/paulkim001 1d ago

Thank you!!

β€’

u/tahvoD 23h ago

Nice work. Nothing like developing your own everything πŸ‘

β€’

u/paulkim001 22h ago

Cannot trust anything except for things you make nowadays!

β€’

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/paulkim001 12h ago

Thanks!!

β€’

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 :)

β€’

u/paulkim001 12h ago

Thank you very much!