[root]/src/slogo/jelan
expressions
(0 files, 0 lines)
instructions
(0 files, 0 lines)
parser
(0 files, 0 lines)
tests
(0 files, 0 lines)
tokens
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 10 (100.0%) | 71 (100.0%) | 7.1 |
twitchard | 3 (30.0%) | 56 (78.9%) | 18.6 |
Garrett | 2 (20.0%) | 10 (14.1%) | 5.0 |
Sara Sprenkle | 1 (10.0%) | 5 (7.0%) | 5.0 |
marmorsteinr | 4 (40.0%) | 0 (0.0%) | 0.0 |
0 lines of code changed in 4 files:
On behalf of Richard (who made the changes) to the constructor for the SLogoContext to not take a parameter the TurtleCommander and instead has a setCommander method
5 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.
5 lines of code changed in 1 file:
We created a SLogoContext which implements Context for the SLogo language. We modified the Context class to have a setValue method as well as a getValue method. We put the mapping of variables to values into SLogoContext--it was previously located in the GrammarElement class. (We don't know why it was there, this seems to make more sense.) Also, we're making it a mapping of Strings to values instead of GrammarElements to values.
51 lines of code changed in 2 files:
Changed the return value of Context.value(String name) to an Object.
1 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.
9 lines of code changed in 1 file:
Import for Sophomores
0 lines of code changed in 3 files: