Non-developer Login: sprenkle

Login name:
sprenkle
Total Commits:
2520 (85.3%)
Lines of Code:
63978 (93.9%)
Most Recent Commit:
2008-12-18 13:40

Activity by Clock Time

Activity by Hour of Day for sprenkle

Activity by Day of Week for sprenkle

Activity in Directories

Directory Changes Lines of Code Lines per Change
Totals 2520 (100.0%) 63978 (100.0%) 25.3
doc/slogo/parser/token/ 156 (6.2%) 7805 (12.2%) 50.0
doc/index-files/ 186 (7.4%) 7307 (11.4%) 39.2
doc/slogo/parser/ 90 (3.6%) 5118 (8.0%) 56.8
doc/slogo/parser/token/class-use/ 132 (5.2%) 4828 (7.5%) 36.5
doc/slogo/expression/ 78 (3.1%) 4527 (7.1%) 58.0
doc/ 99 (3.9%) 3893 (6.1%) 39.3
doc/slogo/gui/ 54 (2.1%) 3137 (4.9%) 58.0
doc/slogo/instruction/ 54 (2.1%) 3134 (4.9%) 58.0
doc/slogo/ 39 (1.5%) 3075 (4.8%) 78.8
doc/slogo/parser/class-use/ 61 (2.4%) 2668 (4.2%) 43.7
doc/slogo/expression/class-use/ 54 (2.1%) 2645 (4.1%) 48.9
doc/slogo/language/class-use/ 18 (0.7%) 2525 (3.9%) 140.2
doc/slogo/language/ 42 (1.7%) 2085 (3.3%) 49.6
doc/slogo/instruction/class-use/ 30 (1.2%) 1570 (2.5%) 52.3
doc/slogo/gui/class-use/ 30 (1.2%) 1169 (1.8%) 38.9
doc/jelan/elan/parser/token/ 78 (3.1%) 1087 (1.7%) 13.9
doc/jturtle/ 36 (1.4%) 775 (1.2%) 21.5
doc/jelan/elan/parser/ 45 (1.8%) 657 (1.0%) 14.6
src/slogo/instruction/drawing/ 56 (2.2%) 647 (1.0%) 11.5
doc/jelan/elan/expression/ 45 (1.8%) 625 (1.0%) 13.8
src/slogo/parser/ 140 (5.6%) 597 (0.9%) 4.2
doc/slogo/class-use/ 15 (0.6%) 504 (0.8%) 33.6
src/slogo/ 19 (0.8%) 457 (0.7%) 24.0
slogo_tests/ 30 (1.2%) 403 (0.6%) 13.4
src/slogo/gui/ 12 (0.5%) 349 (0.5%) 29.0
src/slogo/instruction/arithmetic/ 23 (0.9%) 320 (0.5%) 13.9
doc/jelan/elan/instruction/ 27 (1.1%) 316 (0.5%) 11.7
src/testing/ 9 (0.4%) 240 (0.4%) 26.6
doc/jelan/elan/expression/class-use/ 33 (1.3%) 201 (0.3%) 6.0
src/slogo/instruction/conditional/ 14 (0.6%) 192 (0.3%) 13.7
doc/jelan/elan/parser/token/class-use/ 66 (2.6%) 192 (0.3%) 2.9
src/slogo/parser/token/ 77 (3.1%) 174 (0.3%) 2.2
src/slogo/instruction/ 57 (2.3%) 155 (0.2%) 2.7
src/slogo/language/ 7 (0.3%) 129 (0.2%) 18.4
doc/jelan/elan/parser/class-use/ 33 (1.3%) 108 (0.2%) 3.2
doc/jelan/elan/ 21 (0.8%) 83 (0.1%) 3.9
doc/jturtle/class-use/ 24 (1.0%) 80 (0.1%) 3.3
doc/jelan/elan/instruction/class-use/ 15 (0.6%) 52 (0.1%) 3.4
src/jelan/elan/parser/ 31 (1.2%) 47 (0.1%) 1.5
src/slogo/expression/ 42 (1.7%) 44 (0.1%) 1.0
doc/jelan/elan/class-use/ 9 (0.4%) 41 (0.1%) 4.5
src/jturtle/ 7 (0.3%) 14 (0.0%) 2.0
src/jelan/simple/ 48 (1.9%) 3 (0.0%) 0.0
tests/ 14 (0.6%) 0 (0.0%) 0.0
src/slogo/gui/images/ 1 (0.0%) 0 (0.0%) 0.0
src/jturtle/images/ 2 (0.1%) 0 (0.0%) 0.0
src/jelan/elan/parser/token/ 44 (1.7%) 0 (0.0%) 0.0
src/jelan/elan/instruction/ 10 (0.4%) 0 (0.0%) 0.0
src/jelan/elan/expression/ 22 (0.9%) 0 (0.0%) 0.0
src/jelan/elan/ 6 (0.2%) 0 (0.0%) 0.0
doc/resources/ 1 (0.0%) 0 (0.0%) 0.0
doc/jelan/simple/class-use/ 46 (1.8%) 0 (0.0%) 0.0
doc/jelan/simple/ 54 (2.1%) 0 (0.0%) 0.0
bin/jturtle/images/ 2 (0.1%) 0 (0.0%) 0.0
bin/jturtle/ 20 (0.8%) 0 (0.0%) 0.0
bin/jelan/simple/ 46 (1.8%) 0 (0.0%) 0.0
bin/jelan/elan/parser/token/ 44 (1.7%) 0 (0.0%) 0.0
bin/jelan/elan/parser/ 28 (1.1%) 0 (0.0%) 0.0
bin/jelan/elan/instruction/ 10 (0.4%) 0 (0.0%) 0.0
bin/jelan/elan/expression/ 22 (0.9%) 0 (0.0%) 0.0
bin/jelan/elan/ 6 (0.2%) 0 (0.0%) 0.0

