/Compiler-Course

The algorihtm of Compiler.Including lexical analysis,syntax analysis and so on.

Primary LanguageC

Compiler Principles

  • Lexical Analysis
    • Regex to NFA
    • NFA to DFA
    • DFA to MinimumDFA
    • Calculator based on Lex
  • Syntax Analysis
    • Remove Left Recursive
    • First
    • Follow
    • Calculator based on Recursive Descent
    • Calculator based on Operator Priority
    • Reverse Polish Expression based on Bison and Lex
    • Infix Expression based on Bison and Lex