Skip to content

Lex and yacc program for intermediate code generation for if-else statement constructs

Notifications You must be signed in to change notification settings

nishanthtgwda/Compiler-Design---Intermediate-code-generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INTERMEDIATE CODE GENERATION FOR IF ELSE CONSTRUCT

The main objective of the project is to generate the intermediate code for the given IF-ELSE Statement. It consists of four main sections , the conditional section inside the IF statement , the THEN part of the statement which the code enters if the given IF condition is true , the ELSE part of the statement which the code enters if the given IF condition is false , and the statements after the ELSE construct which is evaluated after either the IF or ELSE part.

Commands to be followed 

lex intif.l
yacc -d intif1.y
cc y.tab.c -ll -ly
./a.out

All the codes and text used here are the copyright of the developers mentioned. Any unauthorized usage without prior notice shall be liable to prosecution *All Rights Reserved*


About

Lex and yacc program for intermediate code generation for if-else statement constructs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published