Boost logo

Boost :

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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk