views:

49

answers:

1

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.

+2  A: 

You mean the documentation? It'd help to know what version of Oracle -- this link covers 9i (v9.2 technically).

OMG Ponies
I think he is referring to the grammar definitions necessary to parse the language.
mikerobi
I had seen that documentation before, but I had never noticed the [PL/SQL Language Elements section](http://download.oracle.com/docs/cd/B10500_01/appdev.920/a96624/13_elems.htm#37784). Although it is not a unified grammar, it certainly provides the components needed for the various elements!
Adam Paynter
For 11g see http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/langelems.htm
Bob Jarvis
@Bob: Thanks for that link!
Adam Paynter