Topic: Context sensitivity and ambiguity


Author: better_cs_now@yahoo.com ("Dave")
Date: Tue, 2 Dec 2003 18:32:06 +0000 (UTC)
Raw View
Hello all,

With regard to the grammar for C++ (as defined in the 1998 Standard) and the
language it defines...

Is there any place where I can find:

1. A comprehensive listing of all the ambiguities in the grammar.  The
Standard itself refers in places to ambiguities in the grammar.  If I were
to collect all of these references, would I have a *comprehensive* list of
the ambiguities?  Does anybody know where I might find a list of all
ambiguities shown together for easy reference?

2. A comprehensive listing of all aspects of the language that are context
sensitive.  e.g. x*y; Is this a pointer declaration or a multiplication?  It
depends on if x is a type or a variable...

Thanks!
Dave


---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]