comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Augusta: An open source Ada 2012 compiler (someday?)
Date: Thu, 27 Mar 2014 22:51:21 +0100
Date: 2014-03-27T22:51:21+01:00	[thread overview]
Message-ID: <bpjkqqF9n4fU1@mid.individual.net> (raw)
In-Reply-To: <89a0ea84-83e2-4693-b2ea-ea9da65bbc73@googlegroups.com>

On 14-03-27 21:38 , Lucretia wrote:
> On Thursday, 27 March 2014 20:02:56 UTC, Simon Clubley  wrote:
> 
>> [*] To bring this back on topic, why does something which looks like
>> Ada have to be called Ada ? Call it something else and get people
>> using Ada without realising it. :-)
> 
> I've already mentioned doing this on #Ada, a fork of Ada.
> Take the basic language, strip it down to the basics

So, what are the "basics"?

This might work, if the "basics" is really so small a language that a
compiler can be implemented (and mantained) with much, much less effort
than a real Ada compiler.

More interesting to me would be work towards making Ada compiler
implementation easier. It seems to me that progress in formal methods,
functional and declarative languages, and computer power, since the
80's, should make it possible to implement something like the SETL
version of Ada-Ed, but with acceptable performance for programs that are
not humongously large. At the same time, such work, at least if done in
an academic setting, could help to clarify the dark corners of the
language standard.

> and extend, replacing anything that's a little weird.

Weirdness is subjective and depends on one's upbringing (that is,
earlier programming languages). As a motivation for replacing something,
that does not get my support.

> i.e. 1) add exception records
> 
> type E is exception
>    record
>       My_Data : Integer;
>    end record;

I might support that for "real" Ada, too. But I believe there would have
to be restrictions on the nature of the record to avoid too complex
memory management when an exception is raised or handled.

> 2) User defined types having 'Image and 'Value, which call
> a subprogram which must be defined if these attributes are
> to be used - much like the stream operations do.

I support that. But there should be default implementations, just like
the stream operations have defaults. The defaults should be extended to
cover non-scalar types, too.

> 3) Replace tagged with just class, so:
> 
> type C is
>    class
>       ...
>    end class;

A mere sop to foreign conventions and creates useless non-uniformity
between different kinds of records. I'm against it.

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
      .      @       .


  reply	other threads:[~2014-03-27 21:51 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-19 13:24 Augusta: An open source Ada 2012 compiler (someday?) Peter Chapin
2014-03-19 18:56 ` Tero Koskinen
2014-03-19 23:02   ` Peter Chapin
2014-03-20 18:13   ` Shark8
2014-03-20 22:41     ` Augusta: An open source Ada 2012 compiler (someday?) (Off topic) erlo
2014-03-20 23:21       ` Randy Brukardt
2014-03-19 23:04 ` Augusta: An open source Ada 2012 compiler (someday?) Brian Drummond
2014-03-19 23:24   ` Peter Chapin
2014-03-20  0:00     ` Brian Drummond
2014-03-20 18:35   ` Shark8
2014-03-22 14:30     ` Brian Drummond
2014-03-20 10:23 ` Lucretia
2014-03-20 10:49   ` J-P. Rosen
2014-03-20 23:15     ` Randy Brukardt
2014-03-24  8:18       ` J Kimball
2014-03-24  9:17         ` Thomas Løcke
2014-03-24 10:00           ` Brian Drummond
2014-03-24 14:16           ` Luke A. Guest
2014-03-24 12:51         ` Peter Chapin
2014-03-24 21:21         ` Randy Brukardt
2014-03-24 23:18           ` Dennis Lee Bieber
2014-03-24 23:50             ` J Kimball
2014-03-25  9:37           ` Stefan.Lucks
2014-03-25 20:47             ` Randy Brukardt
2014-03-25 19:41         ` Michael B.
2014-03-26  1:50           ` Shark8
2014-03-26 20:39             ` Simon Clubley
2014-03-27  9:32               ` Shark8
2014-03-27 20:02                 ` Simon Clubley
2014-03-27 20:38                   ` Lucretia
2014-03-27 21:51                     ` Niklas Holsti [this message]
2014-03-27 22:32                       ` Luke A. Guest
2014-03-28  5:12                         ` Shark8
2014-03-28  5:11                           ` J Kimball
2014-03-28  8:06                         ` Georg Bauhaus
2014-03-28 11:31                       ` Peter C. Chapin
2014-03-31 23:43                         ` Randy Brukardt
2014-03-28  8:56                     ` Dmitry A. Kazakov
2014-03-28 19:20                   ` Dan'l Miller
2014-03-28 20:40                     ` Dmitry A. Kazakov
2014-03-29 12:34                       ` Dan'l Miller
2014-03-29 13:36                         ` Dmitry A. Kazakov
2014-03-29 12:42                       ` Dan'l Miller
2014-03-29  0:15                     ` Peter Chapin
2014-03-29  3:39                       ` Shark8
2014-03-29  8:46                       ` Georg Bauhaus
2014-03-29 16:35                         ` Peter Chapin
2014-03-29  9:51                       ` Georg Bauhaus
2014-03-20 19:03   ` Shark8
2014-03-20 18:10 ` Shark8
2014-03-20 18:20   ` Qun-Ying
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox