smallhadroncollider / nand-to-tetris

Haskell implementation of Nand-to-Tetris

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nand-to-tetris

Working through From Nand to Tetris using Haskell.

A Note on Style

The primary goal of this project is not to write elegant Haskell, but to write code that matches the internal wiring of the chips. All files in the src directory are written with this goal in mind. Some of them are horrifying 🙀

The files in test, app and io are helper modules. Hopefully these are a little more elegant.

Why?

I never took Computer Science, so I thought this would be a good opportunity to get to grips with some of the core ideas.

Why Haskell?

Mostly just because it's my favourite language at the moment. But it's also nice that it's possible to turn off the "Prelude", which strips out all of the built in functionality. This makes it much easier to make sure I can't cheat.

About

Haskell implementation of Nand-to-Tetris

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%