Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/taexportpython.py
Commit message (Collapse)AuthorAgeFilesLines
* fix another bug with exporting action stacks with non-string namesMarion2013-09-161-0/+2
|
* fix export of 'define action stack' block with non-string argumentMarion2013-09-161-0/+3
|
* start the plugins (tell them we're running) when the exported code is runMarion2013-09-161-0/+11
|
* fix export of 'f(x)' blockMarion2013-09-161-2/+2
|
* remove extraneous blank lines in exported code, making it pep8-compliant :)Marion2013-09-131-5/+0
|
* add Primitive for 'clear/ empty heap' blockMarion2013-09-121-1/+0
| | | | - Use LogoCode's heap in the exported code.
* add Primitives for the 'push', 'pop', and 'is empty heap?' blocksMarion2013-09-101-0/+1
|
* add Primitive for the 'time' blockMarion2013-09-091-1/+2
|
* Primitives for all constant blocks (add screen dimensions, update colors)Marion2013-09-081-0/+1
| | | | | | - Use the get() method of the CONSTANTS dict to retrieve the values of constants, but export it as CONSTANTS['key']. - Introduce the new class TypedSubscript for Subscript ASTs with a type.
* add Primitive and special export handling for the 'wait' blockMarion2013-09-061-0/+1
|
* avoid double 'yield True' also inside loopsMarion2013-09-041-1/+2
|
* avoid double 'yield True' in the exported codeMarion2013-09-041-1/+2
|
* update Primitives for 'hat' (top of an action stack) and 'stack' blocksMarion2013-09-041-6/+4
| | | | | - Insert 'yield True' after every call to logo.icall(...) in the exported code.
* fix python export tool againMarion2013-08-311-25/+34
|
* fix bug in Python export tool re. non-value blocks as argumentsMarion2013-08-301-2/+6
|
* special handling for 'hat' and 'stack' blocks when exporting themMarion2013-08-161-6/+7
|
* add Primitve for the 'square root' blockMarion2013-08-121-0/+3
|
* avoid adding a type prefix to the value of value blocks when exporting themMarion2013-08-111-1/+1
|
* rename the LogoCode's loop function to prim_loopMarion2013-08-091-1/+1
| | | | - The new name is more consistent with prim_if, prim_ifelse etc.
* update the boilerplate exported code with the new location of window_setupMarion2013-08-091-1/+1
|
* add Primitives for the 'if-then' and 'if-then-else' blocksMarion2013-08-091-1/+1
| | | | - Treat the list of all blocks attached to one 'flow' dock as one argument.
* add Primitives for the 'xcor' and 'ycor' blocksMarion2013-08-031-2/+5
|
* add Primitives for the 'pen up' and 'pen down' commandsMarion2013-08-031-12/+4
| | | | - when converting a Primitive to an AST, convert all its constant arguments
* make finding tops of block stacks more efficient in taexportpythonMarion2013-08-021-7/+12
|
* export tool makes exported code use talogo's execution engineMarion2013-08-021-2/+9
|
* highlight faulty block if an error occurs during exportMarion2013-08-011-7/+15
|
* enable i18n for the new error messagesMarion2013-08-011-2/+4
|
* show a nice error message if the program contains non-exportable blocksMarion2013-08-011-12/+10
|
* make 'clean' block fully exportable and make exported code runMarion2013-07-311-0/+1
|
* add Primitive object for 'clean' blockMarion2013-07-311-1/+4
| | | | | - add function that groups together several Primitive objects as if they were consecutive lines of code
* define some Primitives as not exportable when they are createdMarion2013-07-231-1/+6
|
* add special handling for 'repeat' loopsMarion2013-07-221-2/+3
| | | | - easily extensible to other loop types
* implement actual export functionalityMarion2013-07-191-8/+80
|
* taexportpython: separate general setup code from code for each action stackMarion2013-07-181-13/+14
|
* add menu item to GNOME version for exporting python codeMarion2013-07-181-0/+15
|
* taexportpython: generate the exported file and fill it with some setup codeMarion2013-07-181-0/+115
- taexportpython will eventually transform all the action stacks into python code and wrap them in separate functions