Skip to content

tejus13/decaff-compiler-tejus13

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

												README

STRUCTURE:

main.cpp- Starting point of the project. Contains the main method.

ast.h- Contains Defintion of all AST Nodes

scanner.l- Defines the lexer class Scanner for tokenizing

Parser.y- Contains grammer of decaf program=

Makefile: Contains the logic to compile and build the binaries.

RUN:

Compile -make run - ./parser

DESCRIPTION:

Tokenization is done in scanner.l All Classes defines in ast.h Parsing File in parser.y

Yet to implement- LLVM code generation.

About

decaff-compiler-tejus13 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Yacc 54.3%
  • Lex 30.5%
  • C++ 14.5%
  • Makefile 0.7%