Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/taprimitive.py
Commit message (Expand)AuthorAgeFilesLines
...
* give the Disjunction class a constructor, so it can be inherited by subclassesMarion2013-08-291-0/+3
* fix method resolution order in Disjunction sub-classesMarion2013-08-281-2/+2
* better __repr__ for Primitive (now shows the return type)Marion2013-08-281-1/+1
* if an argument gets called, use its return type as its typeMarion2013-08-281-10/+13
* better handling for TATypeErrors coming from the type systemMarion2013-08-281-12/+19
* clean up imports in tabasics, talogo, and taprimitiveMarion2013-08-271-1/+3
* introduce disjunctions of Primitives, arg_descs lists, and ArgSlotsMarion2013-08-271-49/+164
* add utility to get converter given two types of the hierarchyMarion2013-08-251-1/+1
* add a call_arg attribute to ConstantArgs to controll whether they're calledMarion2013-08-231-3/+15
* introduce type system for Primitives and simplify argument slot definitionsMarion2013-08-231-95/+180
* pass arguments to Primitive objects without calling the args firstMarion2013-08-211-0/+8
* use the global_objects dict to set the first argument of PrimitivesMarion2013-08-211-14/+17
* convert Call ASTs to numbers by wrapping float(...) around themMarion2013-08-161-5/+11
* special handling for 'hat' and 'stack' blocks when exporting themMarion2013-08-161-0/+9
* use utility function for extracting values out of ASTsMarion2013-08-151-42/+18
* use utility function for creating Call ASTs instead of ast.CallMarion2013-08-151-24/+7
* add special handling for the 'box' and 'store-in' blocks when exporting themMarion2013-08-151-1/+31
* add Primitive for the 'plus' blockMarion2013-08-151-15/+24
* add type conversion method for the 'plus' blockMarion2013-08-151-9/+82
* use float() instead of int() to convert Colors to numbersMarion2013-08-151-3/+3
* add Primitive for the 'mod' blockMarion2013-08-151-3/+36
* special handling of type conversion to number when generating an ASTMarion2013-08-121-2/+65
* add Primitives for the 'less than' and 'greater than' blocksMarion2013-08-121-1/+13
* construct proper ASTs for type conversionMarion2013-08-111-12/+16
* add Primitive for the '==' ('equals') blockMarion2013-08-111-2/+75
* add Primitives for the color blocksMarion2013-08-111-0/+26
* rename the LogoCode's loop function to prim_loopMarion2013-08-091-1/+1
* nicer line wrapping in comments and docstrings (no changes to code)Marion2013-08-091-5/+6
* add Primitives for the 'if-then' and 'if-then-else' blocksMarion2013-08-091-2/+15
* add Primitives for the 'and' and 'or' blocksMarion2013-08-071-1/+4
* add Primitives for the 'pen state', 'while', and 'until' blocksMarion2013-08-071-6/+30
* introduce the call_me attr to Primitives, it's parallel to export_meMarion2013-08-041-30/+43
* add Primitives for the 'xcor' and 'ycor' blocksMarion2013-08-031-19/+46
* add more standard operators (unary and binary), handle the uniformlyMarion2013-08-031-11/+93
* replace float.__neg__ with Primitive.minus, which can also be used for 2 argsMarion2013-08-031-3/+15
* treat float.__neg__ (minus sign) as a unary operator taking any argumentMarion2013-08-031-4/+2
* add Primitives for the 'pen up' and 'pen down' commandsMarion2013-08-031-17/+42
* add Primitive object for the 'fillscreen' blockMarion2013-08-031-3/+9
* make the check for duplicate argument indices slightly more efficientMarion2013-08-021-2/+7
* check for duplicate argument indices in the slot wrappers of PrimitivesMarion2013-08-021-2/+18
* highlight faulty block if an error occurs during exportMarion2013-08-011-3/+3
* enable i18n for the new error messagesMarion2013-08-011-6/+6
* show a nice error message if the program contains non-exportable blocksMarion2013-08-011-8/+18
* make 'clean' block fully exportable and make exported code runMarion2013-07-311-10/+29
* add Primitive object for 'clean' blockMarion2013-07-311-0/+19
* convert Primitive.make_tuple to the AST of a tupleMarion2013-07-291-1/+10
* treat float.__neg__ as the minus sign when converting it to an ASTMarion2013-07-291-4/+23
* Primitive for the 'set heading' block; fix constant arguments to PrimitivesMarion2013-07-291-6/+6
* make 'forever' block exportableMarion2013-07-261-15/+66
* fix 'forever' blockMarion2013-07-261-9/+4