[root]/src/slogo/slogo/parser
tests
(0 files, 0 lines)
tokens
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 141 (100.0%) | 1141 (100.0%) | 8.0 |
bajracharyas | 38 (27.0%) | 676 (59.2%) | 17.7 |
marmorsteinr | 36 (25.5%) | 279 (24.5%) | 7.7 |
twitchard | 12 (8.5%) | 180 (15.8%) | 15.0 |
Garrett | 55 (39.0%) | 6 (0.5%) | 0.1 |
Renamed "slogo.slogo" package and subpackages to just "slogo".
0 lines of code changed in 52 files:
Added the "New Workspace" button and made the 'writeStatus()' method in the TurtleCommander to make it more obvious about the use of the status window instead of going through the odd TextCommander.write() methodology.
1 lines of code changed in 1 file:
Print statement and interpreter now evaluates expressions to the little box at the bottom of the SandBox.
6 lines of code changed in 1 file:
LESS, GREATER, EQUAL and NOTEQUAL works in the command line. Also, since I needed an EqualToken, I changed the old EqualToken (the one representing the "=" sign) to EqualSignToken.
121 lines of code changed in 5 files:
SHOWTURTLE and HIDETURTLE works in the command line!
45 lines of code changed in 3 files:
Set print() statement in a 'if (DEBUG)' block to make it easy to enable and disable the debugging mode.
4 lines of code changed in 1 file:
Fixed various minor warnings in Eclipse, including unnecessary imports and unused variables.
1 lines of code changed in 1 file:
Added "To" to instructions.prop
2 lines of code changed in 1 file:
Overhauled the interpreter so instructions returned values, in order to facilitate subroutines inside of variables. It's pretty ugly--and not quite working yet.
34 lines of code changed in 1 file:
PENDOWNP works to see if Pen is down or not. Returns 1 if pen is down. Or else, returns 0.
63 lines of code changed in 4 files:
PENUP and PENDOWN commands implemented in Turtle Window.
45 lines of code changed in 3 files:
Got variable assignment to work. Made it so that expressions that are just a variable name evaluate to their values.
11 lines of code changed in 1 file:
TOWARDS added. Let me know if anyone finds any bugs.
33 lines of code changed in 2 files:
Added IF statement. Woot!
35 lines of code changed in 2 files:
HEADING works.
23 lines of code changed in 2 files:
HOME was giving an infinite loop. It is fixed now.
XCOR and YCOR commands are added to return the current XCordinate and YCordinate respectively in the Console.
46 lines of code changed in 4 files:
SETX, SETY, SETXY and HOME are working
110 lines of code changed in 6 files:
DIFFERENCE, PRODUCT, QUOTIENT, MINUS and REMAINDER works as they're supposed to. But I'm kind of worried about the "QUOTIENT 0 0" giving the result "0". "REMAINDER 0 0" works fine, evaluating it to "NaN".
Also, since we needed a "MinusToken" as a command, I changed the other MinusToken (the one that represents the Character Constant "-") to "MinusSignToken".
150 lines of code changed in 6 files:
LT and RT now corresponds to LEFT and RIGHT
40 lines of code changed in 3 files:
Large changes to the interpreter in this commit. Essentially what I've done is begin to unify the "Instruction" and "Expression" types, right...so in the ELan you could type things like "3 + 7"--but in SLogo that's not valid, you have to type "SUM 3 7." I've gotten rid of the old expressions and gotten "sum" working. And you can even do cool things like "SUM 7 SUM 3 9" = 19.
92 lines of code changed in 6 files:
Renamed ELanInterpreter to SLogoInterpreter
170 lines of code changed in 14 files:
Adding slogo.slogo
109 lines of code changed in 22 files: