|
Re: Fusion-ifying proto parse trees: msg#00005parsers.spirit.devel
Eric Niebler wrote: Joel de Guzman wrote: Oh jeez, that will require a bit of searching. I intend to do that anyway when I rewrite the design strategies pages, but I'll have to defer that work for later. Anyway, one definite rationale is ease of transformation and attribute processing. Given a>>b>>c>>d, the attribute is tuple<RA,RB,RC,RD> where RA...RD are the attributes of a...d that you can obtain through traits::attribute_of<P>::type. It's definitely more convenient to process seq(a,b,c,d) than, say, seq(seq(seq(a,b),c),d) and all its permutations (e.g. seq(seq(a,b),seq(c,d)). It is a must for semantic handling too. Imagine semantic actions receiving different permutations of tuple A..D in various grouped forms. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Fusion-ifying proto parse trees: 00005, Joel de Guzman |
|---|---|
| Next by Date: | Re: Fusion-ifying proto parse trees: 00005, Eric Niebler |
| Previous by Thread: | Re: Fusion-ifying proto parse treesi: 00005, Joel de Guzman |
| Next by Thread: | Re: Fusion-ifying proto parse trees: 00005, Eric Niebler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |