Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 510 Bytes

README.md

File metadata and controls

14 lines (14 loc) · 510 Bytes

Compiler

Description

This is a simple programming language that describes the compiler phases. The language has only declaration statement, assign statement and if conditions. The output machine code is for SIC machine.

Compiler Phases included

  • Lexical Analyser
  • Parser
  • Intermediate Code Generation
  • Code Optimizer
  • Code Generation

How to use

  1. Write the source code in res/source code
  2. The output machine code stored in res/machine code
  3. The compilation steps shown in run window