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.
views:
49answers:
1
+2
A:
You mean the documentation? It'd help to know what version of Oracle -- this link covers 9i (v9.2 technically).
OMG Ponies
2010-10-07 17:36:15
I think he is referring to the grammar definitions necessary to parse the language.
mikerobi
2010-10-07 17:40:12
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
2010-10-07 17:40:54
For 11g see http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/langelems.htm
Bob Jarvis
2010-10-07 17:50:20
@Bob: Thanks for that link!
Adam Paynter
2010-10-07 17:52:31