I am looking for a lightweight and simple SQL-99 parser in Bison + Flex (parser + lexer).
I found this BNF grammar -> http://savage.net.au/SQL/ , but the lexer is not included. I would use the PostgreSQL.y el files (in src/backend/parserfor the distribution), but for my purpose this seems too complicated.
I don't need semantic actions, just the grammar of YACC (.y) and Flex lexer (.l).
source
share