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
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
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