4 ms·
I'm working on a POSIX-ish OS in Brainfuck. I'm working on it because brainfuck is awesome and writing a kernel in it is even moar awesome. I'm currently tryin
by kunai 13y ago
I'm working on a POSIX-ish OS in Brainfuck.
I'm working on it because brainfuck is awesome and writing a kernel in it is even moar awesome. I'm currently trying to figure out how to port several basic GNU coreutils to the system.
The kernel boots and hangs in QEMU. That's good for now; at least it boots. Now, the important thing is actually getting it to run bash, and a few basic coreutils, specifically cat, mkdir, echo, ls, and cd.
Once it's done, I'm pushing to github (commented extensively, of course ;)
- pholes 13y agoI had a fun little project with brainfuck, wrote a rather slow interpreter in it. Was implementing BF natively in ruby before I was caught up with other projects.. Would love to have your project implemented!! https://github.com/Pholey/BrainRuck https://github.com/Pholey/BrainRuck
- AsmMAn 13y agoWhat compiler are you using? and will this be open source?
- kunai 13y agoI wrote my own in C++. It's intermediary, so it first translates BF code to C and then uses gcc to compile the intermediary C code. I'm working on getting it to compile straight to assembly. Yeah, yeah, I could have used https://github.com/ahorn/bf-compiler/blob/master/bfc.c https://github.com/ahorn/bf-compiler/blob/master/bfc.c, but eh, what the hell. It's supposed to be a hobby project.