Directory src/slogo/instruction/

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

[root]/src/slogo/instruction

Lines of Code

src/slogo/instruction/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 129 (100.0%) 2204 (100.0%) 17.0
tobind 54 (41.9%) 1248 (56.6%) 23.1
mugabej 39 (30.2%) 420 (19.1%) 10.7
kimberlya 31 (24.0%) 397 (18.0%) 12.8
walkerc 5 (3.9%) 139 (6.3%) 27.8

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

1 lines of code changed in 1 file:

  • src/slogo/instruction: To.java (+1 -3)
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

7 lines of code changed in 1 file:

  • src/slogo/instruction: To.java (+7)
mugabej 2013-12-13 16:48 Rev.: 517

Got Rid of the unused import in the slogo.instrcuction package. #TheRainbowSprenkles

1 lines of code changed in 8 files:

  • src/slogo/instruction: Less.java (-1), Minus.java (-1), NotEqual.java (-1), Quotient.java (-1), SetX.java (+1 -1), SetXY.java (-1), SetY.java (-1), To.java (-1)
tobind 2013-12-13 15:37 Rev.: 497

Comments and fixing toString()

109 lines of code changed in 11 files:

  • src/slogo/instruction: Bk.java (+7 -5), Clean.java (+5 -5), Cs.java (+1 -2), Equal.java (+15 -11), Fd.java (+13 -15), Greater.java (+14 -12), Heading.java (+6 -9), Home.java (+4 -3), Ht.java (+2 -2), If.java (+39 -31), Instruction.java (+3 -2)
kimberlya 2013-12-13 12:48 Rev.: 474

Attempt to commit To instruction.

43 lines of code changed in 1 file:

  • src/slogo/instruction: To.java (new 43)
tobind 2013-12-12 17:21 Rev.: 408

Fixed a casting between double and integer problem in Repeat.

#therainbowsprenkles

1 lines of code changed in 1 file:

  • src/slogo/instruction: Repeat.java (+1 -1)
tobind 2013-12-12 02:44 Rev.: 383

Implementing GrammarElement. #therainbowsprenkles

45 lines of code changed in 7 files:

  • src/slogo/instruction: Clear.java (del), NotEqual.java (+10 -12), Print.java (+12 -13), Repeat.java (+9 -10), SetX.java (+1 -1), SetY.java (+1 -1), Towards.java (+12 -12)
tobind 2013-12-12 01:50 Rev.: 380

More GrammarElement instead of Expression.

#TheRainbowSprenkles

13 lines of code changed in 1 file:

  • src/slogo/instruction: Remainder.java (+13 -17)
tobind 2013-12-12 01:38 Rev.: 379

Implemented GrammarElement in Minus and Quotient.
Fixed toString in Greater and Less.
#therainbowsprenkles

18 lines of code changed in 4 files:

  • src/slogo/instruction: Greater.java (+2 -5), Less.java (+2 -5), Minus.java (+6 -7), Quotient.java (+8 -10)
kimberlya 2013-12-12 01:29 Rev.: 377

Implemented SUM DIFFERENCE and PRODUCT with GrammarElementParser.

52 lines of code changed in 4 files:

  • src/slogo/instruction: Difference.java (+14 -15), Product.java (+13 -15), SetXY.java (+13 -9), Sum.java (+12 -13)
tobind 2013-12-12 01:12 Rev.: 376

Changed return values to doubles instead of integers.

#TheRainbowSprenkles

4 lines of code changed in 2 files:

  • src/slogo/instruction: Greater.java (+2 -2), Less.java (+2 -2)
kimberlya 2013-12-12 00:49 Rev.: 375

Modified the If command so that it's fully functional.

5 lines of code changed in 1 file:

  • src/slogo/instruction: If.java (+5 -18)
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)!

7 lines of code changed in 1 file:

  • src/slogo/instruction: Equal.java (+7 -11)
tobind 2013-12-12 00:11 Rev.: 371

Changed Greater, GreaterParser, Less, LessParser to use GrammarElement

#theRainbowSprenkles

41 lines of code changed in 2 files:

  • src/slogo/instruction: Greater.java (+21 -15), Less.java (+20 -14)
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 3 files:

  • src/slogo/instruction: Cs.java (+2 -1), SetX.java (+6 -4), SetY.java (+6 -4)
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.

74 lines of code changed in 2 files:

  • src/slogo/instruction: Equal.java (+15 -9), If.java (new 59)
tobind 2013-12-11 21:34 Rev.: 366

committing the towards command the new instructions.prop file

