MisterPandaPooh / Compiler

A compiler implemented in SWIFT language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiler

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.

Exercise 0

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.

Exercise 1

Create a translator from vm file to hack file.
The vm file: *.vm
The hack file *.asm

About

A compiler implemented in SWIFT language


Languages

Language:Swift 41.6%Language:Makefile 38.9%Language:HTML 10.6%Language:C 4.5%Language:Assembly 2.7%Language:Scilab 1.8%