/Compiler

easy compiler

Primary LanguageC++

Compiler

This repo refers some code in "Compilers (Principles, Techniques, and Tools)"

easy compiler

The 1st completed compiler in this book. I rebuild it by C++ because I am also learning C++ now.

  • Left Recursive decline
  • Grammar guidance
Usage:
    a + b;
    1 * 2 + 3;
    2 * (3 + b);
    a div b mod c;
    ...

It's very interesting ahhhhh.