Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 545 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 545 Bytes

C compiler

this is a C compiler with rust implementation.

  • [√] Lexer
  • [√] Parser
  • [√] Evaluator(which interpreted the AST like script language, helps to check the grammar correctness when the IR generator unfinished.)
  • [] IR Generator
  • [] Machine code Generator

current support features:

  • simple calculation (add, subtract, multipy, devide)
  • var declaration(simple declaration or declaration with init)
  • var assignment

next things want to do:

  • array support (like C) (without initilization first)
  • condition control

go!!!!!