$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2007-09-01 14:31:42
David Abrahams wrote:
> It has often seemed to me that it might make sense to parse
> C++ nondeterministically, just to avoid some of these issues.
> The number of real instances of ambiguity is probably pretty small.
>
> Anyway, I should probably take this over to the LLVM list...
Agreed, and there has been done some work on this already:
http://www.computing.surrey.ac.uk/research/dsrg/fog/, which seems to be
promising. Parsing here doesn't have to deal with ambiguities (the parser
understands some superset of C++). These are resolved later during semantic
analysis.
Regards Hartmut