Re: pyparsing and svg

2007-11-08 Thread Arkanes
Paul McGuire wrote: > On Nov 8, 3:14 am, Donn Ingle <[EMAIL PROTECTED]> wrote: > > >> float = nums + dot + nums >> > > Should be: > > float = Combine(Word(nums) + dot + Word(nums)) > > nums is a string that defines the set of numeric digits for composing > Word instances. nums is not an ex

Re: pyparsing and svg

2007-11-08 Thread Paul McGuire
On Nov 8, 3:14 am, Donn Ingle <[EMAIL PROTECTED]> wrote: > float = nums + dot + nums Should be: float = Combine(Word(nums) + dot + Word(nums)) nums is a string that defines the set of numeric digits for composing Word instances. nums is not an expression by itself. For that matter, I see in y

pyparsing and svg

2007-11-08 Thread Donn Ingle
Hi - I have been trying, but I need some help: Here's my test code to parse an SVG path element, can anyone steer me right? d1=""" M 209.12237 , 172.2415 L 286.76739 , 153.51369 L 286.76739 , 275.88534 L 209.12237 , 294.45058 L 209.12237 , 172.2415 z """ #Try it with no enters d1="""M 209.12