Skip to content

Implementation of the Jack virtual machine described in Nand2Tetris

Notifications You must be signed in to change notification settings

TiagoMaiaL/jack-vm-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jack-vm-swift

Swift implementation of the Jack virtual machine described in Nand2Tetris

TODOS:

Part 1

  • Add swift-argument-parser
  • Add component to read the contents of a .vm file
  • Define command types to be parsed
  • Add component to parse the contents of a .vm file
  • Translate arithmetic commands into hack asm
  • Translate memory commands into hack asm
  • Add component to write asm output file
  • Test with basic vm files

Part 2

  • Define program flow & function calling commands
  • Parse program flow & function calling commands
  • Translate program flow & function calling commands
  • Read all .vm files in a directory and translate them into a single hack asm
  • Test with course resources for project 8

About

Implementation of the Jack virtual machine described in Nand2Tetris

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages