Directory src/slogo/parser/

Directory Created:
2013-11-18 09:46
Total Files:
46
Deleted Files:
1
Lines of Code:
1822

[root]/src/slogo/parser
                directory in repo token (52 files, 1084 lines)

Lines of Code

src/slogo/parser/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 153 (100.0%) 1428 (100.0%) 9.3
tobind 64 (41.8%) 775 (54.3%) 12.1
kimberlya 39 (25.5%) 311 (21.8%) 7.9
mugabej 45 (29.4%) 261 (18.3%) 5.8
walkerc 5 (3.3%) 81 (5.7%) 16.2

Most Recent Commits

mugabej 2013-12-13 19:34 Rev.: 529

Changed the way we accessed the user subroutines text area so that our fields stay private and hence stay closed to modification. Also, removed some unused imports. Should be all from me. Nice job everyone! #TheRainbowSprenkles

0 lines of code changed in 3 files:

  • src/slogo/parser: MinusParser.java (-1), RepeatParser.java (-1), SetYParser.java (-1)
mugabej 2013-12-13 18:24 Rev.: 525

Committed all of the files that had been changed. The last commit hadn't committed them. #TheRainbowSprenkles

0 lines of code changed in 3 files:

  • src/slogo/parser: IfParser.java (-1), PrintParser.java (-1), RemainderParser.java (-1)
kimberlya 2013-12-13 13:26 Rev.: 482

Small fix in SubroutineFactory and fixed typo in Instructions.prop

1 lines of code changed in 1 file:

  • src/slogo/parser: instructions.prop (+1 -1)
kimberlya 2013-12-13 12:58

1 lines of code changed in 3 files:

  • src/slogo/parser: DifferenceParser.java (-1), ProductParser.java (-1), instructions.prop (+1 -1)
kimberlya 2013-12-13 12:57 Rev.: 478

SumParser

0 lines of code changed in 1 file:

  • src/slogo/parser: SumParser.java (-1)
kimberlya 2013-12-13 12:49 Rev.: 475

Attempt to re-committ ToParser

34 lines of code changed in 1 file:

  • src/slogo/parser: ToParser.java (new 34)
kimberlya 2013-12-12 18:48 Rev.: 414

ExpressionParser committed

2 lines of code changed in 1 file:

  • src/slogo/parser: ExpressionParser.java (+2 -1)
kimberlya 2013-12-12 18:47 Rev.: 413

GrammarElementParser committed.

18 lines of code changed in 1 file:

  • src/slogo/parser: GrammarElementParser.java (+18 -12)
kimberlya 2013-12-12 18:47 Rev.: 412

IdentifierParser being committed

17 lines of code changed in 1 file:

  • src/slogo/parser: IdentifierParser.java (+17 -6)
kimberlya 2013-12-12 18:40 Rev.: 411

Committing instructions.prop

2 lines of code changed in 1 file:

  • src/slogo/parser: instructions.prop (+2 -1)
tobind 2013-12-12 02:44 Rev.: 383

Implementing GrammarElement. #therainbowsprenkles

60 lines of code changed in 19 files:

  • src/slogo/parser: CleanParser.java (+2 -2), ClearParser.java (del), CsParser.java (+2 -2), HeadingParser.java (+2 -2), HomeParser.java (+2 -2), HtParser.java (+2 -2), IfParser.java (+1 -5), NotEqualParser.java (+7 -7), PdParser.java (+2 -2), PenDownPParser.java (+2 -2), PrintParser.java (+5 -6), PuParser.java (+2 -2), RepeatParser.java (+6 -6), SetXParser.java (-1), SetXYParser.java (+6 -7), SumParser.java (+9 -9), TowardsParser.java (+6 -7), XcorParser.java (+2 -2), YcorParser.java (+2 -2)
tobind 2013-12-12 01:50 Rev.: 380

More GrammarElement instead of Expression.

#TheRainbowSprenkles

30 lines of code changed in 5 files:

  • src/slogo/parser: DifferenceParser.java (+6 -6), MinusParser.java (+5 -5), ProductParser.java (+6 -6), QuotientParser.java (+7 -7), RemainderParser.java (+6 -6)
kimberlya 2013-12-12 00:14 Rev.: 372

Equal is working with full functionality.
Important note to self/team: All commands that return a number (even just 0 or 1) must return a double value (so 0.0 and 1.0)!

0 lines of code changed in 1 file:

  • src/slogo/parser: EqualParser.java (-1)
tobind 2013-12-12 00:11 Rev.: 371

Changed Greater, GreaterParser, Less, LessParser to use GrammarElement

#theRainbowSprenkles

19 lines of code changed in 2 files:

  • src/slogo/parser: GreaterParser.java (+9 -11), LessParser.java (+10 -12)
