Directory src/slogo/slogo/parser/tokens/

Directory Deleted:
2011-12-16 15:32
Total Files:
0
Deleted Files:
59
Lines of Code:
0

[root]/src/slogo/slogo/parser/tokens

Lines of Code

src/slogo/slogo/parser/tokens/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 158 (100.0%) 624 (100.0%) 3.9
bajracharyas 37 (23.4%) 589 (94.4%) 15.9
twitchard 3 (1.9%) 34 (5.4%) 11.3
Garrett 60 (38.0%) 1 (0.2%) 0.0
marmorsteinr 58 (36.7%) 0 (0.0%) 0.0

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 59 files:

  • src/slogo/slogo/parser/tokens: AssignmentToken.java (del), BKToken.java (del), BackToken.java (del), CharToken.java (del), CharTokenFactory.java (del), DifferenceToken.java (del), EOFToken.java (del), EOLToken.java (del), EqualSignToken.java (del), EqualToken.java (del), FDToken.java (del), ForwardToken.java (del), GreaterToken.java (del), HeadingToken.java (del), HideTurtleToken.java (del), HomeToken.java (del), IdentifierToken.java (del), IfToken.java (del), LTToken.java (del), LeftBracketToken.java (del), LeftParenToken.java (del), LeftToken.java (del), LessToken.java (del), MinusSignToken.java (del), MinusToken.java (del), NegatizeToken.java (del), NotEqualToken.java (del), NumberToken.java (del), PDToken.java (del), PUToken.java (del), PenDownPToken.java (del), PenDownToken.java (del), PenUpToken.java (del), PlusToken.java (del), PrintToken.java (del), ProductToken.java (del), QuotientToken.java (del), RTToken.java (del), RandomToken.java (del), RemainderToken.java (del), RepeatToken.java (del), ReservedToken.java (del), RightBracketToken.java (del), RightParenToken.java (del), RightToken.java (del), SetXToken.java (del), SetXYToken.java (del), SetYToken.java (del), ShowTurtleToken.java (del), SlashToken.java (del), StarToken.java (del), SumToken.java (del), ToToken.java (del), Token.java (del), TokenFactory.java (del), TowardsToken.java (del), VariableToken.java (del), XCorToken.java (del), YCorToken.java (del)
Garrett 2011-12-16 07:42 Rev.: 439

Made parser be case-insensitive so that lowercase commands are executed as well as uppercase commands.

1 lines of code changed in 1 file:

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

90 lines of code changed in 6 files:

  • src/slogo/slogo/parser/tokens: CharTokenFactory.java (+1 -1), EqualSignToken.java (new 9), EqualToken.java (+20 -9), GreaterToken.java (new 20), LessToken.java (new 20), NotEqualToken.java (new 20)
bajracharyas 2011-12-16 05:28 Rev.: 425

SHOWTURTLE and HIDETURTLE works in the command line!

44 lines of code changed in 2 files:

  • src/slogo/slogo/parser/tokens: HideTurtleToken.java (new 22), ShowTurtleToken.java (new 22)
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.

7 lines of code changed in 1 file:

  • src/slogo/slogo/parser/tokens: ToToken.java (new 7)
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.

60 lines of code changed in 3 files:

  • src/slogo/slogo/parser/tokens: PDToken.java (new 19), PUToken.java (new 19), PenDownPToken.java (new 22)
bajracharyas 2011-12-16 04:06 Rev.: 414

PENUP and PENDOWN commands implemented in Turtle Window.

44 lines of code changed in 2 files:

  • src/slogo/slogo/parser/tokens: PenDownToken.java (new 22), PenUpToken.java (new 22)
bajracharyas 2011-12-16 03:18 Rev.: 409

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

22 lines of code changed in 1 file:

  • src/slogo/slogo/parser/tokens: TowardsToken.java (new 22)
twitchard 2011-12-16 03:10 Rev.: 408

Added IF statement. Woot!

7 lines of code changed in 1 file:

  • src/slogo/slogo/parser/tokens: IfToken.java (new 7)
bajracharyas 2011-12-16 01:06 Rev.: 396

HEADING works.

22 lines of code changed in 1 file:

  • src/slogo/slogo/parser/tokens: HeadingToken.java (new 22)
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.

44 lines of code changed in 2 files:

  • src/slogo/slogo/parser/tokens: XCorToken.java (new 22), YCorToken.java (new 22)
bajracharyas 2011-12-15 23:25 Rev.: 391

SETX, SETY, SETXY and HOME are working

92 lines of code changed in 8 files:

  • src/slogo/slogo/parser/tokens: BackToken.java (+1 -1), HomeToken.java (new 22), LTToken.java (+1 -1), LeftToken.java (+1 -1), RightToken.java (+1 -1), SetXToken.java (new 22), SetXYToken.java (new 22), SetYToken.java (new 22)
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".

125 lines of code changed in 8 files:

  • src/slogo/slogo/parser/tokens: CharTokenFactory.java (+1 -1), DifferenceToken.java (new 20), MinusSignToken.java (new 9), MinusToken.java (+15 -4), NegatizeToken.java (new 20), ProductToken.java (new 20), QuotientToken.java (new 20), RemainderToken.java (new 20)
bajracharyas 2011-12-15 16:50 Rev.: 386

LT and RT now corresponds to LEFT and RIGHT

46 lines of code changed in 4 files:

  • src/slogo/slogo/parser/tokens: LTToken.java (new 19), LeftToken.java (+4), RTToken.java (new 19), RightToken.java (+4 -1)
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.

20 lines of code changed in 1 file:

  • src/slogo/slogo/parser/tokens: SumToken.java (new 20)
marmorsteinr 2011-12-13 17:07 Rev.: 292

Adding slogo.slogo

0 lines of code changed in 58 files:

  • src/slogo/slogo/parser/tokens: AssignmentToken.java (changed), BKToken.java (new), BackToken.java (changed), CharToken.java (new), CharTokenFactory.java (changed), EOFToken.java (new), EOLToken.java (changed), EqualToken.java (changed), FDToken.java (new), ForwardToken.java (changed), IdentifierToken.java (changed), LeftBracketToken.java (changed), LeftParenToken.java (new), LeftToken.java (changed), MinusToken.java (new), NumberToken.java (changed), PlusToken.java (new), PrintToken.java (new), RandomToken.java (changed), RepeatToken.java (new), ReservedToken.java (changed), RightBracketToken.java (new), RightParenToken.java (new), RightToken.java (new), SlashToken.java (new), StarToken.java (new), Token.java (new), TokenFactory.java (changed), VariableToken.java (new)
Generated by StatSVN 0.7.0