/SLogo14/trunk Developers: twitchard

Login name:
twitchard
Total Commits:
114 (8.8%)
Lines of Code:
1,196 (10.7%)
Most Recent Commit:
2011-12-16 07:50
Tweet this:
Tweet this

Activity by Clock Time

Activity by Hour of Day for twitchard

Activity by Day of Week for twitchard

Activity in Directories

Directory Changes Lines of Code Lines per Change
Totals 114 (100.0%) 1196 (100.0%) 10.4
src/jturtle/ 32 (28.1%) 495 (41.4%) 15.4
src/slogo/slogo/instructions/ 42 (36.8%) 198 (16.6%) 4.7
src/slogo/slogo/parser/ 12 (10.5%) 180 (15.1%) 15.0
src/slogo/jelan/parser/ 6 (5.3%) 82 (6.9%) 13.6
src/slogo/jelan/ 3 (2.6%) 56 (4.7%) 18.6
src/slogo/jelan/parser/tests/ 2 (1.8%) 42 (3.5%) 21.0
src/slogo/jelan/instructions/ 2 (1.8%) 37 (3.1%) 18.5
src/slogo/slogo/parser/tokens/ 3 (2.6%) 34 (2.8%) 11.3
src/slogo/jelan/parser/tokens/ 1 (0.9%) 22 (1.8%) 22.0
src/slogo/slogo/expressions/ 2 (1.8%) 20 (1.7%) 10.0
src/slogo/slogo/ 4 (3.5%) 20 (1.7%) 5.0
/ 2 (1.8%) 5 (0.4%) 2.5
src/jturtle/test/ 1 (0.9%) 3 (0.3%) 3.0
src/slogo/slogo/parser/tests/ 1 (0.9%) 1 (0.1%) 1.0
src/slogo/jelan/expressions/ 1 (0.9%) 1 (0.1%) 1.0

Activity of twitchard

Most Recent Commits

twitchard 2011-12-16 07:50 Rev.: 440

Print statement and interpreter now evaluates expressions to the little box at the bottom of the SandBox.

168 lines of code changed in 25 files:

  • src/jturtle: SLogoSession.java (+10 -6), TextCommander.java (new 26), TurtleSandbox.java (+89 -72)
  • src/slogo/slogo: Context.java (+3 -1), SLogoContext.java (+15 -4)
  • src/slogo/slogo/instructions: Back.java (+1 -1), Forward.java (+1 -1), Heading.java (+1 -1), HideTurtle.java (+1 -1), Home.java (+1 -1), Left.java (+1 -1), PenDown.java (+1 -1), PenDownP.java (+1 -1), PenUp.java (+1 -1), Print.java (+1 -1), Right.java (+1 -1), SetX.java (+1 -1), SetXY.java (+1 -1), SetY.java (+1 -1), ShowTurtle.java (+1 -1), Towards.java (+1 -1), XCor.java (+1 -1), YCor.java (+1 -1)
  • src/slogo/slogo/parser: SLogoInterpreter.java (+6 -3)
  • src/slogo/slogo/parser/tests: ElanInterpreterTest.java (+1 -1)
twitchard 2011-12-16 07:25 Rev.: 438

Added a nice panel for error reporting...soon will also contain print statements.

44 lines of code changed in 2 files:

  • src/jturtle: TurtleSandbox.java (+29 -9), Workspace.java (+15 -53)
twitchard 2011-12-16 06:07 Rev.: 431

98 lines of code changed in 3 files:

  • src/jturtle: ExtraWorkspace.java (del), SLogoSession.java (+7), Workspace.java (new 91)
twitchard 2011-12-16 05:35 Rev.: 429

More work on the extra workspaces.

19 lines of code changed in 1 file:

  • src/jturtle: ExtraWorkspace.java (+19 -5)
twitchard 2011-12-16 05:29 Rev.: 426

Skeleton for ExtraWorkspace.

59 lines of code changed in 1 file:

  • src/jturtle: ExtraWorkspace.java (new 59)
twitchard 2011-12-16 04:36 Rev.: 420

Subroutines are working.

10 lines of code changed in 1 file:

  • src/slogo/slogo/expressions: Variable.java (+10 -7)
twitchard 2011-12-16 04:26 Rev.: 418

Added "To" to instructions.prop

2 lines of code changed in 1 file:

  • src/slogo/slogo/parser: instructions.prop (+2 -1)
twitchard 2011-12-16 04:24 Rev.: 417

Overhauled the interpreter so instructions returned values, in order to facilitate subroutines inside of variables. It's pretty ugly--and not quite working yet.

146 lines of code changed in 27 files:

  • TurtleHist.txt (+4 -14)
  • src/slogo/slogo: GrammarElement.java (+1 -1), SLogoContext.java (+1 -1)
  • src/slogo/slogo/expressions: Variable.java (+10 -4)
  • src/slogo/slogo/instructions: Back.java (+1 -1), Forward.java (+1 -1), Heading.java (+1 -1), Home.java (+1 -1), If.java (+1 -1), Instruction.java (+1 -1), Left.java (+1 -1), PenDown.java (+1 -1), PenUp.java (+1 -1), Print.java (+1 -1), Random.java (+2 -2), Repeat.java (+2 -2), Right.java (+1 -1), SetX.java (+1 -1), SetXY.java (+1 -1), SetY.java (+1 -1), StrictInstructionList.java (+7 -3), To.java (new 61), Towards.java (+1 -1), XCor.java (+1 -1), YCor.java (+1 -1)
  • src/slogo/slogo/parser: ToParser.java (new 34)
  • src/slogo/slogo/parser/tokens: ToToken.java (new 7)