kimberlya 2013-12-11 23:41 Rev.: 370

Implemented GrammarElementParser on getx and gety. Fixed cs and clean ArrayIndexOutOfBoundsException

14 lines of code changed in 4 files:

  • src/slogo/parser: InstructionParser.java (-2), SLogoParser.java (+1 -1), SetXParser.java (+8 -5), SetYParser.java (+5 -5)
tobind 2013-12-11 23:19 Rev.: 368

Committing the if command instruction, parser, token.

Committing the changes from Expression to GrammarElement for the Equal instruction and parser.

Committing the instructions.prop file.

85 lines of code changed in 3 files:

  • src/slogo/parser: EqualParser.java (+6 -6), IfParser.java (new 77), instructions.prop (+2 -1)
tobind 2013-12-11 21:34 Rev.: 366

committing the towards command the new instructions.prop file

33 lines of code changed in 2 files:

  • src/slogo/parser: TowardsParser.java (new 31), instructions.prop (+2 -1)
mugabej 2013-12-11 11:20 Rev.: 334

Added the NotEqual? command. #TheRainbowSprenkles

34 lines of code changed in 3 files:

  • src/slogo/parser: EqualParser.java (+1 -1), NotEqualParser.java (new 31), instructions.prop (+2 -1)
mugabej 2013-12-11 11:14 Rev.: 332

Added the Equal? command. #TheRainbowSprenkles

33 lines of code changed in 2 files:

  • src/slogo/parser: EqualParser.java (new 31), instructions.prop (+2 -1)
mugabej 2013-12-11 11:12 Rev.: 331

Committing files that hadn't been committed when I added the Greater? command. #TheRainbowSprenkles

39 lines of code changed in 6 files:

  • src/slogo/parser: DifferenceParser.java (+1 -1), GreaterParser.java (new 32), InstructionParser.java (+2 -3), LessParser.java (+1 -1), SLogoParser.java (+1 -5), instructions.prop (+2 -1)
mugabej 2013-12-11 00:27 Rev.: 315

Added Less? num1 num2 command. Also, removed the sorting of aliases as it was leading to incorrect matchings. Instead, each added alias must be put at the end of the appropriate array so that the matchings will heavily depend on the positions of instructions in the respective arrays. #TheRainbowSprenkles

34 lines of code changed in 2 files:

  • src/slogo/parser: LessParser.java (new 32), instructions.prop (+2 -1)
mugabej 2013-12-06 12:54 Rev.: 251

Added the minus token to the instructions.prop file. Committing the current working copy we have just tested for the in class demo to come. #TheRainbowSprenkles

5 lines of code changed in 3 files:

  • src/slogo/parser: InstructionParser.java (+2), MinusParser.java (+1 -1), instructions.prop (+2 -1)
tobind 2013-12-05 15:34 Rev.: 212

Added helper method in Jturtle for the pendownp command.

Added alias for pendownpcommand.

Added comments in PenDownP.java, PenDownPToken.java, QuotientParser.java, MinusToken.java

1 lines of code changed in 1 file:

  • src/slogo/parser: QuotientParser.java (+1 -1)
tobind 2013-12-05 15:25 Rev.: 211

PenDownP command.

Right now, I just have it printing to the console. 1 = true, 0 = false.

At some point, we can work on the gui and having return statements print to there.

#therainbowsprenkles

27 lines of code changed in 2 files:

  • src/slogo/parser: PenDownPParser.java (new 25), instructions.prop (+2 -1)
tobind 2013-12-05 13:13 Rev.: 209

Adding clearscreen command.
Fixed the toString method in Clean.

#TheRainbowSprenkles

28 lines of code changed in 2 files:

  • src/slogo/parser: CsParser.java (new 26), instructions.prop (+2 -1)
walkerc 2013-12-04 16:34 Rev.: 204

