javawizard/Parcon — Issue #4: parse variable strings where length is defined by integer
Author: krldmi
Created: 2011-12-20 23:13:13+00:00
State: open

Hi

Im trying to write an xdot to json converter using parcon. Everything have worked ok but I've have a problem with some of the xdot node and edge attributes. Some of the attributes use a 'replicator' (I don't know the correct word) , for example "35 this is a text string 35 bytes long" the number 35 defines the length of the following string. This happens for both coordinate sets and string but it is only in the case with the string that is really a problem, because it can contain spaces and all sorts of characters. Is there any way that I can parse this kind of string using parcon ? If there is not an easy answer please just close this issue ... I'll figure out some other way to do it.

Cheers
Rune