Closed GoogleCodeExporter closed 9 years ago
My guess is that the program is being incorrectly categorized as being in an
infinite loop and halted.
It should be simple enough to write a routine that detects whether a given
program ever halts.
Original comment by sper...@google.com
on 31 Mar 2013 at 6:49
> BTW this is my attempt of Mandelbrot set:
Oh. My. God.
> My guess is that the program is being incorrectly categorized as being in an
infinite loop and halted.
Correct. The current limit of 100,000 needs to be increased by a factor of
ten. I've done an unreviewed quick push that gives us a million iterations.
> It should be simple enough to write a routine that detects whether a given
program ever halts.
Mr Turing would like to have a word with you. :)
Original comment by neil.fra...@gmail.com
on 31 Mar 2013 at 7:12
Committed in r725.
Original comment by neil.fra...@gmail.com
on 31 Mar 2013 at 8:37
Thank you very much for this fix! My Mandlebrot is complete now :-)
However, I would vote for some message informing the user, that the turtle was
exhausted after a million of steps and needed to stop. Otherwise he could spend
some time with pointless debugging of his code... (like me).
(The complete, polished Mandelbrot!
http://blockly-demo.appspot.com/static/apps/turtle/en.html#pvjv3f)
Original comment by perc...@gmail.com
on 31 Mar 2013 at 10:49
For reference, your (epic) Mandelbrot program has been moved here:
https://blockly-games.appspot.com/turtle?level=10#c8wh76
The new Blockly Games executes much faster. It also has no execution limit at
all, meaning programs will execute indefinitely.
We will be shutting down the old apps/turtle application shortly, now that
Blockly Games is up and running.
Original comment by neil.fra...@gmail.com
on 10 Nov 2014 at 7:49
Original issue reported on code.google.com by
perc...@gmail.com
on 30 Mar 2013 at 8:51