Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSQL grammar [DOC143] #146

Closed
firebird-automations opened this issue Jan 27, 2020 · 2 comments
Closed

PSQL grammar [DOC143] #146

firebird-automations opened this issue Jan 27, 2020 · 2 comments

Comments

@firebird-automations
Copy link

Submitted by: softhard_at (softhard_at)

I have to create PSQL parser (syntax analyzer) for procedures/functions/triggers bodies.
As input the parser should have a file containing the grammar of Firebird PSQL.
Where can I find the grammar of PSQL in any common standard (e.g. antlr, yacc, bison)?

@firebird-automations
Copy link
Author

Commented by: Kevin Smith (kevinsmith)

It seems to be quite an interesting topic that is also of my interest. Are there any chances you release that information ?

@mrotteveel
Copy link
Member

The grammar of Firebird can be found in https://github.com/FirebirdSQL/firebird/blob/master/src/dsql/parse.y (this combines both PSQL and DSQL)

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

No branches or pull requests

3 participants