Directory src/slogo/slogo/parser/

Directory Created:
2011-12-13 17:07
Directory Deleted:
2011-12-16 15:32
Total Files:
0
Deleted Files:
52
Lines of Code:
0

[root]/src/slogo/slogo/parser
                    Folder removed from repo tests (0 files, 0 lines)
                    Folder removed from repo tokens (0 files, 0 lines)

Lines of Code

src/slogo/slogo/parser/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 141 (100.0%) 1141 (100.0%) 8.0
bajracharyas 38 (27.0%) 676 (59.2%) 17.7
marmorsteinr 36 (25.5%) 279 (24.5%) 7.7
twitchard 12 (8.5%) 180 (15.8%) 15.0
Garrett 55 (39.0%) 6 (0.5%) 0.1

Most Recent Commits

Garrett 2011-12-16 15:32 Rev.: 447

Renamed "slogo.slogo" package and subpackages to just "slogo".

0 lines of code changed in 52 files:

  • src/slogo/slogo/parser: AssignmentParser.java (del), BKParser.java (del), BackParser.java (del), DifferenceParser.java (del), ElanInterpreter.java (del), EqualParser.java (del), ExpressionParser.java (del), FDParser.java (del), ForwardParser.java (del), GreaterParser.java (del), HeadingParser.java (del), HideTurtleParser.java (del), HomeParser.java (del), IdentifierParser.java (del), IfParser.java (del), InstructionNames.java (del), InstructionParser.java (del), LTParser.java (del), LeftParser.java (del), LessParser.java (del), MinusParser.java (del), NotEqualParser.java (del), PDParser.java (del), PUParser.java (del), ParseException.java (del), Parser.java (del), PenDownPParser.java (del), PenDownParser.java (del), PenUpParser.java (del), PrintParser.java (del), ProductParser.java (del), QuotientParser.java (del), README (del), RTParser.java (del), RandomParser.java (del), RemainderParser.java (del), RepeatParser.java (del), RightParser.java (del), SLogoInterpreter.java (del), SetXParser.java (del), SetXYParser.java (del), SetYParser.java (del), ShowTurtleParser.java (del), StrictInstructionListParser.java (del), SumParser.java (del), ToParser.java (del), Tokenizer.java (del), TowardsParser.java (del), XCorParser.java (del), YCorParser.java (del), instructions.prop (del), package.html (del)
Garrett 2011-12-16 08:43 Rev.: 442

Added the "New Workspace" button and made the 'writeStatus()' method in the TurtleCommander to make it more obvious about the use of the status window instead of going through the odd TextCommander.write() methodology.

1 lines of code changed in 1 file:

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

6 lines of code changed in 1 file:

  • src/slogo/slogo/parser: SLogoInterpreter.java (+6 -3)
bajracharyas 2011-12-16 06:36 Rev.: 435

LESS, GREATER, EQUAL and NOTEQUAL works in the command line. Also, since I needed an EqualToken, I changed the old EqualToken (the one representing the "=" sign) to EqualSignToken.

121 lines of code changed in 5 files:

  • src/slogo/slogo/parser: EqualParser.java (new 29), GreaterParser.java (new 29), LessParser.java (new 29), NotEqualParser.java (new 29), instructions.prop (+5 -1)
bajracharyas 2011-12-16 05:28 Rev.: 425

SHOWTURTLE and HIDETURTLE works in the command line!

45 lines of code changed in 3 files:

  • src/slogo/slogo/parser: HideTurtleParser.java (new 21), ShowTurtleParser.java (new 21), instructions.prop (+3 -1)
Garrett 2011-12-16 04:50 Rev.: 423

Set print() statement in a 'if (DEBUG)' block to make it easy to enable and disable the debugging mode.

4 lines of code changed in 1 file:

  • src/slogo/slogo/parser: SLogoInterpreter.java (+4 -1)
Garrett 2011-12-16 04:41 Rev.: 422

Fixed various minor warnings in Eclipse, including unnecessary imports and unused variables.

1 lines of code changed in 1 file:

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

34 lines of code changed in 1 file:

  • src/slogo/slogo/parser: ToParser.java (new 34)
bajracharyas 2011-12-16 04:24 Rev.: 416

PENDOWNP works to see if Pen is down or not. Returns 1 if pen is down. Or else, returns 0.

63 lines of code changed in 4 files:

  • src/slogo/slogo/parser: PDParser.java (new 19), PUParser.java (new 19), PenDownPParser.java (new 21), instructions.prop (+4 -1)
bajracharyas 2011-12-16 04:06 Rev.: 414

PENUP and PENDOWN commands implemented in Turtle Window.

45 lines of code changed in 3 files:

  • src/slogo/slogo/parser: PenDownParser.java (new 21), PenUpParser.java (new 21), instructions.prop (+3 -1)
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.

11 lines of code changed in 1 file:

  • src/slogo/slogo/parser: IdentifierParser.java (+11 -3)
bajracharyas 2011-12-16 03:18 Rev.: 409

TOWARDS added. Let me know if anyone finds any bugs.

33 lines of code changed in 2 files:

  • src/slogo/slogo/parser: TowardsParser.java (new 31), instructions.prop (+2 -2)
twitchard 2011-12-16 03:10 Rev.: 408

Added IF statement. Woot!

35 lines of code changed in 2 files:

  • src/slogo/slogo/parser: IfParser.java (new 33), instructions.prop (+2 -1)
bajracharyas 2011-12-16 01:06 Rev.: 396

HEADING works.

23 lines of code changed in 2 files:

  • src/slogo/slogo/parser: HeadingParser.java (new 21), instructions.prop (+2 -1)
bajracharyas 2011-12-16 00:33 Rev.: 394

HOME was giving an infinite loop. It is fixed now.

XCOR and YCOR commands are added to return the current XCordinate and YCordinate respectively in the Console.

46 lines of code changed in 4 files:

  • src/slogo/slogo/parser: HomeParser.java (+1), XCorParser.java (new 21), YCorParser.java (new 21), instructions.prop (+3 -1)
bajracharyas 2011-12-15 23:25 Rev.: 391

SETX, SETY, SETXY and HOME are working

110 lines of code changed in 6 files:

  • src/slogo/slogo/parser: HomeParser.java (new 20), SLogoInterpreter.java (-2), SetXParser.java (new 28), SetXYParser.java (new 29), SetYParser.java (new 28), instructions.prop (+5 -1)
bajracharyas 2011-12-15 17:52 Rev.: 387

DIFFERENCE, PRODUCT, QUOTIENT, MINUS and REMAINDER works as they're supposed to. But I'm kind of worried about the "QUOTIENT 0 0" giving the result "0". "REMAINDER 0 0" works fine, evaluating it to "NaN".
Also, since we needed a "MinusToken" as a command, I changed the other MinusToken (the one that represents the Character Constant "-") to "MinusSignToken".

150 lines of code changed in 6 files:

  • src/slogo/slogo/parser: DifferenceParser.java (new 29), MinusParser.java (new 28), ProductParser.java (new 29), QuotientParser.java (new 29), RemainderParser.java (new 29), instructions.prop (+6 -1)
bajracharyas 2011-12-15 16:50 Rev.: 386

LT and RT now corresponds to LEFT and RIGHT

40 lines of code changed in 3 files:

  • src/slogo/slogo/parser: LTParser.java (new 19), RTParser.java (new 19), instructions.prop (+2)
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.

92 lines of code changed in 6 files:

  • 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)
marmorsteinr 2011-12-13 17:40 Rev.: 295

Renamed ELanInterpreter to SLogoInterpreter

170 lines of code changed in 14 files:

  • src/slogo/slogo/parser: AssignmentParser.java (+1 -1), BackParser.java (+2 -2), ExpressionParser.java (+2 -2), ForwardParser.java (+2 -2), IdentifierParser.java (+1 -1), InstructionParser.java (+1 -1), LeftParser.java (+2 -2), Parser.java (+1 -1), PrintParser.java (+2 -2), RandomParser.java (+2 -2), RepeatParser.java (+1 -1), RightParser.java (+2 -2), SLogoInterpreter.java (new 150), StrictInstructionListParser.java (+1 -1)
marmorsteinr 2011-12-13 17:07 Rev.: 292

Adding slogo.slogo

109 lines of code changed in 22 files:

  • src/slogo/slogo/parser: AssignmentParser.java (new 1), BKParser.java (new), BackParser.java (new 2), ElanInterpreter.java (new), ExpressionParser.java (new 88), FDParser.java (new), ForwardParser.java (new 2), IdentifierParser.java (new 3), InstructionNames.java (new), InstructionParser.java (new 1), LeftParser.java (new 2), ParseException.java (new), Parser.java (new 1), PrintParser.java (new 2), README (new), RandomParser.java (new 2), RepeatParser.java (new 1), RightParser.java (new 2), StrictInstructionListParser.java (new 1), Tokenizer.java (new), instructions.prop (new 1), package.html (new)
Generated by StatSVN 0.7.0