Activity of sprenkle

Most Recent Commits

sprenkle 2008-12-18 13:40 Rev.: 139

Implemented the SETPENCOLOR instruction and its associated token and parser.

Added the appropriate entries into instructions.prop and alias.prop.

101 lines of code changed in 5 files:

  • src/slogo/instruction/drawing: SetPenColor.java (new 60)
  • src/slogo/parser: SetPenColorParser.java (new 28), alias.prop (+2 -1), instructions.prop (+2 -1)
  • src/slogo/parser/token: SetPenColorToken.java (new 9)
sprenkle 2008-12-18 13:20 Rev.: 138

Added rainbowspiral.logo so that can test out the SETPENCOLOR command

Modified other Logo programs so that the variables don't use the : before their names.

Also did some formatting so easier to read.

61 lines of code changed in 7 files:

  • slogo_tests: colorSquare.logo (+5 -5), geometry.logo (+3 -3), microwave.logo (+12 -2), rainbowspiral.logo (new 30), recursion.logo (+3 -3), square.logo (+2 -2), tunnel.logo (+6 -6)
sprenkle 2008-12-17 17:05 Rev.: 137

Committed latest version of Javadocs

2874 lines of code changed in 165 files:

  • doc: allclasses-frame.html (+27 -43), allclasses-noframe.html (+27 -43), constant-values.html (+38 -20), deprecated-list.html (+2 -2), help-doc.html (+2 -2), index.html (+1 -1), overview-frame.html (+2 -4), overview-summary.html (+2 -6), overview-tree.html (+24 -29), package-list (-1), serialized-form.html (+111 -36)
  • doc/index-files: index-1.html (+11 -8), index-10.html (+9 -12), index-11.html (+60 -33), index-12.html (+10 -13), index-13.html (+10 -7), index-14.html (+31 -74), index-15.html (+2 -2), index-16.html (+21 -12), index-17.html (+48 -32), index-18.html (+85 -35), index-19.html (+13 -4), index-2.html (+3 -3), index-20.html (+7 -10), index-21.html (+2 -2), index-3.html (+30 -13), index-4.html (+6 -27), index-5.html (+38 -60), index-6.html (+9 -3), index-7.html (+38 -23), index-8.html (+6 -6), index-9.html (+30 -6)
  • doc/slogo: Main.DrawingPanel.html (+2 -2), Main.html (+339 -27), package-frame.html (+2 -2), package-summary.html (+2 -2), package-tree.html (+2 -2), package-use.html (+2 -2)
  • doc/slogo/class-use: Main.DrawingPanel.html (+2 -2), Main.html (+2 -2)
  • doc/slogo/expression: Expression.html (+3 -3), Number.html (+4 -4), UnaryExpression.html (+4 -4), Variable.html (+4 -4), VariableFactory.html (+2 -2), package-frame.html (+2 -4), package-summary.html (+2 -6), package-tree.html (+3 -3), package-use.html (+2 -79)
  • doc/slogo/expression/class-use: Expression.html (+2 -478), Number.html (+2 -2), UnaryExpression.html (+2 -2), Variable.html (+2 -2), VariableFactory.html (+2 -2)
  • doc/slogo/gui: ImageRenderer.html (+4 -4), PolyRenderer.html (+4 -4), Renderer.html (+2 -2), Turtle.html (+400 -26), TurtleListener.html (+2 -2), package-frame.html (+4 -2), package-summary.html (+9 -4), package-tree.html (+5 -4), package-use.html (+19 -12)
  • doc/slogo/gui/class-use: ImageRenderer.html (+2 -2), PolyRenderer.html (+2 -2), Renderer.html (+2 -2), Turtle.html (+51 -2), TurtleListener.html (+2 -2)
  • doc/slogo/instruction: Assignment.html (+11 -2), If.html (+42 -15), Instruction.html (+27 -5), Repeat.html (+26 -17), StrictInstructionList.html (+15 -6), package-frame.html (+4 -12), package-summary.html (+9 -23), package-tree.html (+3 -3), package-use.html (+22 -2)
  • doc/slogo/instruction/class-use: Assignment.html (+2 -2), If.html (+2 -2), Instruction.html (+75 -23), Repeat.html (+2 -2), StrictInstructionList.html (+37 -8)
  • doc/slogo/language: CharConsts.html (+2 -2), Context.html (+3 -3), GrammarElement.html (+2 -2), package-frame.html (+5 -3), package-summary.html (+8 -4), package-tree.html (+5 -5), package-use.html (+8 -2)
  • doc/slogo/language/class-use: CharConsts.html (+2 -2), Context.html (+82 -56), GrammarElement.html (+378 -76)
  • doc/slogo/parser: AssignmentParser.html (+2 -2), ExpressionParser.html (+2 -2), IdentifierParser.html (+2 -2), IfParser.html (+2 -2), InstructionNames.html (+2 -2), InstructionParser.html (+4 -4), ParseException.html (+4 -4), Parser.html (+3 -3), RepeatParser.html (+2 -2), SLogoParser.html (+96 -18), StrictInstructionListParser.html (+4 -4), package-frame.html (+6 -20), package-summary.html (+11 -40), package-tree.html (+7 -18), package-use.html (+5 -18)
  • doc/slogo/parser/class-use: AssignmentParser.html (+2 -2), ExpressionParser.html (+2 -2), IdentifierParser.html (+2 -2), InstructionNames.html (+2 -2), InstructionParser.html (+2 -2), ParseException.html (+2 -2), Parser.html (+9 -42), RepeatParser.html (+2 -2), SLogoParser.html (+12 -44), StrictInstructionListParser.html (+2 -2)
  • doc/slogo/parser/token: AssignmentToken.html (+2 -2), CharToken.html (+3 -3), CharTokenFactory.html (+2 -2), EOFToken.html (+4 -4), EOLToken.html (+2 -2), EqualToken.html (+10 -12), IdentifierToken.html (+2 -2), IfToken.html (+4 -4), LeftBracketToken.html (+4 -4), LeftParenToken.html (+2 -2), MinusToken.html (+14 -16), NumberToken.html (+2 -2), PlusToken.html (+2 -2), RepeatToken.html (+2 -2), ReservedToken.html (+3 -3), RightBracketToken.html (+2 -2), RightParenToken.html (+2 -2), SlashToken.html (+2 -2), StarToken.html (+2 -2), Token.html (+3 -3), TokenFactory.html (+62 -2), VariableToken.html (+2 -2), package-frame.html (+6 -10), package-summary.html (+8 -17), package-tree.html (+4 -5), package-use.html (+40 -9)
  • doc/slogo/parser/token/class-use: AssignmentToken.html (+2 -2), CharToken.html (+4 -4), CharTokenFactory.html (+2 -2), EOFToken.html (+2 -2), EOLToken.html (+2 -2), EqualToken.html (+2 -2), IdentifierToken.html (+59 -2), IfToken.html (+2 -2), LeftBracketToken.html (+2 -2), LeftParenToken.html (+2 -2), MinusToken.html (+2 -2), NumberToken.html (+2 -2), PlusToken.html (+2 -2), RepeatToken.html (+2 -2), ReservedToken.html (+9 -17), RightBracketToken.html (+2 -2), RightParenToken.html (+2 -2), SlashToken.html (+2 -2), StarToken.html (+2 -2), Token.html (+12 -29), TokenFactory.html (+2 -2), VariableToken.html (+2 -2)
