Compiler Design PPT Final
Compiler Design PPT Final
?
A A A
Conflict Resolution
Thumb Rule:
r e g e t n i keyword
"<=" { return(LESSEQ
); }
She s++; She { s++; REJECT; }
he h++; he { h++; }
\n ; \n ;
. ; . ;
THANK YOU
References:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxa600/bpxa683.htm
http://dinosaur.compilertools.net/lex/