Directory src/slogo/expression/

Total Files:
4
Deleted Files:
9
Lines of Code:
133

[root]/src/slogo/expression

Lines of Code

src/slogo/expression/ Lines of Code

Developers

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

Most Recent Commits

sprenkle 2008-12-17 16:34 Rev.: 131

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:

  • src/slogo/expression: Variable.java (+10 -2)
sprenkle 2008-12-15 17:29 Rev.: 129

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:

  • src/slogo/expression: SubroutineFactory.java (del)
tshishikub 2008-12-11 17:38 Rev.: 122

Added documentation to classes in slogo.instruction packages.

6 lines of code changed in 1 file:

  • src/slogo/expression: SubroutineFactory.java (+6 -1)
tshishikub 2008-12-11 13:04 Rev.: 117

minor changes. every command should be functional now.

0 lines of code changed in 1 file:

  • src/slogo/expression: Subroutine.java (del)
tshishikub 2008-12-11 02:14 Rev.: 116

little changes. renaming some classes (like equal) so that the tokens are recognized.

0 lines of code changed in 1 file:

  • src/slogo/expression: UnaryExpression.java (del)
tshishikub 2008-12-10 18:31 Rev.: 97

to confusion

2 lines of code changed in 1 file:

  • src/slogo/expression: SubroutineFactory.java (+2)
tshishikub 2008-12-10 17:57 Rev.: 95

To Subroutine classes. should be working now

2 lines of code changed in 1 file:

  • src/slogo/expression: SubroutineFactory.java (+2 -3)
tshishikub 2008-12-09 18:17 Rev.: 91

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:

  • src/slogo/expression: Subroutine.java (new 33), SubroutineFactory.java (new 37)
ivyj 2008-12-08 14:23 Rev.: 87

got rid of warning (import issue)

0 lines of code changed in 1 file:

  • src/slogo/expression: Variable.java (-1)
sprenkle 2008-12-04 18:51 Rev.: 69

Updated documentation

Cleaning up mess from my moving instructions around

0 lines of code changed in 1 file:

  • src/slogo/expression: Expression.java (-1)
sprenkle 2008-12-04 18:18 Rev.: 68

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:

  • src/slogo/expression: Addition.java (del), BinaryExpression.java (del), Division.java (del), Multiplication.java (del), Negation.java (del), Subtraction.java (del), UnaryExpression.java (-1)
sprenkle 2008-12-01 08:54 Rev.: 15

Reorganized code some more to have better names

11 lines of code changed in 10 files:

  • src/slogo/expression: Addition.java (+1), BinaryExpression.java (+1 -1), Division.java (+1), Expression.java (+2), Multiplication.java (+1 -1), Negation.java (+1), Number.java (+1 -1), Subtraction.java (+1), UnaryExpression.java (+1), Variable.java (+1)
sprenkle 2008-11-27 21:25 Rev.: 13

Fixed the package names to be SLogo

23 lines of code changed in 22 files:

  • src/slogo/expression: Addition.java (new), BinaryExpression.java (new), Division.java (new), Expression.java (+2 -2), Multiplication.java (new), Negation.java (+2 -2), Number.java (new), Subtraction.java (+2 -2), UnaryExpression.java (+2 -2), Variable.java (+2 -2), VariableFactory.java (+3 -2)
Generated by StatSVN 0.4.1