sprenkle 2008-12-17 17:02 Rev.: 136

Updated spiral.logo script

13 lines of code changed in 1 file:

  • slogo_tests: spiral.logo (+13 -8)
sprenkle 2008-12-17 16:57

Removed unnecessary imports

0 lines of code changed in 2 files:

  • src/slogo/instruction: If.java (-1), Repeat.java (-1)
sprenkle 2008-12-17 16:57 Rev.: 133

Removed unnecessary imports

0 lines of code changed in 1 file:

  • src/slogo/parser: TowardsParser.java (-2)
sprenkle 2008-12-17 16:43 Rev.: 132

Added a few more tests to SLogoParserTest

2 lines of code changed in 2 files:

  • src/slogo/parser: SLogoParser.java (+1)
  • src/testing: SLogoParserTest.java (+1)
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

310 lines of code changed in 63 files:

  • src/slogo: Main.java (+1 -11)
  • src/slogo/expression: Variable.java (+10 -2)
  • src/slogo/gui: Turtle.java (+10 -1)
  • src/slogo/instruction: If.java (+12 -6), Instruction.java (+3 -2), Repeat.java (+1 -1), To.java (+1 -5)
  • src/slogo/instruction/arithmetic: ArithmeticInstruction.java (+5 -1), Division.java (+3 -3), Multiplication.java (+3 -3), Negation.java (+2 -2), Remainder.java (+5 -4), Subtraction.java (+5 -3)
  • src/slogo/instruction/conditional: ConditionalInstruction.java (+21 -5), Equal.java (+6 -3), Greater.java (+6 -3), Less.java (+6 -3), NotEqual.java (+8 -5)
  • src/slogo/instruction/drawing: Back.java (+3 -4), Clean.java (-7), ClearScreen.java (+5 -4), Forward.java (+6 -4), Heading.java (+4 -4), HideTurtle.java (-1), Home.java (+1 -5), IsPenDown.java (+7 -3), Left.java (+9 -7), Right.java (+3 -5), SetX.java (+1 -2), Towards.java (+9 -9)
  • src/slogo/language: SubroutineFactory.java (-2)
  • src/slogo/parser: BackParser.java (+1 -4), CleanParser.java (-1), DifferenceParser.java (+4 -6), EqualParser.java (+4 -6), ForwardParser.java (+1 -6), GreaterParser.java (+6 -7), HideTurtleParser.java (-1), HomeParser.java (-1), IdentifierParser.java (+2 -2), IfParser.java (+2 -21), IsPenDownParser.java (-2), LeftParser.java (+1 -4), LessParser.java (+4 -6), MinusParser.java (+1 -4), NotEqualParser.java (+4 -6), NumericExpressionParser.java (-1), PenDownParser.java (-2), ProductParser.java (+4 -6), QuotientParser.java (+4 -6), RemainderParser.java (+4 -6), RepeatParser.java (+4 -7), RightParser.java (+1 -4), SLogoParser.java (+33 -2), SetXParser.java (+1 -4), SetXYParser.java (+4 -7), SetYParser.java (+1 -5), SumParser.java (+5 -6), ToParser.java (+3 -6), TowardsParser.java (+5 -5)
  • src/slogo/parser/token: EOLToken.java (del), TokenFactory.java (-2)
  • src/testing: SLogoParserTest.java (+55 -14)
