You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey everyone! After a failed first attempt (#32), I finally managed to reverse-engineer the concrete syntax tree in the Postgres parser. There is only very little manual implementation required with the new approach. I have already copied 30+ examples from the postgres docs and successfully ran the parser on them. To make it more stable, I am challenging everyone to beat the parser and send their most unusual or complex postgres statements. Note that function bodies are not parsed yet and this is only about single statements, not entire files. You can post them here or open a new pr. Note that they will be added as snapshot tests to the repo and should therefore not contain sensitive information.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey everyone! After a failed first attempt (#32), I finally managed to reverse-engineer the concrete syntax tree in the Postgres parser. There is only very little manual implementation required with the new approach. I have already copied 30+ examples from the postgres docs and successfully ran the parser on them. To make it more stable, I am challenging everyone to beat the parser and send their most unusual or complex postgres statements. Note that function bodies are not parsed yet and this is only about single statements, not entire files. You can post them here or open a new pr. Note that they will be added as snapshot tests to the repo and should therefore not contain sensitive information.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions