Sitelet https://web.archive.org/web/20200903135015/https://github.com/truongpt/meo
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.

README.md

Meo subset c compiler

Let's start

Design

Implementation

  • First step: only supporting X86-64 + pass 2 (lexical analyzer, parser, code generation).
  • Using back end of GCC to generate executed code.
  • Using TDD with catch2.
  • Using Google coding convention.

Todo list

  • Run basic math operator +,-,*,/ on X86_64 GNU/Linux -> v0.1
  • Compile clgt.c
  • Support IF statements -> Can compile if_stmt.c
  • Support WHILE statements. -> Can compile while_stmt.c
  • Support FOR statements. -> Can compile for_stmt.c
  • Support function & function call.
  • Global variable & local variable.
  • Structure type.
  • Full operator (&& & || | ^ !).
  • Self compile.
You can’t perform that action at this time.