Boost logo

Proto :

Subject: Re: [proto] grammars, domains and subdomains
From: Eric Niebler (eric_at_[hidden])
Date: 2010-12-08 23:13:20


On 12/8/2010 5:30 PM, Thomas Heller wrote:
> I don't really now how to do it otherwise with the current design.
> There is really only this part of the puzzle missing. If it is done, we have
> a working and clean Phoenix V3.
> For the time being, I can live with the workaround I did.
> However, I will focus my efforts of the next days on working out a patch for
> this to work properly.

I made a simple fix to proto::matches on trunk that should get you
moving. The overloads can still be smarter about sub-domains, but for
now you can easily work around that by explicitly allowing expressions
in sub-domains in your super-domain's grammar. See the attached solution
to your original problem.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com



Proto list run by eric at boostpro.com