Professional Documents
Culture Documents
LPCC Assignment2
LPCC Assignment2
Title: Write a program to evaluate an arithmetic expression, check in built-in function and
valid variables using YACC specification.
Code:
%{
%}
%%
%%
int yywrap() {
return 1;
}
yylex();
}
Output: