Skip to content

Cheshulko/Nand2Tetris-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nand2Tetris (Rust)

Nand2Tetris cource

Table of Contents

  • Jack language compiler
  • Jack language VM translator. A lightweight Rust-based tool that converts Nand2Tetris-style .vm files into Hack assembly .asm files. It implements a full lexing, parsing, and translation pipeline, and supports both individual files and entire directories in one run. Debug output (tokens, AST) can be optionally enabled for introspection.
  • Hack language assembler. A compact Rust implementation of a Hack assembly → binary translator. It parses .asm files, resolves symbols and labels, and emits .hack (and optional raw .hack.bin) outputs, with debug flags for tokens, AST, and the symbol table.

Acknowledgments & References