Lurker News
I am proud to present my solo hobby project NAND. This year-long undertaking follows the completed Nand to Tetris course, but ported to the web with its own runtime, user interface, and IDE. Using the "Load example program" selector, you can try out some programs I wrote on NAND's emulated hardware such as 2048, a genetic algorithm, and a manual stack overflow to corrupt the screen.

Check out NAND at https://nand.arhan.sh
Additionally, I've authored an extensive writeup about the project. Read about it on the GitHub repository's readme.

Comments (73) 26 threads

rpmw1 reply#
Wow that is a great side-project, and a great README to boot. I've been meaning on working through Nand to Tetris after playing around some with Ben Eater's 6502 Computer (https://eater.net/)
laweijfmvo4 replies#
Would it be at all feasible to build a physical NAND-to-tetris computer? Or is it purely a virtual exercise?
dailykoder#
Probably doable, but takes a lot of dedication. Especially debugging such physical endeavors is crazy
ArchAndStarch#
A few nand2tetris fanatics have actually done this! And by a few, I mean quite a lot of people. Here's one such hardware project of nand2tetris: https://gitlab.com/x653/nand2tetris-fpga/

But you can Google "nand2tetris fpga" for more.

dhosek2 replies#
I kind of want something midway between the FPGA version and the all-transistor version, something that just uses 7400 series chips (or, presumably there’s a 26-pin equivalent with 6 gates instead of three). Heck, I think even something that goes ahead and uses the full panoply of basic logic chips available could be kind of cool to see.

Continue this thread — 2 replies

djmips#
A friend and myself made a working one in FPGA for a game jam. He did the hardware and I wrote a game in the Jack language.

It displayed on a VGA monitor.

kristopolous1 reply#
I could make a few college classes out of this. Well done material.
djmips1 reply#
Isn't this just Nand2Tetris? I've done that course and at a glance this looks the same including the Jack language.
kristopolous#
Yes
farhanhubble#
Great work! You have seen the levels of abstraction that most programmers won't throughout their careers.
2OEH8eoCRo01 reply#
Fantastic work. NAND to Tetris helped me land my first job out of college.
SilasX1 reply#
How did it help?
2OEH8eoCRo0#
Resume padding and conversation starter during interviews. It also filled in some gaps in knowledge.

Load more comments