#assembly #language #hack #input-file #set #nand2-tetris

nightly bin+lib hack_asm

A Nand2Tetris Hack Assembly Language Assembler written in Rust

8 releases (3 stable)

1.0.2 Dec 28, 2023
1.0.1 May 22, 2022
0.3.0-dev May 21, 2022
0.2.0-dev May 14, 2022
0.1.3-dev May 14, 2022

#2 in #hack

Download history 3/week @ 2023-12-25 8/week @ 2024-02-26 1/week @ 2024-03-11 129/week @ 2024-04-01

130 downloads per month

MIT license

28KB
660 lines

hack_asm

A Nand2Tetris Hack Assembly Language Assembler written in Rust

About

For this project, I set out to implement a simple assembler for the Nand2Tetris assembly language. I also practice using Cargo and crates.io, because this is my very first published crate.

Usage

hack_asm <INPUT_FILE>

For a given input.asm this will generate an input.hack file.

Dependencies

~4.5MB
~82K SLoC