Although Pd is not yet perfect (I must figure out how to get the line to draw once more; I'm pretty close) I am finished for the day and it hasn't broken anything so I will commit it! I have implemented Pu, Pd, and Clean. This should also include their respective parsers and tokens and the updated instructions list. I have not changed the program to allow the user to type in PenUp or PenDown yet, but I can mess with this later.

Pd draws lines, Pu stops drawing lines (but keeps them on the screen), and Clean removes all the lines.

#TheRainbowSprenkles

54 lines of code changed in 4 files:

  • src/slogo/parser: CleanParser.java (new 25), PdParser.java (-2), PuParser.java (new 25), instructions.prop (+4 -1)
tobind 2013-12-04 01:53 Rev.: 201

Working on Clear and Minus commands. neither are on the instructions.prop list yet because Clear will mainly deal with clearing the pen trail (which I can't test yet) and I have a question about minus. #TheRainbowSprenkles

57 lines of code changed in 2 files:

  • src/slogo/parser: ClearParser.java (new 26), MinusParser.java (new 31)
tobind 2013-12-03 22:04 Rev.: 195

Fixed something in QuotientParser.
Forgot to commit the mod expression.
#therainbowsprenkles

1 lines of code changed in 1 file:

  • src/slogo/parser: QuotientParser.java (+1 -1)
tobind 2013-12-03 22:02 Rev.: 194

added remainder command #therainbowsprenkles

33 lines of code changed in 2 files:

  • src/slogo/parser: RemainderParser.java (new 31), instructions.prop (+2 -1)
tobind 2013-12-03 19:31 Rev.: 180

Adding product and quotient commands.

#TheRainbowSprenkles

63 lines of code changed in 3 files:

  • src/slogo/parser: InstructionParser.java (+1), ProductParser.java (new 31), QuotientParser.java (new 31)
mugabej 2013-12-03 18:19 Rev.: 177

Remove unused imports in most of the files. #TheRainbowSprenkles

0 lines of code changed in 5 files:

  • src/slogo/parser: BkParser.java (-1), FdParser.java (-1), HeadingParser.java (-3), LtParser.java (-2), RtParser.java (-2)
tobind 2013-12-03 16:55 Rev.: 176

added Sum and Difference commands
Works with "fd sum 10 10", other tests.
Also, I'm finally remembering to commit instructions.prop at the same time!

#TheRainbowSprenkles

67 lines of code changed in 3 files:

  • src/slogo/parser: DifferenceParser.java (new 31), SumParser.java (new 31), instructions.prop (+5 -1)
kimberlya 2013-12-03 14:55 Rev.: 175

Changed Heading command so that it returns a double. Modified the Fd, Bk, Rt, and Lt commands and their respective parsers to use the GrammarElementParser class instead of ExpressionParser so that we can call commands such as 'bk heading' or 'lt xcor'. Design is cleaned up and neat, and everything is fully functioning.

20 lines of code changed in 4 files:

  • src/slogo/parser: BkParser.java (+5 -5), FdParser.java (+3 -4), LtParser.java (+6 -5), RtParser.java (+6 -5)
walkerc 2013-12-02 23:53 Rev.: 169

We now have the beginnings of a test (feel free to rename it and add to it if you get bored)

Also, we have the Pd token and parser, but I still need to implement Pd itself; I have committed the beginning of it so you can see it, but it still needs work.

#TheRainbowSprenkles

27 lines of code changed in 1 file:

  • src/slogo/parser: PdParser.java (new 27)
tobind 2013-12-02 23:50 Rev.: 167

Added st and ht commands

#TheRainbowSprenkles

55 lines of code changed in 3 files:

  • src/slogo/parser: HtParser.java (new 26), StParser.java (new 26), instructions.prop (+3 -1)
kimberlya 2013-12-02 23:45 Rev.: 166

GrammarElementParser is functioning as desired. Applied GrammarElementParser successfully to the Fd command, which can now move Fd 50 or Fd heading. The logic in Fd.java uses an if/else statement to determine if the Object returned by evaluate is a Double or Integer, which most likely is sub-optimal design to be looked at in the near future. #TheRainbowSprenkles

0 lines of code changed in 1 file:

  • src/slogo/parser: GrammarElementParser.java (-1)
kimberlya 2013-12-02 23:24 Rev.: 165

Implemented the Heading command. Partial implementation of GrammarElementParser made. New parser is applied to Fd command, Fd Heading works correctly, but there are some bugs with regular Fd commands (i.e. Fd 50). #TheRainbowSprenkles

87 lines of code changed in 2 files:

  • src/slogo/parser: FdParser.java (+4 -4), GrammarElementParser.java (new 83)
mugabej 2013-12-02 21:25 Rev.: 159

Removed unused imports in the slogo.parser package. Also suppressed some warnings that could confuse us. #TheRainbowSprenkles

3 lines of code changed in 7 files:

  • src/slogo/parser: BkParser.java (-1), HomeParser.java (-3), InstructionParser.java (+2 -2), LtParser.java (-2), RtParser.java (-1), SLogoParser.java (+1), SetXYParser.java (-2)
kimberlya 2013-12-02 20:58 Rev.: 156

Resolving conflict in instructions file

33 lines of code changed in 3 files:

  • src/slogo/parser: FdParser.java (+1), HeadingParser.java (new 30), instructions.prop (+2)
mugabej 2013-12-02 19:07 Rev.: 155

Added the YCor Command. Also removed the turtle.move(0) statement in Xcor #TheRainbowSprenkles

27 lines of code changed in 2 files:

  • src/slogo/parser: YcorParser.java (new 25), instructions.prop (+2 -1)

(24 more)

Generated by StatSVN 0.7.0