Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 609 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 609 Bytes

FoobarCompiler

Innopolis University Fall20 Complier Construction course project

  • Parsing Tree Structure :

Can be found here except that Variable class inherits from Type (changed it while doing semantics)

  • Requirements

    1. Visual Studio
    2. Bison 3.2 or newer
    3. C++17
  • How to run:

    1. Open VS folder

    2. To generate parser.tab.cpp and parser.tab.hpp, run the command :

    bison -d parser.ypp
    
    1. Open VS, build and run the solution.

    2. Parsed example will be printed to stdout.