An open API service indexing awesome lists of open source software.

https://github.com/agentcooper/hack-assembler

For nand2tetris book
https://github.com/agentcooper/hack-assembler

nand2tetris

Last synced: 9 months ago
JSON representation

For nand2tetris book

Awesome Lists containing this project

README

          

# hack-assembler

Assembler for the Hack language from [The Elements of Computing Systems](https://mitpress.mit.edu/books/elements-computing-systems) written in Rust.

Inside `./examples`:

- `*.asm` files are copied from `nand2tetris/projects/06`
- `*.hack` files are generated with `nand2tetris/projects/Assembler`

`nand2tetris` software can be found on https://www.nand2tetris.org/software.

## Run

```
cargo run ./example/add.asm
```

## Test

```
cargo test
```