A compiler implemented in SWIFT language
The final objective of this project is to build a compiler for:
- the high level language JACK
- the assembly language HACK
See also the website: http://www.nand2tetris.org.
During the project we will also learn to program in Swift.
In the document Swift_basics.md we will report everything we learned.
Learn to read/write from/in a file.
Use the functionnality of the FileManager.default.
Develop a class for read and write in a file in a simply way.
Create a translator from vm file to hack file.
The vm file: *.vm
The hack file *.asm