Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jack Compiler

Overview

This repository contains an implementation of a Jack Compiler, which translates Jack source code into VM (Virtual Machine) code. Jack is a simple, high-level programming language used in the Nand2Tetris course and project. This program creates two output files for a supplied .jack file, a .vm(Virtual Machine code) and a .xml file which is the abstract-syntax tree of the program.

Features

  • Lexical Analysis: Tokenizes Jack source code.
  • Syntax Analysis: Parses Jack code based on its grammar.
  • Code Generation: Converts parsed code into VM commands.
  • Error Handling: Detects syntax errors and invalid tokens.
  • Modular Design: Components are structured for readability and maintainability.

References

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages