comp.lang.ada
 help / color / mirror / Atom feed
From: Philip Anderson <phil.anderson@amsjv.com>
Subject: Re: Restructuring of Ada (was RE: Ada on Cypress CY7C646 (8051)?)
Date: Fri, 08 Jun 2001 10:28:24 +0100
Date: 2001-06-08T10:28:24+01:00	[thread overview]
Message-ID: <3B209AB8.51ECEEFA@amsjv.com> (raw)
In-Reply-To: 9fohvp$mp$1@nh.pace.co.uk

Marin David Condic wrote:
<snip> 
> Maybe the answer is to define a language (Call it "Soren" after one of my
> favorite philosophers?) that is effectively a subset of Ada and just not
> expect it to have anything to do with Ada, except for always trailing the
> Ada standard around. If we picked the chapters/verses of the ARM that had no
> unreasonable limitations for small machines as the standard for "Soren" and
> ignored the rest, you'd effectively have a language that could pass through
> any Ada compiler and work, yet could be the subject of specialized compilers
> aimed at small machines.

Replace "small machines" with "safety-related systems" and you'll get
the rationale for SPARK.  It's a subset of Ada, since certain constructs
are not allowed, although extended by annotations in the form of Ada
comments.  So it passes through any Ada compiler, which generates the
required assembly code, but the SPARK rules are checked by SPARK tools.

Of course, it's not quite the same since you need a specialist compiler
to generate the small machine code, but I wonder whether an Ada compiler
generating C as an intermediate level is an answer?


-- 
hwyl/cheers,
Philip Anderson
Alenia Marconi Systems
Cwmbr�n, Cymru/Wales



  reply	other threads:[~2001-06-08  9:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-07 17:54 Restructuring of Ada (was RE: Ada on Cypress CY7C646 (8051)?) Beard, Frank
2001-06-07 18:43 ` Marin David Condic
2001-06-08  9:28   ` Philip Anderson [this message]
2001-06-08 14:01     ` Marin David Condic
2001-06-08 14:30     ` Marin David Condic
2001-06-08 18:29       ` Ada and SBC's, was: Re: Restructuring of Ada Simon Clubley
2001-06-08 19:35         ` Marin David Condic
  -- strict thread matches above, loose matches on Subject: below --
2001-06-07 20:00 Restructuring of Ada (was RE: Ada on Cypress CY7C646 (8051)?) Beard, Frank
replies disabled

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