Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🥊 Beat the Parser #42

psteinroe started this conversation in General
Discussion options

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!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /