Cannot mix replacements and...
Posted: Fri Mar 28, 2014 2:33 pm
I installed the Windows GUI version last night and starting going through the documentation to teach myself how to write the context-free grammar and draw.
While going throug the part on "Path declaration", I tried running the one example:
path iso {
ARCTO(0, 1, 0.5)
ARCTO(0, 0, 0.5)
CLOSEPOLY()
STROKE() [s 2 0.5]
STROKE(CF::IsoWidth) [s 2 0.5 y -0.75]
}
For both of the STROKE lines, the script fails to parse with an error message like "Cannot mix replacements and something something" (I'm at work, but I can post the exact message when I get home if that isn't enough to help.) I've tried running it here at work, using the Linux version, and the above parses and paints out fine.
Any thoughts?
While going throug the part on "Path declaration", I tried running the one example:
path iso {
ARCTO(0, 1, 0.5)
ARCTO(0, 0, 0.5)
CLOSEPOLY()
STROKE() [s 2 0.5]
STROKE(CF::IsoWidth) [s 2 0.5 y -0.75]
}
For both of the STROKE lines, the script fails to parse with an error message like "Cannot mix replacements and something something" (I'm at work, but I can post the exact message when I get home if that isn't enough to help.) I've tried running it here at work, using the Linux version, and the above parses and paints out fine.
Any thoughts?