On Fri, 6 Feb 2004, Angus Leeming wrote:

> Christian Ridderström wrote:
> > Um... I don't understand it... OTOH I've never used Boost Spirit,
> > but that means it's not obvious if you're unfamiliar with that.
> > Could you give a link for Boost Spirit? (and maybe a few comments?)
> 
> http://www.boost.org/libs/spirit/index.html
> http://www.boost.org/libs/spirit/phoenix/index.html

Thanks, I've added them (together Andre's link) here:
        http://wiki.lyx.org/pmwiki.php/DevelTips/Links

> > And here's a part of the parser. But I don't understand it, guess I
> > don't know what for instance 'var' or 'self' mean/do... Is
> > 'expression' a variable? (what type?)
> 
> 'expression' is a variable of type a 'rule' --- a class that stores 
> the parser definition.

I saw in the docs that the idea is to simulate EBNF rules, so that 
makes sense now.

Thanks for the explanation, it makes more sense now. (It looks like a very 
convenient way to generate a parser!)

/Christian

-- 
Christian Ridderström                           http://www.md.kth.se/~chr


Reply via email to