Topic: Need bool opinion: implementing compiler


Author: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Date: Fri, 27 Jan 1995 13:57:27 GMT
Raw View
Viktor Yurkovsky <n4mation@panix.com> writes:

>I am implementing a compiler, and am very tempted to make bool a
>built-in type.  What is the current status of ANSII regarding this?

Yes, bool is a builtin type.

If the compiler you are implementing is supposed to be a C++ compiler,
then you should definitely get hold of a copy of the ANSI/ISO C++ committee's
working paper, which contains the answer to that question and many more.

--
Fergus Henderson - fjh@munta.cs.mu.oz.au
all [L] (programming_language(L), L \= "Mercury") => better("Mercury", L) ;-)