comp.lang.ada
 help / color / mirror / Atom feed
From: "John B. Matthews" <nospam@nospam.invalid>
Subject: Re: Ada 2005+ interface example
Date: Mon, 28 Jan 2013 17:02:04 -0500
Date: 2013-01-28T17:02:04-05:00	[thread overview]
Message-ID: <nospam-650EA7.17020328012013@news.aioe.org> (raw)
In-Reply-To: ea40e94d-2121-4cac-bd24-64e51fbb302c@l13g2000yqe.googlegroups.com

In article 
<ea40e94d-2121-4cac-bd24-64e51fbb302c@l13g2000yqe.googlegroups.com>,
 Gautier write-only <gautier_niouzes@hotmail.com> wrote:

> Thanks a lot, I'll have a look. Perhaps it would be useful that I 
> explain why I would eventually use interfaces. I am reviving a "toy 
> compiler" of the late 80's, SmallAda, which was in Turbo Pascal and a 
> Mac Pascal too, now translated in Ada and working. I would like to 
> turn the low level machine code emission into a "generic" form.
> As I see it, it would be around a stream, with many methods, all 
> abstract for the root type, which would be implemented as code 
> emission for target processors (real or virtual). And perhaps 
> interfaces would be useful there (it is rather an intuition).

I often return to the Rationale for Ada 2005, 2.4 Interfaces:

<http://www.adaic.org/resources/add_content/standards/05rat/html/Rat-2-4.html>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>



      reply	other threads:[~2013-01-28 22:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 14:08 Ada 2005+ interface example gautier_niouzes
2013-01-27 16:54 ` Dmitry A. Kazakov
2013-01-28 17:27   ` Gautier write-only
2013-01-28 22:02     ` John B. Matthews [this message]
replies disabled

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