Skip to content

zeyadalaa1225/Compilers_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Compiler - Phase I

Files

  • lexer.l: Flex lexical analyzer.
  • parser.y: Bison syntax parser.
  • tests: Sample C++ codes samples to test the grammar.
  • Makefile: Automates the build process.

How to Run

  1. Ensure flex and bison are installed
  2. Compile the project:
    make
  3. Run and Test:
    ./build/compiler < test.cpp
    or
    make test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors