Appendix B -- Lex and Yacc
Part 2 -- Yacc
Example 1
lltest.l
(text)
(ps)
(pdf)
yytest.y
(text)
(ps)
(pdf)
testmake
(text)
(ps)
(pdf)
y.output
(text)
(ps)
(pdf)
y.tab.h
(text)
(ps)
(pdf)
Example 2
main.c
(text)
(ps)
(pdf)
lex.two
(text)
(ps)
(pdf)
trans.y
(text)
(ps)
(pdf)
y.output
(text)
(ps)
(pdf)
y.tab.c
(text)
(ps)
(pdf)
y.tab.h
(text)
(ps)
(pdf)
Makefile
(text)
Example 3
main.c
(text)
lex-two
(text)
yacc-two.y
(text)
Makefile
(text)
make.out
(text)
fredh@cs.unr.edu