|
Boost : |
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2003-01-24 21:51:37
----- Original Message -----
From: "David Abrahams" <dave_at_[hidden]>
> > The problems are not insurmountable though (with an
"is_valid_expression").
> > You aren't dealing with entire language at this point, only an
> > expression.
>
> And which parts of the language does that fail to drag in? Not many.
Variable declarations specifically--that removes quite a few problems from
the parser implementation. But, also, declarations and definitions of all
types, exception handling try and catch blocks, statements, etc.. I.e. it
leaves out most of the stuff that makes the parser complicated. The
difficult part of the semantic analysis would still be lookup and
overloading, IMHO.
Paul Mensonides
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk