yacc -v y3
y.output
Sample data:
If a.out is your executable, you can use redirection of standard input:
 
a.out < data1
This gets input from the file   data1   instead of
standard input.
     
Sample infix expressions:
sample data1
   
sample data2
Stuff for your
practice lab:
     
Simple makefile example (one used with your own main):
simple makefile
     
Copy of y3 to use for lab practice:  
hw file
     
Sample main for use with yacc:  
main.cpp
     
Sample data from the lab:  
sampledata file
     
Data to run your lab with:  
hwdata file