bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <reductions>


From: Joel E. Denny
Subject: Re: <reductions>
Date: Wed, 10 Oct 2007 00:28:08 -0400 (EDT)

On Tue, 9 Oct 2007, Joel E. Denny wrote:

> > On Sun, 30 Sep 2007 20:57:40 -0400 Joel E. Denny wrote:
> > > In the automaton, instead of:
> > >      <itemset>
> > >         <rule number="0">
> > >           <lhs>$accept</lhs>
> > >           <rhs>
> > >             <symbol class="nonterminal">exp</symbol>
> > >             <symbol class="terminal">$end</symbol>
> > >             <point/>
> > >           </rhs>
> > >         </rule>
> > >       </itemset>
> > > 
> > > we could have:
> > > 
> > >       <itemset>
> > >         <item rule-number="0" marker="2" kernel="true" />
> > >       </itemset>
> > 
> > I wrote the patch which generates the code as above (except
> > for the kernel attribute which I haven't finished)

> I think this is a nice improvement.  Moreover, the first Torture Test 
> (156: torture.at:139 Big triangle) no longer fails on my system.  
> xsltproc can handle it now.

... probably because the XML file size shrinks from 166MB to 2.95MB.  Of 
course, this isn't exactly a practical example, but it demonstrates one 
possible extreme.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]