Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 660 Bytes

README.md

File metadata and controls

25 lines (23 loc) · 660 Bytes

NCTU-Compiler-2018

Goal

  • Implement a simple C- compiler, which can compiler C- source code to JVM bytecode.

Content

  • project 1: Lexical Definition
  • project 2: Syntactic Definitions
  • project 3: Symbol Table Construction
  • project 4: Semantic Definition
  • project 5: Code Generation

Implemented Feature

  • project 1: Lexical Definition
    • Tokenizer based on Lex
  • project 2: Syntactic Definitions
    • Grammar Parser based on Yacc
  • project 3: Symbol Table Construction
    • Maintain Symbol Table
  • project 4: Semantic Definition
    • Semantic Check
  • project 5: Code Generation
    • Generated JAVA bytecode

Tools

  • Lex
  • Yacc