Re: Writing a compiler

Marco van de Voort <marcov@stack.nl>
Thu, 6 Nov 2008 12:52:17 +0000 (UTC)

          From comp.compilers

Related articles
[12 earlier articles]
Re: Writing a compiler marcov@stack.nl (Marco van de Voort) (2008-11-02)
Re: Writing a compiler chris.dollin@hp.com (Chris Dollin) (2008-11-03)
Re: Writing a compiler lkrupp@pssw.com (Louis Krupp) (2008-11-03)
Re: Writing a compiler alexc@TheWorld.com (Alex Colvin) (2008-11-03)
Re: Writing a compiler gneuner2@comcast.net (George Neuner) (2008-11-04)
Re: Writing a compiler gneuner2@comcast.net (George Neuner) (2008-11-04)
Re: Writing a compiler marcov@stack.nl (Marco van de Voort) (2008-11-06)
Re: Writing a compiler james.harris.1@googlemail.com (James Harris) (2008-11-09)
Re: Writing a compiler james.harris.1@googlemail.com (James Harris) (2008-11-09)
| List of all articles for this month |

From: Marco van de Voort <marcov@stack.nl>
Newsgroups: comp.compilers
Date: Thu, 6 Nov 2008 12:52:17 +0000 (UTC)
Organization: Stack Usenet News Service
References: 08-10-037 08-10-046 08-10-047 08-11-003 08-11-008 08-11-009 08-11-025
Keywords: C++
Posted-Date: 06 Nov 2008 14:49:33 EST

On 2008-11-05, George Neuner <gneuner2@comcast.net> wrote:
>>> I see no reason why cfront couldn't implement all of C++; theoretically,
>>> there's no difference between generating C or assembler code.


>>This is not true if e.g. all chars that can be used in C identifiers are
>>also valid chars in C++. In assembler, usually a lot more special chars ($,@
>>often) can be used to separate the parts in a mangled name.
>
> That doesn't matter. The standard does not specify how to mangle
> names and, in fact, nearly every compiler does it differently.


Indeed, I forgot the escape based solution obviously.



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.