4 ms·
For another cool .y (YACC) and .l (Flex) setup, check out what Postgres uses to parse SQL queries: https://github.com/postgres/postgres/blob/master/src/backend
by git-pull 9y ago
For another cool .y (YACC) and .l (Flex) setup, check out what Postgres uses to parse SQL queries:
https://github.com/postgres/postgres/blob/master/src/backend/parser/gram.y https://github.com/postgres/postgres/blob/master/src/backend...
https://github.com/postgres/postgres/blob/master/src/backend/parser/scan.l https://github.com/postgres/postgres/blob/master/src/backend...
Link to all files / README: https://github.com/postgres/postgres/tree/master/src/backend/parser https://github.com/postgres/postgres/tree/master/src/backend...