twitchard 2011-12-16 03:23 Rev.: 410

Got variable assignment to work. Made it so that expressions that are just a variable name evaluate to their values.

12 lines of code changed in 2 files:

  • src/slogo/slogo/instructions: Assignment.java (+1 -1)
  • src/slogo/slogo/parser: IdentifierParser.java (+11 -3)
twitchard 2011-12-16 03:10 Rev.: 408

Added IF statement. Woot!

104 lines of code changed in 4 files:

  • src/slogo/slogo/instructions: If.java (new 62)
  • src/slogo/slogo/parser: IfParser.java (new 33), instructions.prop (+2 -1)
  • src/slogo/slogo/parser/tokens: IfToken.java (new 7)
twitchard 2011-12-16 02:20 Rev.: 402

Added getTrueX and getTrueY to help make the Turtle compatible with the graphics thingy and the pen.

6 lines of code changed in 1 file:

  • src/jturtle: JTurtle.java (+6 -1)
twitchard 2011-12-16 01:17 Rev.: 399

Moved the setGraphics in SLogoSession that was supposed to be called by the pen from being called by TurtleCommander.

6 lines of code changed in 3 files:

  • src/jturtle: Pen.java (+4 -3), SLogoSession.java (+1 -1), TurtleCommander.java (+1 -4)
twitchard 2011-12-16 01:07 Rev.: 397

Added the work I have done on the Pen that I did on the plane. It's not functional yet.

74 lines of code changed in 6 files:

  • src/jturtle: JTurtle.java (-1), Pen.java (new 58), SLogoSession.java (+6), TurtleCommander.java (+5), TurtleField.java (+4), TurtleHistory.java (+1 -1)
twitchard 2011-12-16 01:04 Rev.: 395

Changed the error handling here to only catch ParseException...makes everything easier to debug.

3 lines of code changed in 1 file:

  • src/jturtle: TurtleSandbox.java (+3 -3)
twitchard 2011-12-15 11:20 Rev.: 385

Large changes to the interpreter in this commit. Essentially what I've done is begin to unify the "Instruction" and "Expression" types, right...so in the ELan you could type things like "3 + 7"--but in SLogo that's not valid, you have to type "SUM 3 7." I've gotten rid of the old expressions and gotten "sum" working. And you can even do cool things like "SUM 7 SUM 3 9" = 19.

140 lines of code changed in 8 files:

  • src/slogo/slogo/instructions: Sum.java (new 28)
  • src/slogo/slogo/parser: ExpressionParser.java (+51 -88), RepeatParser.java (+1 -1), SLogoInterpreter.java (+7 -4), StrictInstructionListParser.java (+1 -1), SumParser.java (new 30), instructions.prop (+2 -1)
  • src/slogo/slogo/parser/tokens: SumToken.java (new 20)
twitchard 2011-12-13 01:35 Rev.: 287

Made the zero-parameter constructor + set method for the context and turtlecommander, too. Made the main method for the interpreter better for testing.

36 lines of code changed in 4 files:

  • src/jturtle: SLogoSession.java (+5 -4), TurtleCommander.java (+4 -1), TurtleSandbox.java (+1 -1)
  • src/slogo/jelan/parser: ElanInterpreter.java (+26 -15)
twitchard 2011-12-10 20:51 Rev.: 176

Made it so Interpreter is associated with a context via setContext instead of via the constructor. Also implemented Random.

120 lines of code changed in 10 files:

  • src/jturtle: SLogoSession.java (+3 -1), TODO (new), TurtleSandbox.java (+9 -3)
  • src/slogo/jelan/expressions: Variable.java (+1 -1)
  • src/slogo/jelan/instructions: Random.java (new 36)
  • src/slogo/jelan/parser: ElanInterpreter.java (+10 -4), RandomParser.java (new 29), instructions.prop (+2 -1)
  • src/slogo/jelan/parser/tests: ElanInterpreterTest.java (+8 -2)
  • src/slogo/jelan/parser/tokens: RandomToken.java (new 22)
twitchard 2011-12-05 04:45 Rev.: 88

Got the window to display with the components drawn instead of having to resize first. Still can't figure out how to start with the turtle visible.

12 lines of code changed in 2 files:

  • src/jturtle: SLogoSession.java (+2 -1), TurtleSandbox.java (+10 -17)
twitchard 2011-12-04 19:30 Rev.: 64

Removed some extra stuff, and put back in instructions.prop so Suraj's backwards command would work.

2 lines of code changed in 2 files:

  • src/jturtle: Sandbox.java (del)
  • src/slogo/jelan/parser: instructions.prop (+2 -1)
twitchard 2011-12-04 16:03 Rev.: 54

Anton doesn't have the Session object, I'm committing it to see if he will get it.

25 lines of code changed in 1 file:

  • src/jturtle: SLogoSession.java (new 25)

(3 more)

Generated by StatSVN 0.7.0