Class | Description |
---|---|
Addition |
Represents a + b, the addition of two expressions
|
ArithmeticInstruction | |
Assignment |
An assignment instruction assigns an expression to a variable, updating the
global state to reflect the assignment.
|
Back | |
BinaryExpression |
The base class of any binary expression, e.g., a + b, a - b, or, in future
use, a < b and so on.
|
Clean | |
Clearscreen | |
Difference | |
Division |
Represents a / b, the division of two expressions
|
Equal | |
Forward | |
Greater | |
Heading | |
HideTurtle | |
Home | |
IF | |
Instruction |
Represents an instruction in the SLogo language
|
Left | |
Less | |
Minus | |
Multiplication |
Represents a x b, the multiplication of two expressions
|
Negation |
Represents unary minus, e.g., MINUS num OR -expression
|
NotEqual | |
PenDown | |
PenDownP | |
PenUp | |
The Print instruction prints an expression.
|
|
Product | |
Quotient | |
Remainder | |
Repeat |
An AST (abstract syntax tree) for a SLogo REPEAT instruction.
|
Right | |
Setx | |
Setxy | |
Sety | |
ShowTurtle | |
StrictInstructionList |
A list of instructions that doesn't include a function definition.
|
Subtraction |
Represents a subtraction (e.g., lhs - rhs)
|
Sum | |
Towards | |
UnaryExpression |
Represents a unary expression
|
Xcor | |
Ycor |