Sunday, March 20, 2011

Where can I find an official grammar for the PL/SQL programming language?

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.

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

    mikerobi : I think he is referring to the grammar definitions necessary to parse the language.
    Adam Paynter : 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!
    Bob Jarvis : For 11g see http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/langelems.htm
    Adam Paynter : @Bob: Thanks for that link!

0 comments:

Post a Comment