Re: C++ intermediate representation.

mefrill@yandex.ru (Vladimir)
15 May 2005 15:43:11 -0400

          From comp.compilers

Related articles
[4 earlier articles]
Re: C++ intermediate representation. angray@beeb.net (Aaron Gray) (2005-05-14)
Re: C++ intermediate representation. ralphpboland@yahoo.com (Ralph Boland) (2005-05-14)
Re: C++ intermediate representation. cfc@shell01.TheWorld.com (Chris F Clark) (2005-05-14)
Re: C++ intermediate representation. gsc@zip.com.au (Sean Case) (2005-05-14)
Re: C++ intermediate representation. robert.hundt@gmail.com (Robert H) (2005-05-15)
Re: C++ intermediate representation. gdr@integrable-solutions.net (Gabriel Dos Reis) (2005-05-15)
Re: C++ intermediate representation. mefrill@yandex.ru (2005-05-15)
Re: C++ intermediate representation. comeau@panix.com (2005-05-15)
Re: C++ intermediate representation. comeau@panix.com (2005-05-15)
Re: C++ intermediate representation. comeau@panix.com (2005-05-15)
Re: C++ intermediate representation. bjarne@gmail.com (bjarne) (2005-05-15)
Re: C++ parsing, was intermediate representation. gdr@integrable-solutions.net (Gabriel Dos Reis) (2005-05-15)
RE: C++ intermediate representation. quinn-j@shaw.ca (Quinn Tyler Jackson) (2005-05-15)
[9 later articles]
| List of all articles for this month |
From: mefrill@yandex.ru (Vladimir)
Newsgroups: comp.compilers
Date: 15 May 2005 15:43:11 -0400
Organization: http://groups.google.com
References: 05-05-023 05-05-068 05-05-078
Keywords: C++, design
Posted-Date: 15 May 2005 15:43:11 EDT

henry@spsystems.net (Henry Spencer) wrote in message
> In his "The Design and Evolution of C++", Stroustrup says that he let
> Aho and Johnson talk him out of writing his own recursive-descent
> parser for C++... and he now thinks that was a big mistake.


Stroustrup means using YACC or Bison I think, the programms that
generate LALR(1) parser and, consequently, demand input grammar must
be LALR(1). It is known C++ grammar is not LALR(k) for any k. So,
Stroustrup spent much time trying to write LALR grammar for C++. For
the moment there is GLR parser as the next generation LALR parsers,
which makes writing C++ frot-end fast and simple time spending.


Vladimir.


Post a followup to this message

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