#!/bin/ksh

rm hellopair.exb
rm hellopair.lex.c
rm hellopair.tab.c
rm hellopair.tab.h

bison -d hellopair.y
flex -o hellopair.lex.c hellopair.l
gcc -Wall -o hellopair.exb hellopair.tab.c hellopair.lex.c -lfl

# Following line runs the converter
cat datahellopair.txt | ./hellopair.exb

exit 44
