Related articles |
---|
Writing a C++ compiler in C++ for-usenet-5c@alicewho.com (Adem) (2008-10-27) |
Re: Writing a C++ compiler in C++ DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-10-28) |
Re: Writing a C++ compiler in C++ echristo@gmail.com (Eric Christopher) (2008-10-28) |
Re: Writing a C++ compiler in C++ cfc@shell01.TheWorld.com (Chris F Clark) (2008-10-28) |
Re: Writing a C++ compiler in C++ marcov@stack.nl (Marco van de Voort) (2008-10-30) |
Re: Writing a C++ compiler in C++ DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-10-31) |
Re: Writing a C++ compiler in C++ marcov@stack.nl (Marco van de Voort) (2008-11-01) |
From: | Chris F Clark <cfc@shell01.TheWorld.com> |
Newsgroups: | comp.compilers |
Date: | Tue, 28 Oct 2008 16:36:06 -0400 |
Organization: | The World Public Access UNIX, Brookline, MA |
References: | 08-10-049 |
Keywords: | C++ |
Posted-Date: | 29 Oct 2008 19:19:26 EDT |
"Adem" <for-usenet-5c@alicewho.com> writes:
> Any projects out there which aim to write a real or experimental
> C++ compiler or interpreter using the C++ language itself?
Not quite an answer to your question, but I wrote a Verilog compiler
in C++ (using Yacc++) a few years back. The client is still using it
as part of their chip validation tool suite after half-a-dozen years.
So, non-trivial compilers have been written in C++.
However, if I were tasked to write a C++ compiler, the first question
I would ask is whether one couldn't leverage g++ to do the job. For
all the niceties of C++ (and I believe there are some, depending on
what you are comparing to), it still gets soundly trumped by reusing
already debugged code in most cases.
Hope this helps,
-Chris
******************************************************************************
Chris Clark Internet: christopher.f.clark@compiler-resources.com
Compiler Resources, Inc. or: compres@world.std.com
23 Bailey Rd Web Site: http://world.std.com/~compres
Berlin, MA 01503 voice: (508) 435-5016
USA fax: (978) 838-0263 (24 hours)
Return to the
comp.compilers page.
Search the
comp.compilers archives again.