tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Can be extended for C++?


From: Antti-Juhani Kaijanaho
Subject: Re: [Tinycc-devel] Can be extended for C++?
Date: Mon, 15 Oct 2007 18:27:20 +0300
User-agent: Mutt/1.5.16 (2007-06-11)

On Mon, Oct 15, 2007 at 11:59:00AM +0200, Ivo wrote:
> Yes. The code generator is intertwined with the parser. Also, I seem to 
> remember reading somewhere that a single pass C++ compiler is impossible 
> due to the nature of the language. tcc is a single pass compiler.

The C++ language, like C, includes certain warts specifically to allow
for one-pass compilation.  I am not aware of any C++ features that
require more than one pass, but I could be wrong.

-- 
Antti-Juhani Kaijanaho, Jyväskylä, Finland
http://antti-juhani.kaijanaho.fi/newblog/
http://www.flickr.com/photos/antti-juhani/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]