sprenkle 2008-12-17 14:10 Rev.: 130

Updated SetXYParser to use GrammarElements instead of Expressions

Updated many instructions to inherit from the OneParameterInstruction (better code reuse)

Removed a print statement from Main.java (no longer prints when the user cancels Opening a file)

79 lines of code changed in 11 files:

  • src/slogo: Main.java (+52 -60)
  • src/slogo/instruction: Instruction.java (+2 -2), Repeat.java (+1 -1)
  • src/slogo/instruction/drawing: Back.java (+1 -1), Forward.java (+1 -1), Left.java (+1 -1), Right.java (+1 -1), SetX.java (+1 -1), SetXY.java (+13 -9), SetY.java (+1 -1)
  • src/slogo/parser: SetXYParser.java (+5 -4)
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)

617 lines of code changed in 60 files:

  • src/slogo: Main.java (+14 -1)
  • src/slogo/expression: SubroutineFactory.java (del)
  • src/slogo/gui: Turtle.java (+105 -75)
  • src/slogo/instruction: If.java (+20 -4), Instruction.java (+15), Repeat.java (+7 -5), To.java (+1 -1)
  • src/slogo/instruction/arithmetic: Addition.java (+2 -2), ArithmeticExpression.java (del), ArithmeticInstruction.java (new 80), Division.java (+2 -2), Multiplication.java (+2 -2), NumericInstruction.java (new 14), Remainder.java (+2 -2), Subtraction.java (+2 -2)
  • src/slogo/instruction/conditional: ConditionalInstruction.java (new 21), Equal.java (+7 -9), Greater.java (+8 -10), Less.java (+8 -9), NotEqual.java (+7 -9)
  • src/slogo/instruction/drawing: Back.java (+4 -8), Forward.java (+8 -8), Heading.java (+8 -4), HideTurtle.java (+4 -1), Left.java (+4 -4), OneParameterInstruction.java (new 18), Right.java (+9 -7), SetX.java (+12 -10), SetY.java (+9 -8), XCor.java (+6 -4), YCor.java (+6 -4)
  • src/slogo/language: GrammarElement.java (-1), SubroutineFactory.java (new 43)
  • src/slogo/parser: AssignmentParser.java (+2 -3), BackParser.java (+1 -1), DifferenceParser.java (+1 -1), EqualParser.java (+1 -1), ExpressionParser.java (del), ForwardParser.java (+4 -2), GreaterParser.java (+1 -1), IdentifierParser.java (+2 -2), IfParser.java (+23 -3), LeftParser.java (+1 -1), LessParser.java (+1 -1), MinusParser.java (+1 -1), NotEqualParser.java (+1 -1), NumericExpressionParser.java (new 68), ProductParser.java (+1 -1), QuotientParser.java (+1 -1), RemainderParser.java (+1 -1), RepeatParser.java (+2 -2), RightParser.java (+1 -1), SLogoParser.java (+2 -3), SetXParser.java (+4 -4), SetXYParser.java (+1 -1), SetYParser.java (+4 -3), SumParser.java (+1 -1), TowardsParser.java (+1 -1)
  • src/testing: InstructionTest.java (+2 -1), SLogoParserTest.java (+41 -1)
sprenkle 2008-12-12 14:02 Rev.: 125

Removed some other debugging print statements from TokenFactory.

0 lines of code changed in 1 file:

  • src/slogo/parser/token: TokenFactory.java (-3)
sprenkle 2008-12-12 13:44 Rev.: 124

Deleted a bunch of the debugging/print statements from TokenFactory.java

3 lines of code changed in 1 file:

  • src/slogo/parser/token: TokenFactory.java (+3 -4)
sprenkle 2008-12-11 15:48 Rev.: 119

Created a new/neat SLogo test program.

22 lines of code changed in 1 file:

  • slogo_tests: spiral.logo (new 22)
sprenkle 2008-12-11 13:22 Rev.: 118

Minor change to SLogoParserTest
- made Turtle object accessible to all tests.

3 lines of code changed in 1 file:

  • src/testing: SLogoParserTest.java (+3 -1)
sprenkle 2008-12-10 15:28 Rev.: 93

Added a little more error handling in GUI for user commands.
- need to handle "other" exceptions besides the parse exceptions

6 lines of code changed in 1 file:

  • src/slogo: Main.java (+6 -1)
sprenkle 2008-12-10 15:23 Rev.: 92

Modified SLogoParser so that the parse method (now called "interpret") returns the value from executing the last statement.
- updated related methods as appropriate

Added tests to SLogoParserTest for subroutines

Modified some arithmetic-related SLogoParserTests to leverage that interpret returns a result, so now uses the assert statements to verify the results

Modified Main
- to use SLogoParser's new interpret method
- does not throw runtime nullpointer exceptions if the result of executing the command is null.

99 lines of code changed in 3 files:

  • src/slogo: Main.java (+20 -11)
  • src/slogo/parser: SLogoParser.java (+24 -20)
  • src/testing: SLogoParserTest.java (+55 -26)
sprenkle 2008-12-05 18:13 Rev.: 81

Added more tests to test the SLogoParser

20 lines of code changed in 1 file:

  • src/testing: SLogoParserTest.java (+20)
sprenkle 2008-12-05 18:12 Rev.: 80

Adding mappings from lower case commands to uppercase commands.

31 lines of code changed in 1 file:

  • src/slogo/parser/token: TokenFactory.java (+31 -6)
sprenkle 2008-12-05 18:00 Rev.: 79

Added a properties file that contains the mappings of commands (shorthand) to the actual command.
-- mapped this way so that can have multiple aliases for the same commands.

51 lines of code changed in 2 files:

  • src/slogo/parser: alias.prop (new 10)
  • src/slogo/parser/token: TokenFactory.java (+41 -1)
sprenkle 2008-12-04 19:19 Rev.: 70

Renamed To class to Subroutine class

18 lines of code changed in 3 files:

  • src/slogo/instruction: Repeat.java (+1 -2), Subroutine.java (new 17), To.java (del)

(23 more)

Generated by StatSVN 0.4.1