Did you ever try to work through Jack Crenshaw's "Let's build a compiler"? Remember the early point where you add a line of code and "CONGRATULATIONS! You have just written a working compiler!"?

Well, I just ported that one line (and the page of helpers backing it) to my own assembly lang, and it only took me 2 months to do it πŸ˜‚

In my defense:

a) It's *thoroughly* unit-tested asm, and
b) I had to rethink the design of a couple of OS syscalls to make them testable.

Β· Web Β· 1 Β· 1 Β· 3

@akkartik That's fantastic! Congratulations! What were the syscall changes you needed?

@kragen Thanks! I did a quick description at So far I've only needed to think about `read()`, `write()` and `exit()`.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!