Structure of
Yacc
Source Program
/*
Section I:
Declaration */
d
1
,d
2
, … ,d
i
%%
/* End of Section I*/
/*
Section II:
Translation rules */
r
1
,r
2
, … ,r
j
%%
/* End of Section II*/
/*
Section III:
Auxiliary procedures*/
p
1
,p
2
, … ,p
k
64/69