Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 516 Bytes

README.md

File metadata and controls

27 lines (25 loc) · 516 Bytes

Compiler

C-minus language compiler with python

Compiler structure


      (C-minus code)
            ↓
| -----------------------|
|         Scanner        |
| -----------------------|
            ↓
         (tokens)
            ↓
| -----------------------|
|         Parser         |
| -----------------------|
            ↓
      (syntax tree)
            ↓
| -----------------------|
|         CodeGen        |
| -----------------------|
            ↓
      (assembly code)
            ↓