Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 8 (100.0%) | 80 (100.0%) | 10.0 |
tshishikub | 7 (87.5%) | 80 (100.0%) | 11.4 |
ivyj | 1 (12.5%) | 0 (0.0%) | 0.0 |
Did some refactoring of Parsing code so that have less duplicated code.
- mainly created methods to parse instruction parameters (in SLogoParser). This code showed up in a lot of places, so it was good to make into methods.
Added a lot of tests to SLogoParserTest
Added a few methods to Turtle class so that the Parsing code does less/knows less about Turtle's innerworkings. (Required adding "notifyListeners" to some of Turtle's methods)
Cleaned up code: removed debugging statements
10 lines of code changed in 1 file:
Made some major and minor changes
Created instruction hierarchy:
- ConditionalInstructions
- return 1 or 0 when evaluated
- NumericInstructions
- return a number when evaluated
- OneParameterInstructions
- have a parameter (often numeric) that needs to be evaluated
Made lots of changes because of the above changes. Needed to update the parsers and the instruction classes.
Added some methods to the Turtle class so that the Instructions have less knowledge of the Turtle's innerworkings.
Moved SubroutineFactory to slogo.language package instead of slogo.expression
Updated comments in many instructions (use the Javadoc in the evaluate)
0 lines of code changed in 1 file:
Added documentation to classes in slogo.instruction packages.
6 lines of code changed in 1 file:
minor changes. every command should be functional now.
0 lines of code changed in 1 file:
little changes. renaming some classes (like equal) so that the tokens are recognized.
0 lines of code changed in 1 file:
to confusion
2 lines of code changed in 1 file:
To Subroutine classes. should be working now
2 lines of code changed in 1 file:
Classes associated with To command added. this is not complete but has been entered so that prof. sprenkle might be able to look at it.
70 lines of code changed in 2 files:
got rid of warning (import issue)
0 lines of code changed in 1 file:
Updated documentation
Cleaning up mess from my moving instructions around
0 lines of code changed in 1 file:
Major: Changed from using "Expression" superclass to using "GrammarElement" super class.
- allows handling instructions in instructions
Added a JUnit test case for SLogoParser (more tests should be added)
Reorganized the Instructions into packages so easier to find.
- Not possible for Tokens because of use of reflection
Added Quotient to InstructionProps file
Updated the Documentation
Other minor changes to code
0 lines of code changed in 7 files:
Reorganized code some more to have better names
11 lines of code changed in 10 files:
Fixed the package names to be SLogo
23 lines of code changed in 22 files: