Skip to content

The project includes a lexer, a parser and a three-address-code (quadruples) generator. The lexer scans a C source file and produces token output, which is then fed to the recursive descent parser which generates a parse tree. Translations for the parse tree are defined in the TAC generator which then displays quardruples code in the terminal.

Notifications You must be signed in to change notification settings

wakskevin/compiler-for-a-c-mini-grammar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 

About

The project includes a lexer, a parser and a three-address-code (quadruples) generator. The lexer scans a C source file and produces token output, which is then fed to the recursive descent parser which generates a parse tree. Translations for the parse tree are defined in the TAC generator which then displays quardruples code in the terminal.

Topics

Stars

Watchers

Forks

Packages

No packages published

Languages