Topic: What is CFront?


Author: kavdeiv@mail.ru (Kiril Avdeiv)
Date: Fri, 25 Jan 2002 18:28:30 GMT
Raw View
Barry Margolin <barmar@genuity.net> wrote in message news:<EQY38.10$qg4.50669@burlma1-snr2>...
> >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?
>
> 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, 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?

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]





Author: "Stephen Howe" <SPAMstephen.howeGUARD@tnsofres.com>
Date: Fri, 25 Jan 2002 20:12:08 GMT
Raw View
"Kiril Avdeiv" <kavdeiv@mail.ru> wrote in message
news:873f7ae8.0201250157.2549faac@posting.google.com...
> Barry Margolin <barmar@genuity.net> wrote in message
news:<EQY38.10$qg4.50669@burlma1-snr2>...
> > >I recently posted a question on the implementability of "export" and a
> > >bulk of the explanations were centred around something called CFront.

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


---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]





Author: "Ken Shaw" <ken@_NO_SPAM_compinnovations.com>
Date: Fri, 25 Jan 2002 21:43:35 GMT
Raw View
"Kiril Avdeiv" <kavdeiv@mail.ru> wrote in message
news:873f7ae8.0201250157.2549faac@posting.google.com...
> Barry Margolin <barmar@genuity.net> wrote in message
news:<EQY38.10$qg4.50669@burlma1-snr2>...
> > >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?
> >
> > 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, 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?

CFront produced C source code that then could be fed to any compiler that
supported the same version of the C standard.

Ken Shaw



---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]





Author: kavdeiv@mail.ru (Kiril Avdeiv)
Date: Thu, 24 Jan 2002 09:52:16 CST
Raw View
Hope this posting will not be qualified as vendor specific, as CFront
looks to be something whose functionality is taken into account by
todays C++ compiler developers.

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-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]





Author: Barry Margolin <barmar@genuity.net>
Date: Thu, 24 Jan 2002 13:09:21 CST
Raw View
In article <873f7ae8.0201240349.54f4e0b@posting.google.com>,
Kiril Avdeiv <kavdeiv@mail.ru> wrote:
>Hope this posting will not be qualified as vendor specific, as CFront
>looks to be something whose functionality is taken into account by
>todays C++ compiler developers.
>
>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?

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, barmar@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.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]