From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: Ada and Java/C++
Date: Tue, 28 Aug 2012 23:00:27 +0000 (UTC)
Date: 2012-08-28T23:00:27+00:00 [thread overview]
Message-ID: <k1jiib$tnk$1@dont-email.me> (raw)
In-Reply-To: gcup38ldi4afrt9q2uj70qoe7l2lcn4rk1@invalid.netcom.com
On Tue, 28 Aug 2012 13:09:24 -0400, Dennis Lee Bieber wrote:
> On Tue, 28 Aug 2012 10:50:40 +0000 (UTC), Brian Drummond
> <brian@shapes.demon.co.uk> declaimed the following in comp.lang.ada:
>
>> Changing begin and end to { and } does not change the syntax a jot*,
>> but
>
> But you would also be changing
>
> begin {
> then {
> loop {
(etc) ... you certainly would, as I conceded originally "it would take a
lot of work" if the result was not to mess up badly - including error
reporting, as you say.
> It would make a mess of compiler error reporting when the compiler
> can not identify if a missing "end" is an "end if", "end case", "end
> loop", "end whatever".
However the error report would originate in the compiler - not the
preprocessor - and therefore it would be on the generated Ada (with a
post-processor nod to the original code). It would say
"missing } : end if" or such, and the coder would be responsible for
counting his }}}}s.
I think that would be of benefit, by pointing out how much easier it
would be to write Ada directly!
- Brian
next prev parent reply other threads:[~2012-08-28 23:00 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-27 10:46 Ada and Java/C++ kalvin.news
2012-08-27 11:48 ` Dmitry A. Kazakov
2012-08-27 13:44 ` kalvin.news
2012-08-27 14:33 ` Dmitry A. Kazakov
2012-08-27 15:26 ` J-P. Rosen
2012-08-27 15:46 ` Georg Bauhaus
2012-08-27 16:08 ` kalvin.news
2012-08-27 23:16 ` Randy Brukardt
2012-08-28 2:14 ` Adam Beneschan
2012-08-28 10:50 ` Brian Drummond
2012-08-28 14:22 ` kalvin.news
[not found] ` <gcup38ldi4afrt9q2uj70qoe7l2lcn4rk1@invalid.netcom.com>
2012-08-28 23:00 ` Brian Drummond [this message]
[not found] ` <fouq38tqdp7fh86l2dp2pmr8jfdgi24i7j@invalid.netcom.com>
2012-08-29 10:39 ` Brian Drummond
2012-08-27 14:35 ` Nomen Nescio
2012-08-27 21:23 ` gautier_niouzes
2012-08-27 14:09 ` Niklas Holsti
[not found] ` <al1n38tdd0tq6p1os6p6angt91mginhoup@invalid.netcom.com>
2012-08-27 14:49 ` kalvin.news
2012-08-27 14:53 ` kalvin.news
2012-08-27 19:46 ` Shark8
2012-08-27 20:11 ` gautier_niouzes
2012-08-27 19:41 ` Shark8
2012-08-27 20:06 ` gautier_niouzes
2012-08-28 5:35 ` kalvin.news
2012-08-28 6:57 ` Shark8
2012-08-28 8:28 ` kalvin.news
2012-08-28 10:00 ` Niklas Holsti
2012-08-28 8:31 ` kalvin.news
2012-08-28 9:15 ` Niklas Holsti
2012-08-28 9:54 ` gautier_niouzes
2012-08-28 14:08 ` kalvin.news
2012-08-29 10:52 ` kalvin.news
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox