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.4 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT,URI_TRY_3LD autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,6611a8a4679f925a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-30 09:35:47 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!demon!btnet-peer0!btnet!ctb-nntp1.saix.net!not-for-mail From: "D De Villiers" <~ddevilliers999@lando.co.za> Newsgroups: comp.lang.ada Subject: Re: P2Ada (v.22-Dec-2002) Date: Sun, 29 Dec 2002 13:24:10 +0200 Organization: The South African Internet Exchange Message-ID: References: NNTP-Posting-Host: woc53-01-p115.wc.saix.net X-Trace: ctb-nnrp2.saix.net 1041269728 17644 155.239.129.115 (30 Dec 2002 17:35:28 GMT) X-Complaints-To: abuse@saix.net NNTP-Posting-Date: 30 Dec 2002 17:35:28 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Xref: archiver1.google.com comp.lang.ada:32391 Date: 2002-12-30T17:35:28+00:00 List-Id: What about a tool that goes the other why around ? Ada to Pascal ? Kind Regards, Lennie De Villiers EMail: ddevilliers@lando.co.za Web: www.lando.co.za/Lennie CV/Resume: www.lando.co.za/Lennie/CV.htm "Deliver yesterday, code today, think tomorrow. " - Programming Humor --- Original Message -- > Hello. Recently G. A. Craig Carey (mostly) and I reworked P2Ada, a > command-line Pascal to Ada translator. > > P2Ada is now able to translate large sources. Depending on > the sources, the pre-work needed to have a successful translation and > the rework after translation have been significantly reduced. > > URL: http://www.mysunrise.ch/users/gdm/gsoft.htm#p2ada > > Two recent "success stories": > - porting of MAS (Modula-2 Algebra System, 73 kSlocs) > by using Mod2P and P2Ada > - porting of the Numerical Recipes in Pascal. > > Bugs fixed: a lot! > > Some of the new features: > > - Support for Sqr, Odd, Eof, Eoln, Read, ReadLn, Ord, Chr (standard Pascal) > and type Double > - For Borland integers, a transitional package is provided. > - Turbo Pascal 7's CONST parameters translated. > - Set expressions better translated (in form of array of Boolean). > - A procedure Dispose is created for each access type. > - For variables of a structured type, P2Ada creates an ad-hoc type for them. > - Option to translate a "var" parameter by "var" instead > of "in out": it is wrong but caught by the Ada compiler for the rework. > - Name of procedures and functions put after "end". > - Smarter recognition of variables (array elements, record fields,...) > - Bigger buffers for translating large sources. > - Added casing of Ada keywords (upper/lower/neutral). > > Enjoy! > ________________________________________________________ > Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm > > NB: Pour une r�ponse directe, adresse e-mail sur le site ouaibe! > > > > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 3 months FREE*. > http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&S U= > http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminatevi ruses_3mf >