Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | always accept lambda functions as arguments (even though their type is unknown) | Marion | 2013-10-08 | 1 | -21/+36 |
| | | | | - more debugging output on TATypeErrors in Primitive | ||||
* | pass the LogoCode instance to any lambda function wrapped in a Primitive | Marion | 2013-10-08 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'mainline/master' into type-system | Marion | 2013-10-07 | 5 | -28/+51 |
|\ | | | | | | | | | | | Conflicts: plugins/turtle_blocks_extras/turtle_blocks_extras.py -- accept all incoming changes from mainline/master | ||||
| * | add support for querying remote turtle position, heading | Walter Bender | 2013-10-07 | 1 | -0/+22 |
| | | |||||
| * | fix bug in collaboration: don't share during show | Walter Bender | 2013-10-06 | 3 | -7/+8 |
| | | |||||
| * | use utf-8 encoding for unicode strings | Walter Bender | 2013-09-23 | 3 | -21/+21 |
| | | |||||
* | | fix another bug with exporting action stacks with non-string names | Marion | 2013-09-16 | 1 | -0/+2 |
| | | |||||
* | | fix export of 'define action stack' block with non-string argument | Marion | 2013-09-16 | 1 | -0/+3 |
| | | |||||
* | | don't import tautils.convert into tawindow | Marion | 2013-09-16 | 1 | -1/+1 |
| | | | | | | | | - It has a name clash with tatype.convert and it is obsolete. | ||||
* | | clean up taprimitive and tatype | Marion | 2013-09-16 | 2 | -9/+6 |
| | | |||||
* | | start the plugins (tell them we're running) when the exported code is run | Marion | 2013-09-16 | 2 | -2/+13 |
| | | |||||
* | | show the NAN logoerror if a block wants a number but gets a non-number | Marion | 2013-09-16 | 2 | -43/+44 |
| | | |||||
* | | fix export of 'f(x)' block | Marion | 2013-09-16 | 2 | -4/+4 |
| | | |||||
* | | add Primitive for the 'f(x)' block | Marion | 2013-09-16 | 2 | -0/+42 |
| | | |||||
* | | simplify the function that executes a user-defined python function | Marion | 2013-09-16 | 1 | -15/+5 |
| | | |||||
* | | remove extraneous blank lines in exported code, making it pep8-compliant :) | Marion | 2013-09-13 | 1 | -5/+0 |
| | | |||||
* | | Merge branch 'fix-turtle-sprite-heading' into type-system | Marion | 2013-09-13 | 1 | -5/+11 |
|\ \ | |/ | |||||
| * | update the heading of the turtle sprite after the 'left' or 'right' block | Marion | 2013-09-13 | 1 | -5/+11 |
| | | |||||
* | | remove obsolete TODOs in the code | Marion | 2013-09-13 | 3 | -32/+3 |
| | | |||||
* | | exported 'print' block: print to status bar and to console | Marion | 2013-09-13 | 1 | -0/+7 |
| | | |||||
* | | add Primitive for the 'print heap' block (using tw.print_()) | Marion | 2013-09-13 | 1 | -1/+5 |
| | | |||||
* | | remove obsolete utility function ast_to_value() | Marion | 2013-09-12 | 1 | -21/+5 |
| | | | | | | | | - Its functionality is now provided by tatype.get_type(). | ||||
* | | make Media objects exportable | Marion | 2013-09-12 | 2 | -5/+24 |
| | | |||||
* | | use class for media objects instead of prefixed strings | Marion | 2013-09-12 | 4 | -87/+119 |
| | | | | | | | | | | - Applies to all media (image), audio, video, Journal description, and camera objects. | ||||
* | | insert 'yield True' after every call to time.sleep() in the exported code | Marion | 2013-09-12 | 1 | -1/+1 |
| | | |||||
* | | add Primitive for the 'print' block | Marion | 2013-09-12 | 1 | -2/+43 |
| | | |||||
* | | change 2nd dock of the clamp-style-collapsed style from 'unavailable' to 'flow' | Marion | 2013-09-12 | 1 | -1/+1 |
| | | |||||
* | | add repr() method for Block instances | Marion | 2013-09-12 | 1 | -0/+7 |
| | | |||||
* | | add Primitive for 'clear/ empty heap' block | Marion | 2013-09-12 | 3 | -3/+14 |
| | | | | | | | | - Use LogoCode's heap in the exported code. | ||||
* | | show logoerror("#emptyheap") when trying to pop from an empty heap | Marion | 2013-09-10 | 1 | -0/+2 |
| | | |||||
* | | add Primitives for the 'push', 'pop', and 'is empty heap?' blocks | Marion | 2013-09-10 | 4 | -29/+53 |
| | | |||||
* | | add Primitive for the 'time' block | Marion | 2013-09-09 | 2 | -1/+5 |
| | | |||||
* | | divide the primitive of the 'clean' block up into more functions than before | Marion | 2013-09-09 | 2 | -8/+19 |
| | | | | | | | | - The block still does the same, but the exported code is a bit less obscure. | ||||
* | | Merge branch 'mainline/master' into type-system | Marion | 2013-09-09 | 1 | -17/+25 |
|\ \ | |/ | |||||
| * | fix problem with NoneType index for action block | Walter Bender | 2013-09-03 | 1 | -12/+17 |
| | | |||||
| * | fix problem with NoneType index for storein block | Walter Bender | 2013-09-03 | 1 | -5/+8 |
| | | |||||
* | | clean up taprimitive: remove unused stuff, add documentation | Marion | 2013-09-08 | 1 | -21/+11 |
| | | |||||
* | | remove a ton of unused methods from tabasics | Marion | 2013-09-08 | 1 | -235/+3 |
| | | |||||
* | | make generation of color blocks a bit more generic and uniform | Marion | 2013-09-08 | 1 | -19/+14 |
| | | |||||
* | | Primitives for all constant blocks (add screen dimensions, update colors) | Marion | 2013-09-08 | 4 | -20/+34 |
| | | | | | | | | | | | | - 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. | ||||
* | | make the get_prim_callable utility a bit more fail-safe | Marion | 2013-09-08 | 1 | -1/+5 |
| | | |||||
* | | add Primitive for the 'show' block | Marion | 2013-09-08 | 1 | -0/+73 |
| | | |||||
* | | allow the name of a box to be of any type rather than just string | Marion | 2013-09-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | - This commit fixes the issue that the integer 10 and the float 10.0 were regarded as different box names (in the exported py code) before. It introduces the issue that 'a' and ord('a') == 97 will be considered different box names. - These issues only affect the exported code because the internal execution engine converts all box names to keys using talogo.LogoCode._get_box_key(), and thereby eliminates differences between characters, number strings, integers, and floats. | ||||
* | | use the tatype.convert() function to type-convert boxes in exported py code | Marion | 2013-09-08 | 1 | -17/+30 |
| | | |||||
* | | add Primitive for 'random' block; fix getting the key of a box | Marion | 2013-09-06 | 3 | -31/+48 |
| | | |||||
* | | add Primitive and special export handling for the 'wait' block | Marion | 2013-09-06 | 4 | -13/+20 |
| | | |||||
* | | new special return type for the 'box' block | Marion | 2013-09-06 | 2 | -9/+13 |
| | | |||||
* | | add Primitive for the 'stop stack' block | Marion | 2013-09-06 | 3 | -6/+8 |
| | | |||||
* | | add Primitive and special export handling for the 'sandwichclamp' block | Marion | 2013-09-05 | 2 | -2/+10 |
| | | |||||
* | | fix execution of 'while' and 'until' loops (again) | Marion | 2013-09-05 | 1 | -15/+22 |
| | | | | | | | | - Make it possible to apply type converters to un-called Primitives. |