问题
Where can I find an official grammar for the PL/SQL programming language? I see that the Antlr project has a user-contributed grammar, but I was hoping to find a more authoritative source.
回答1:
You mean the documentation? It'd help to know what version of Oracle -- this link covers 9i (v9.2 technically).
回答2:
The official grammar for the PL/SQL can be found at the Chapter 13 of the PL/SQL Language Reference.
回答3:
Also, you can take a look at a community PL/SQL ANTLR grammar in ANTLR grammars repository.
来源:https://stackoverflow.com/questions/3884211/where-can-i-find-an-official-grammar-for-the-pl-sql-programming-language