PDF Text Extractor based on Bison and Flex