From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f2f8486e088bedb X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!cleanfeed3-b.proxad.net!nnrp8-2.free.fr!not-for-mail Date: Thu, 18 Dec 2008 10:36:59 -0800 From: patrick boulay User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.18) Gecko/20081031 SeaMonkey/1.1.13 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: DIANA References: <4949e3a4$0$19834$426a74cc@news.free.fr> <494A312B.2000004@free.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <494a9845$0$14756$426a34cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 18 Dec 2008 19:36:53 MET NNTP-Posting-Host: 78.226.241.1 X-Trace: 1229625413 news-4.free.fr 14756 78.226.241.1:49994 X-Complaints-To: abuse@proxad.net Xref: g2news1.google.com comp.lang.ada:3042 Date: 2008-12-18T19:36:53+01:00 List-Id: Ira Baxter wrote: > "patrick boulay" wrote in message > news:494A312B.2000004@free.fr... >> Jean-Pierre Rosen wrote: >>> patrick boulay a �crit : >>>> Hi, >>>> I am looking for a reference on the DIANA ... >>>> patrick >>> Diana was an attempt to standardize the intermediate tree of Ada >>> compilers, ... >>> >>> What kind of application do you have in mind? >>> >> PL/SQL reverse engineering > > DIANA simply won't work for that. It is very specific to Ada. > > If you want to work on PL/SQL, you need working parsers and ASTs for PL/SQL. > > I think you can use ANTLR to parse and build trees, but after that, you're > completely > on your own. Fair warning: I have no specific experience with ANTLR than > being a serious > student of the technology they use. > See www.antlr.org. > > You can use our DMS to parse and build ASTs for PL/SQL. DMS provides > all kinds of additional facilities, such as symbol table building, support > for extracting and building control and data flow graphs, iterative data > flow > equuation solvers, point-to analyzers, source-level pattern specificaitons, > rewrite rules written in source notation, and regeneration of compilable > text > from ASTs via prettyprinting. DMS handles other langauges such > as C, C++, Java, COBOL, and well, Ada to some extent. > See the website, below. > > thank you for all these insights Patrick