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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54889de51045a215 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-21 22:00:59 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: 18k11tm001@sneakemail.com (Russ) Newsgroups: comp.lang.ada Subject: Re: += in ada Date: 21 Oct 2003 22:00:58 -0700 Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 63.194.87.148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1066798859 16694 127.0.0.1 (22 Oct 2003 05:00:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 22 Oct 2003 05:00:59 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:1367 Date: 2003-10-21T22:00:58-07:00 List-Id: christoph.grein@eurocopter.com wrote in message news:... > > ... Note > > that MyAda eliminates the semicolons, converts := and => to =, and > > uses == for equality testing (oh, gosh, that'll throw all those > > unwashed C/C++ masses for a loop!). I welcome any other challenges for > > MyAda. Here is the resulting MyAda code: > > > > procedure P is > > > > procedure Russ (X: in Boolean) is begin null; end Russ > ^ > Just curious why it kept this semicolon? It's not at the end of a line, so it needs to stay. Like Fortran and Python, MyAda uses semicolons for separating multiple statements on a line. Hey, it should be clear that MyAda is an experiment. I can't *yet* guarantee that it will work in all cases, but so far it has passed every test. If you have some code that you think can throw it for a loop, by all means send it to me.