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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c89a4b067758a6e1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.germany.com!newsfeed-0.progon.net!progon.net!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Is it really Ok to assert that the Ada syntax is a context-free grammar ? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <4a448c5c-a4ed-446f-bb8b-67c5ba99927a@f47g2000hsd.googlegroups.com> <47bbfb5b$1@news.post.ch> <37b7e369-01c8-4adf-8d1e-c40fa7e51cea@f47g2000hsd.googlegroups.com> Date: Wed, 20 Feb 2008 12:13:58 +0100 Message-ID: NNTP-Posting-Date: 20 Feb 2008 12:13:58 CET NNTP-Posting-Host: b5b5d157.newsspool2.arcor-online.net X-Trace: DXC=X_>@F?7 On Wed, 20 Feb 2008 02:34:34 -0800 (PST), Ludovic Brenta wrote: > Martin Krischik wrote: >> Jeffrey R. Carter schrieb: >>> X (Y) cannot represent a type cast because Ada does not have anything >>> called "type cast". >> >> Not quite, if you consider "type cast" is a unchecked bit pattern copy - >> so if you define: > > Jeffrey is correct; it is not a "type cast", it is a "type conversion" > and there is no such thing as "Ada.Unchecked_Cast". ARM 13.7.2. (Well, it says that an implementation may place some restrictions on it, but it is not required to do so.) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de