A SQL parser based on code in Chapter 4 of the book Flex & Bison