Boost logo

Boost :

Subject: Re: [boost] [spirit] Library naming and sub-libraries
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2009-01-03 12:33:10


Andrey Semashev wrote:
> Why Boost.Parsing or Boost.Generating are bad?

I guess because they raise the question where the grammar lives. (I guess some "common" parts of the grammar live in the namespace boost::spirit, and the "noncommom" parts live in the namespaces boost::spirit::qi and boost::spirit::karma.) Both Qi and Karma are "strongly grammar based", but neither "Parsing" nor "Generating" hints at the important role of the grammar. This is probably also the reason why the lexer was granted the descriptive namespace boost::spirit::lex, because it is completely independent of any spirit-grammar.

But this is just a guess.

Regards,
Thomas




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