Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
Commit message (Collapse)AuthorAgeFilesLines
* always accept lambda functions as arguments (even though their type is unknown)Marion2013-10-081-21/+36
| | | | - more debugging output on TATypeErrors in Primitive
* pass the LogoCode instance to any lambda function wrapped in a PrimitiveMarion2013-10-081-1/+1
|
* Merge remote-tracking branch 'mainline/master' into type-systemMarion2013-10-075-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, headingWalter Bender2013-10-071-0/+22
| |
| * fix bug in collaboration: don't share during showWalter Bender2013-10-063-7/+8
| |
| * use utf-8 encoding for unicode stringsWalter Bender2013-09-233-21/+21
| |
* | 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
| |
* | don't import tautils.convert into tawindowMarion2013-09-161-1/+1
| | | | | | | | - It has a name clash with tatype.convert and it is obsolete.
* | clean up taprimitive and tatypeMarion2013-09-162-9/+6
| |
* | start the plugins (tell them we're running) when the exported code is runMarion2013-09-162-2/+13
| |
* | show the NAN logoerror if a block wants a number but gets a non-numberMarion2013-09-162-43/+44
| |
* | fix export of 'f(x)' blockMarion2013-09-162-4/+4
| |
* | add Primitive for the 'f(x)' blockMarion2013-09-162-0/+42
| |
* | simplify the function that executes a user-defined python functionMarion2013-09-161-15/+5
| |
* | remove extraneous blank lines in exported code, making it pep8-compliant :)Marion2013-09-131-5/+0
| |
* | Merge branch 'fix-turtle-sprite-heading' into type-systemMarion2013-09-131-5/+11
|\ \ | |/
| * update the heading of the turtle sprite after the 'left' or 'right' blockMarion2013-09-131-5/+11
| |
* | remove obsolete TODOs in the codeMarion2013-09-133-32/+3
| |
* | exported 'print' block: print to status bar and to consoleMarion2013-09-131-0/+7
| |
* | add Primitive for the 'print heap' block (using tw.print_())Marion2013-09-131-1/+5
| |
* | remove obsolete utility function ast_to_value()Marion2013-09-121-21/+5
| | | | | | | | - Its functionality is now provided by tatype.get_type().
* | make Media objects exportableMarion2013-09-122-5/+24
| |
* | use class for media objects instead of prefixed stringsMarion2013-09-124-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 codeMarion2013-09-121-1/+1
| |
* | add Primitive for the 'print' blockMarion2013-09-121-2/+43
| |
* | change 2nd dock of the clamp-style-collapsed style from 'unavailable' to 'flow'Marion2013-09-121-1/+1
| |
* | add repr() method for Block instancesMarion2013-09-121-0/+7
| |
* | add Primitive for 'clear/ empty heap' blockMarion2013-09-123-3/+14
| | | | | | | | - Use LogoCode's heap in the exported code.
* | show logoerror("#emptyheap") when trying to pop from an empty heapMarion2013-09-101-0/+2
| |
* | add Primitives for the 'push', 'pop', and 'is empty heap?' blocksMarion2013-09-104-29/+53
| |
* | add Primitive for the 'time' blockMarion2013-09-092-1/+5
| |
* | divide the primitive of the 'clean' block up into more functions than beforeMarion2013-09-092-8/+19
| | | | | | | | - The block still does the same, but the exported code is a bit less obscure.
* | Merge branch 'mainline/master' into type-systemMarion2013-09-091-17/+25
|\ \ | |/
| * fix problem with NoneType index for action blockWalter Bender2013-09-031-12/+17
| |
| * fix problem with NoneType index for storein blockWalter Bender2013-09-031-5/+8
| |
* | clean up taprimitive: remove unused stuff, add documentationMarion2013-09-081-21/+11
| |
* | remove a ton of unused methods from tabasicsMarion2013-09-081-235/+3
| |
* | make generation of color blocks a bit more generic and uniformMarion2013-09-081-19/+14
| |
* | Primitives for all constant blocks (add screen dimensions, update colors)Marion2013-09-084-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-safeMarion2013-09-081-1/+5
| |
* | add Primitive for the 'show' blockMarion2013-09-081-0/+73
| |
* | allow the name of a box to be of any type rather than just stringMarion2013-09-081-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 codeMarion2013-09-081-17/+30
| |
* | add Primitive for 'random' block; fix getting the key of a boxMarion2013-09-063-31/+48
| |
* | add Primitive and special export handling for the 'wait' blockMarion2013-09-064-13/+20
| |
* | new special return type for the 'box' blockMarion2013-09-062-9/+13
| |
* | add Primitive for the 'stop stack' blockMarion2013-09-063-6/+8
| |
* | add Primitive and special export handling for the 'sandwichclamp' blockMarion2013-09-052-2/+10
| |
* | fix execution of 'while' and 'until' loops (again)Marion2013-09-051-15/+22
| | | | | | | | - Make it possible to apply type converters to un-called Primitives.