I recently posted a question on the implementability of "export" and a
bulk of the explanations were centred around something called CFront.
I have no idea what CFront is as I never ran into a compiler by that
name. As this CFront thing has so much influence on the design of the
contemporary C++ compilers, can any one explain to me and others what
that is?
Thank you.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std...@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html ]
cfront was one of the first C++ implementations. The name come from the
fact that it translated C++ code into C code (i.e. it's a C front-end).
It has been used as a model or reference implementation for some time.
--
Barry Margolin, bar...@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Barry, thank you for the answer.
Was that a front-end or a full-fledged compiler? If it was a
front-end, do you know which compilers used (still use) it?
Kiril,
TTBOMK, CFront is associated with the same place that Bjarne Stroustrup
works out. It was like the first C++ compiler.
If you buy "The Design and Evolution of C++", it covers the history of
CFront and the different versions
See http://www.research.att.com/~bs/dne.html
Stephen Howe
CFront produced C source code that then could be fed to any compiler that
supported the same version of the C standard.
Ken Shaw