Skip to content

Compiler Design lab experiments using C, YACC and LEX tool.

Notifications You must be signed in to change notification settings

shreyas-sriram/compiler-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compiler-design

Compiler Design lab experiments using C, YACC and LEX tool.

Contents:

Ex1 - C program to implement lexical analyser for C code

Ex2 - Lex code to identify keywords, functions, special characters, identifiers, constants and comments in C code

Ex3 - Lex code to build a Symbol Table for C code

Ex4 - Lex and Yacc to implement a simple calculator with associativity and precedence

Ex5 - A simple syntax checker for C code using Lex and Yacc

Ex6 - Implementation of abstract syntax for arithmetic opeartions using Lex and Yacc

Ex7 - Type checking and type conversion for arithmetic expression using syntax directed translation in Yacc

Ex11 - Control and dataflow analysis

About

Compiler Design lab experiments using C, YACC and LEX tool.

Topics

Resources

Stars

Watchers

Forks

Languages