Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 491 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 491 Bytes

OverView

A Small But Complete Compile System : Lexer, Parser, Assembler And Linker

Require

GCC, C++14

Make

  1. Delete intermediate files and executable files : make clean
  2. Generate scanner's test program : make test_scanner
  3. Generate lexer's test program : make test_lexer

Run

  1. test scanner : ./test_scanner
  2. test lexer : ./test_lexer

Reference code

cit : a C-like compile system

ToDo

Parser, Assembler And Linker