Gedule / A-tutorial-compiler-written-in-Java

For Jack language. Most of codes were commented with their usage, which can be useful for beginner to realize the running principle of a compiler for object-oriented programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions:

  1. Download the Java source codes
  2. Store these codes into a local folder and open this folder
  3. Click the right key of mouse and click ‘Open in Terminal’
  4. Input command as ‘javac *.java’ to compiler all Java source codes to get the Java class files
  5. Input command as ‘java Compiler FolderName’ (FolderName indicates the name of folder which contains the Jack source codes)

For the step 5, if user wants to compile the folder which is not in the ‘src’ folder, the entire path of the folder should be added in front of the folder name.

About

For Jack language. Most of codes were commented with their usage, which can be useful for beginner to realize the running principle of a compiler for object-oriented programming language.

License:MIT License


Languages

Language:Java 100.0%