66 lines of code changed in 1 file:

  • src/slogo/instruction: Towards.java (new 66)
mugabej 2013-12-11 11:46 Rev.: 338

Changed the NotEqual? command to return 1 if num1 is NotEqual to num2, 0 otherwise. #TheRainbowSprenkles

5 lines of code changed in 1 file:

  • src/slogo/instruction: NotEqual.java (+5 -4)
mugabej 2013-12-11 11:46 Rev.: 337

Changed the Less? command to return 1 if num1 is Less than num2, 0 otherwise. #TheRainbowSprenkles

4 lines of code changed in 1 file:

  • src/slogo/instruction: Less.java (+4 -3)
mugabej 2013-12-11 11:45 Rev.: 336

Changed the Greater? command to return 1 if num1 is Greater than num2, 0 otherwise. #TheRainbowSprenkles

4 lines of code changed in 1 file:

  • src/slogo/instruction: Greater.java (+4 -3)
mugabej 2013-12-11 11:44 Rev.: 335

Changed the Equal? command to return 1 if equal, 0 otherwise. #TheRainbowSprenkles

4 lines of code changed in 1 file:

  • src/slogo/instruction: Equal.java (+4 -3)
mugabej 2013-12-11 11:20 Rev.: 334

Added the NotEqual? command. #TheRainbowSprenkles

51 lines of code changed in 1 file:

  • src/slogo/instruction: NotEqual.java (new 51)
mugabej 2013-12-11 11:14 Rev.: 332

Added the Equal? command. #TheRainbowSprenkles

51 lines of code changed in 1 file:

  • src/slogo/instruction: Equal.java (new 51)
mugabej 2013-12-11 11:12 Rev.: 331

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

52 lines of code changed in 2 files:

  • src/slogo/instruction: Greater.java (new 51), Less.java (+1 -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

51 lines of code changed in 1 file:

  • src/slogo/instruction: Less.java (new 51)
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/instruction: PenDownP.java (+1 -2)
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

44 lines of code changed in 1 file:

  • src/slogo/instruction: PenDownP.java (new 44)
tobind 2013-12-05 13:13 Rev.: 209

Adding clearscreen command.
Fixed the toString method in Clean.

#TheRainbowSprenkles

65 lines of code changed in 2 files:

  • src/slogo/instruction: Clean.java (+13 -15), Cs.java (new 52)
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

89 lines of code changed in 3 files:

  • src/slogo/instruction: Clean.java (new 43), Pd.java (+3 -9), Pu.java (new 43)
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

98 lines of code changed in 2 files:

  • src/slogo/instruction: Clear.java (new 49), Minus.java (new 49)
tobind 2013-12-03 22:02 Rev.: 194

added remainder command #therainbowsprenkles

52 lines of code changed in 1 file:

  • src/slogo/instruction: Remainder.java (new 52)
tobind 2013-12-03 19:31 Rev.: 180

Adding product and quotient commands.

#TheRainbowSprenkles

100 lines of code changed in 2 files:

  • src/slogo/instruction: Product.java (new 50), Quotient.java (new 50)
mugabej 2013-12-03 18:19 Rev.: 177

Remove unused imports in most of the files. #TheRainbowSprenkles

0 lines of code changed in 4 files:

  • src/slogo/instruction: Bk.java (-1), Fd.java (-1), Lt.java (-1), Rt.java (-1)
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

101 lines of code changed in 2 files:

  • src/slogo/instruction: Difference.java (new 50), Sum.java (new 51)
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.

23 lines of code changed in 5 files:

  • src/slogo/instruction: Bk.java (+6 -4), Fd.java (+1 -8), Heading.java (+4 -4), Lt.java (+6 -5), Rt.java (+6 -8)
tobind 2013-12-03 13:23 Rev.: 172

Implemented the aliases for ht and st.
#TheRainbowSprenkles

2 lines of code changed in 2 files:

  • src/slogo/instruction: Ht.java (+1 -1), St.java (+1 -1)
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

49 lines of code changed in 1 file:

  • src/slogo/instruction: Pd.java (new 49)
tobind 2013-12-02 23:50 Rev.: 167

Added st and ht commands

#TheRainbowSprenkles

98 lines of code changed in 2 files:

  • src/slogo/instruction: Ht.java (new 49), St.java (new 49)
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

9 lines of code changed in 1 file:

  • src/slogo/instruction: Fd.java (+9 -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

6 lines of code changed in 2 files:

  • src/slogo/instruction: Fd.java (+5 -4), Heading.java (+1 -1)

(22 more)

Generated by StatSVN 0.7.0