Boost logo

Boost Users :

From: Leon Mergen (leon_at_[hidden])
Date: 2006-03-07 04:25:29


Andy Little wrote:

>>Has anyone created a c++ parser with boost::spirit?
>>
>>
>
>I dont know if anyone has (though I believe Hartmut Kaiser created a C parser)
>but AFAIK the problem with C++ parsers in general is that they dont tell the
>whole story, because in C++ there is a huge amount of context specific
>information.
>

Isn't this the problem with /all/ parsers, and in general, it is an AST
treewalker that actually determines the context ?

As in, if you would want context, you would parse, build and AST, and
then walk over the AST to determine the context... just as with any
language ?

Regards,

Leon Mergen


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net