Arminius / cat-language

Automatically exported from code.google.com/p/cat-language
Other
0 stars 0 forks source link

Code runs, or graphics draws, more than once or not at all #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This may be due to macro expansion or a bug in CatGraphWindow or both.
File attached.

typed:
hilbert
expected: a loop to be drawn (once) and the turtle to take the paint pot
with him.
got: the loop flashed as it was drawn.
Gets slower like Shlemiel the Painter's algorithm described on
http://www.joelonsoftware.com/articles/fog0000000319.html

hilbert pop // (all on one line)
expected: loop should be drawn
got: nothing happened. Does the type system believe this has no effect?

hilbert // (on two separate lines)
st
expected: turtle to appear on st
got: the curve was drawn again

What version of the product are you using? On what operating system?
Cat 0.16, Windows XP, C# Express 2005

Original issue reported on code.google.com by nothingo...@gmail.com on 18 Jul 2007 at 11:45

Attachments:

GoogleCodeExporter commented 9 years ago
Perhaps CatGraphWindow is too eager to repaint when a line is added.

Original comment by nothingo...@gmail.com on 19 Jul 2007 at 12:33

GoogleCodeExporter commented 9 years ago
Fixed in 0.16.1

Original comment by nothingo...@gmail.com on 20 Aug 2007 at 10:31

GoogleCodeExporter commented 9 years ago

Original comment by cdiggins on 21 Aug 2007 at 1:30

GoogleCodeExporter commented 9 years ago

Original comment by cdiggins on 21 Aug 2007 at 1:30