Drifter1 Compiler Save

Implementing a complete Compiler for a simple C-like language using the C-tools Flex and Bison

Project README

compiler

Compiler Design Steps

A short Description of this repository:
It contains all the Code from my "Writing a simple Compiler on my own" series on Steemit (step by step / article by article), where I am implementing a complete Compiler for a simple C-like Language using the C-tools Flex and Bison and self-written Custom Structures and Code.

Articles

It's worth noting that not all articles contain actual Code. Compiler design in general is mostly about understanding how everything needs to work. After understanding the basic principle, the implementation is much easier, which is why some articles are more or less 90% theory!

Until now we covered the following...

General Knowledge and Lexical Analysis

Syntax Analysis

Semantic Analysis (1)

Intermediate Code Generation (AST)

Semantic Analysis (2)

Machine Code Generation

Next Up

What remains now is:

  • Machine Code generation in MIPS Assembly (remaining cases)
  • Various Optimizations in the Compiler's Code

After doing all that we could also get into Optimizations, Extensions and even more if you like :)

Open Source Agenda is not affiliated with "Drifter1 Compiler" Project. README Source: drifter1/compiler

Open Source Agenda Badge

Open Source Agenda Rating