wangjs96 / 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.
MIT License
1.12k stars 192 forks source link

How to run project? #2

Open lyzhang30 opened 1 year ago

lyzhang30 commented 1 year ago

I donn't understand the step 5, what's jack? and when I look the source code. what's .jack file? Can you explain it more clearly? Thank you so much.

`

  1. 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. `

wangjs96 commented 1 year ago

Hi,

Thanks for your questions. Jack programming language is a kind of tutorial object-oriented programming language. I have already uploaded several samples with documentation for Jack programming language. After generating the .vm files, you can download virtual machine from www.nand2tetris.org to run the machine codes. Feel free to post any issue if you need any other helps.