Skip to content

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

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

 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%