On Mon, 18 Oct 2010 18:43:04 -0500
"Rick C. Hodgin" <[email protected]> wrote:

> Basile,
> 
> Hey!  I see you on both GCC mailing list and here.  Cool. :-)

Yes. And I am the main author of GCC MELT. See http://gcc-melt.org/ or
gcc.gnu.org/wiki/MELT; I believe it could interest you for your RDC.
(but please discuss MELT on [email protected] not here).

> 
> I was not expecting a full ISO compliant compiler, but something that
> recognized classes, could work with member functions and data, etc.
> Something that could easily extend Tinyc's capabilities, but not bloat
> it all up.

What about templates or namespaces?

Unfortunately, I am not sure such a compiler would be useful: even if
some user may want a small subset of C++ (look into the Embedded C++
"standard"), it might not be the same subset from one user to another.
And most importantly, the major C++ library API (for instance C++
input/output streams) are defined using a lot of C++ features
(including templates).

Look at the Qt toolkit for instance. Even if it claims to not use
several C++ features, in practice it needs a nearly fully compliant C++
compiler to be compiled, and still the Qt API itself is not using all C+
+ features (but it depends on the stdc++ library which uses more of
them).

Cheers.

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***

_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to