comp.lang.ada
 help / color / mirror / Atom feed
From: codeworker@free.fr (Cedric LEMAIRE)
Subject: Re: [ANN] an EBNF parser and coding pattern tool (LGPL)
Date: 15 Feb 2003 20:14:07 GMT
Date: 2003-02-15T20:14:07+00:00	[thread overview]
Message-ID: <clcm-20030215-0010@plethora.net> (raw)
In-Reply-To: clcm-20030211-0009@plethora.net

Hyman Rosen <hyrosen@mail.com> wrote in message news:<clcm-20030211-0009@plethora.net>...
> Cedric LEMAIRE wrote:
> > The C++ compiler doesn't give you introspection to implement C++
> > templates that work on the composition of a class.
> 
> Yes, this is true. To get this would require support from the
> compiler, and I imagine would look something like this - the
> result of introspect<T> for some type T would be a class with
> informative members, some of which would be like Alexandrescu's
> type lists that would carry member and base class information
> and could be processed recursively by other templates. We would
> also want an equivalent dynamic interface, so that we could take
> a polymorphic pointer or reference and deal with its introspection
> at runtime.

I did it too with 'CodeWorker' (but it isn't my intellectual property,
i have to change it before publishing the pattern scripts): a dynamic
introspector that handles 'MetaClass' composed of 'MetaAttribute's.
'MetaAttribute' is composed of 'MetaType'... and a lot of interesting
information about reflectivity in fact. A little as in JAVA, but in
C++. It allows writing very efficient dynamic GUI for example (with
smart tool tips that explain the constraints held by the attribute you
are populating - if you starts from an Object Design such as an
extended UML). Interesting when you have a few hundred Business
classes and a dialog window not too stupid to implement for each of
them.

It is very trivial to implement with 'CodeWorker'.

-- C�dric
-- 
comp.lang.c.moderated - moderation address: clcm@plethora.net



  parent reply	other threads:[~2003-02-15 20:14 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 [this message]
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
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