On 31-01-16 15:21, stepharo wrote:
The main problem is that there is no PS/SQL BNF
available.
No BNF, but there are the bison rules:
https://github.com/postgres/postgres/blob/master/src/backend/parser/gram.y
I found a SQL92 but nothing else.
I found a lexer in antlr but nothing else.
Indeed, a common problem. The main RDBMS vendors agreed on the SQL 92
standard and then didn't implement it, to keep their customers locked
in. At least for PostgreSQL we can take a look at the source...
Stephan