Skip to content

Front end of a compiler for a C-like language that produces an abstract syntax tree and 3-address intermediate code

License

Notifications You must be signed in to change notification settings

abhishekvijeev/compiler_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler Front End

Components

  1. Lexical Analyzer - Produces a stream of tokens for the parser
  2. Parser (Recursive Descent with backtracking) - Produces an Abstract Syntax Tree
  3. Code Generator - Produces 3 address intermediate code

How To

  1. Enter the C code to be parsed into 'input.c'
  2. Run 'compiler_main.py' with a Python 3 interpreter

About

Front end of a compiler for a C-like language that produces an abstract syntax tree and 3-address intermediate code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published