Line 47: |
Line 47: |
| * Code in named stacks will be put into functions with the same name. Blocks appended to the 'start' block will be put into a function called <code>start()</code>. Unnamed stacks will also be put into extra functions with auto-generated names (e.g., <code>unnamed_stack_1()</code>). | | * Code in named stacks will be put into functions with the same name. Blocks appended to the 'start' block will be put into a function called <code>start()</code>. Unnamed stacks will also be put into extra functions with auto-generated names (e.g., <code>unnamed_stack_1()</code>). |
| * Run only the block stack that has a 'start' block at the top. If there is no 'start' block, notify the user, but don't execute unnamed stacks. (TA itself should show the same behavior.) | | * Run only the block stack that has a 'start' block at the top. If there is no 'start' block, notify the user, but don't execute unnamed stacks. (TA itself should show the same behavior.) |
| + | * Assume the generated code will be run in GNOME, but keep the <code>running_sugar</code> flag, so it can be ported to Sugar later. |
| | | |
| === Pending === | | === Pending === |
Line 54: |
Line 55: |
| * Enable the user to control the speed of execution (e.g., by setting a global <code>step_time</code>)? ''deferred on 2013-06-14'' | | * Enable the user to control the speed of execution (e.g., by setting a global <code>step_time</code>)? ''deferred on 2013-06-14'' |
| ** How to implement this? E.g., call a <code>wait(step_time)</code> function in between two steps? | | ** How to implement this? E.g., call a <code>wait(step_time)</code> function in between two steps? |
| + | * How to automatically determine the path to the TA installation (e.g., for finding the plugins)? ''deferred on 2013-06-14'' |
| + | ** Either: check a list of standard paths. |
| + | ** Or: expect it to be in the <code>PYTHONPATH</code>. |
| + | ** Explain to the user what's wrong when the TA installation wasn't found. |
| + | * Should the status bar be shown when the exported code is run? |