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=3.8 required=5.0 tests=BAYES_20,CTE_8BIT_MISMATCH, FREEMAIL_FROM,HELO_NO_DOMAIN,MAILING_LIST_MULTI, PP_MIME_FAKE_ASCII_TEXT,RDNS_NONE,REPLYTO_WITHOUT_TO_CC, SPOOFED_FREEMAIL_NO_RDNS,URI_TRY_3LD autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,6611a8a4679f925a,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-22 09:00:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!teaser.fr!enst.fr!not-for-mail From: "Gautier direct_replies_not_read" Newsgroups: comp.lang.ada Subject: Ann: P2Ada (v.22-Dec-2002) Date: Sun, 22 Dec 2002 16:59:00 +0000 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: avanie.enst.fr 1040576404 86641 137.194.161.2 (22 Dec 2002 17:00:04 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 22 Dec 2002 17:00:04 +0000 (UTC) Return-Path: X-Originating-IP: [80.218.94.57] X-OriginalArrivalTime: 22 Dec 2002 16:59:00.0418 (UTC) FILETIME=[6C912A20:01C2A9DB] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:32199 Date: 2002-12-22T16:59:00+00:00 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&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminateviruses_3mf