[root]/src/slogo/jelan/parser
tests
(0 files, 0 lines)
tokens
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 42 (100.0%) | 236 (100.0%) | 5.6 |
Garrett | 10 (23.8%) | 91 (38.6%) | 9.1 |
twitchard | 6 (14.3%) | 82 (34.7%) | 13.6 |
bajracharyas | 4 (9.5%) | 63 (26.7%) | 15.7 |
marmorsteinr | 22 (52.4%) | 0 (0.0%) | 0.0 |
0 lines of code changed in 22 files:
Made the zero-parameter constructor + set method for the context and turtlecommander, too. Made the main method for the interpreter better for testing.
26 lines of code changed in 1 file:
Made it so Interpreter is associated with a context via setContext instead of via the constructor. Also implemented Random.
41 lines of code changed in 3 files:
Implemented the "BK" instruction, which is a synonym of the "BACK" instruction. Also, the "BACKWARD" instruction doesn't exist; it's just not a thing. If you ever say something about the "BACKWARD" instruction, you actually mean the "BACK" instruction.
21 lines of code changed in 2 files:
Added the "FD" instruction as a synonym for the "FORWARD" instruction. This includes adding the FD token class, FD instruction class, adding "FD" to the Instructions.prop file, and the FDParser class. I also cleaned up a few minor Eclipse warnings.
32 lines of code changed in 3 files:
LEFT and RIGHT commands added, though isn't working as it is supposed to (e.g. LEFT 10 turns the turtle way more than 90 degrees). Will be debugging it in a moment. For now, just this.
63 lines of code changed in 3 files:
Removed some extra stuff, and put back in instructions.prop so Suraj's backwards command would work.
2 lines of code changed in 1 file:
0 lines of code changed in 1 file:
We made a forwardFiftyTest that checks and makes sure the interpreter updates the state of the turtle properly when "FORWARD 50" is passed as a StringReader to the interpreter.
13 lines of code changed in 1 file:
Added the TurtleCommander (basically an abstraction of the JTurtle class).
Added a getCommander() method to the Context interface.
Added the "Forward" command as a token, parser, and instruction.
Still need to interface with the GUI to show that the Turtle actually moves forward after the "Forward" instruction is read.
34 lines of code changed in 3 files:
Cleaned up code by fixing Eclipse warnings.
4 lines of code changed in 2 files:
Import for Sophomores
8 lines of code changed in 15 files: