Re: pyparsing with nested table

2005-12-08 Thread astarocean
Paul McGuire wrote: > > Load Forward's with '<<' instead of '='. Change: > tablePattern = getMultiLevelPattern('table',trPattern) > to: > tablePattern << getMultiLevelPattern('table',trPattern) > > I think that is all you needed. > > Awesome job! (Also check out the pyparsing built-ins for ma

Re: pyparsing with nested table

2005-12-08 Thread Paul McGuire
astarocean wrote: > using pyparsing to deal with nested tables , wanna keep table's > structure and propertys . > but program was chunked with the tag of inner table. > > have any ideas? > > here's the program > > > from pyparsing import * <... snip ...> > > tablePattern = Forward() <... sn

pyparsing with nested table

2005-12-08 Thread astarocean
using pyparsing to deal with nested tables , wanna keep table's structure and propertys . but program was chunked with the tag of inner table. have any ideas? here's the program from pyparsing import * mytable = """ system art