comp.lang.ada
 help / color / mirror / Atom feed
From: Hyman Rosen <hyrosen@mail.com>
Subject: Re: [ANN] an EBNF parser and coding pattern tool (LGPL)
Date: Wed, 12 Feb 2003 16:16:09 -0500
Date: 2003-02-12T16:16:09-05:00	[thread overview]
Message-ID: <1045084569.415137@master.nyc.kbcfp.com> (raw)
In-Reply-To: <uptpxe1b7.fsf@nasa.gov>

Stephen Leake wrote:
> That makes sense, assuming "Introspect" and "FieldTypes" are new C++
> keywords. Are there any C++ compilers that actually do this? I don't
> think it's in the current ISO C++ standard.

No, there aren't, which was the OP's point. I was describing an
outline of how it could potentially be added to C++. If it was,
Introspect (or something similar) could be made to look like a
class template in namespace std, so no new keywords would be
involved.

> Is there anything preventing the same techniques in Ada?

Ada doesn't have partial specialization of generics (that is,
allowing completely different generic contents based on subsets
of the parameters), so it can't do the recursive template stuff,
at least as far as I know, given how poorly I know Ada.

> How does this compare with an ASIS tool for Ada?
 > Seems to me ASIS is a more straight-forward,
 > and more flexible, approach.

I don't know enough about ASIS to say. Can an Ada program
use ASIS in order to inspect itself? Can it apply ASIS
within a generic to examine its generic parameters?




  reply	other threads:[~2003-02-12 21:16 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-24  3:36 [ANN] an EBNF parser and coding pattern tool (LGPL) Cedric LEMAIRE
2003-01-24 16:40 ` Victor Porton
2003-01-25  0:33   ` llewelly
2003-01-29  2:55   ` Cedric LEMAIRE
2003-01-24 16:40 ` apm
2003-01-29  2:56   ` Cedric LEMAIRE
2003-01-31  2:25     ` Cedric LEMAIRE
2003-01-31  2:25     ` Anthony Williams
2003-02-01  4:10       ` Cedric LEMAIRE
2003-02-04 16:53     ` apm
2003-02-06 20:35       ` Cedric LEMAIRE
2003-02-06 20:36       ` Cedric LEMAIRE
2003-02-01  4:09   ` White Wolf
2003-02-03  1:28     ` Martin Ambuhl
2003-02-03  1:28     ` Hillel Y. Sims
2003-02-03 16:31       ` Tars_Tarkas
2003-02-03  1:29     ` Mark McIntyre
2003-02-03 16:31       ` CBFalconer
2003-02-04 16:53         ` Georg Bauhaus
2003-02-06 20:36           ` Cedric LEMAIRE
2003-02-07 17:33             ` Hyman Rosen
2003-02-08 18:22               ` Thant Tessman
2003-02-07 17:33             ` Anthony Williams
2003-02-11  6:15               ` Cedric LEMAIRE
2003-02-12  1:30                 ` Hyman Rosen
2003-02-13 20:03                   ` Brian Inglis
2003-02-15 20:13                     ` Hyman Rosen
2003-02-15 20:14                   ` Cedric LEMAIRE
2003-02-12  1:30                 ` Julián Albo
2003-02-15 20:14                   ` Cedric LEMAIRE
2003-02-19  6:10                     ` Alan Balmer
2003-02-12  1:30                 ` Stephen Leake
2003-02-12 18:22                   ` Hyman Rosen
2003-02-12 19:39                     ` Stephen Leake
2003-02-12 21:16                       ` Hyman Rosen [this message]
2003-02-14 20:34                         ` Stephen Leake
2003-02-15 20:14                   ` Cedric LEMAIRE
2003-02-07 17:33             ` Hyman Rosen
2003-02-03 16:31       ` ozbear
2003-02-03 16:31     ` Cedric LEMAIRE
replies disabled

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