Directory src/slogo/instruction/

Directory Created:
2013-11-18 09:47
Total Files:
30
Deleted Files:
0
Lines of Code:
1469

[root]/src/slogo/instruction

Lines of Code

src/slogo/instruction/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 67 (100.0%) 1308 (100.0%) 19.5
sgould 38 (56.7%) 680 (52.0%) 17.8
dillardj 8 (11.9%) 243 (18.6%) 30.3
archerh 11 (16.4%) 177 (13.5%) 16.0
eutomo 9 (13.4%) 168 (12.8%) 18.6
username 1 (1.5%) 40 (3.1%) 40.0

Most Recent Commits

archerh 2013-12-13 16:25 Rev.: 512

Removed unused imports and commented-out code.

1 lines of code changed in 4 files:

  • src/slogo/instruction: ClearScreen.java (+1 -1), If.java (-1), To.java (-1), YCor.java (-2)
archerh 2013-12-13 03:02 Rev.: 451

Added event handler so the user can select an image from their library and use it as the turtle. Added IF and TO tokens.

127 lines of code changed in 2 files:

  • src/slogo/instruction: If.java (new 68), To.java (new 59)
sgould 2013-12-12 13:52 Rev.: 386

Added showturtle method to JTurtle to use in ShowTurtle and HideTurtle instructions

7 lines of code changed in 3 files:

  • src/slogo/instruction: HideTurtle.java (+3 -1), PenDownP.java (+1 -1), ShowTurtle.java (+3 -1)
sgould 2013-12-12 12:42 Rev.: 384

Updated the towards instruction so that it just returns the int heading needed to face coordinates, instead of turning turtle. Had it turning the turtle before just for testing purposes, and everything is working as it should.

6 lines of code changed in 1 file:

  • src/slogo/instruction: Towards.java (+6 -41)
sgould 2013-12-11 19:20 Rev.: 353

Updated towards instruction so that it works correctly I think

19 lines of code changed in 1 file:

  • src/slogo/instruction: Towards.java (+19 -1)
archerh 2013-12-11 15:07 Rev.: 344

Got rid of ExpressionParser. Added option to choose a SLogo file to parse and execute. Need to fix button location and size, sorry it's so ugly at the moment. Working on Towards instruction (before it was moving forward, trying to perfect the geometry of having it return just the angle needed to have the turtle pointing TOWARD that point. Doesn't move the turtle, doesn't work properly, but it's a work in progress.

38 lines of code changed in 1 file:

  • src/slogo/instruction: Towards.java (+38 -5)
sgould 2013-12-11 11:10 Rev.: 330

Added a clearLines() method to JTurtle to clear the turtle's trail in the CLEAN and CLEARSCREEN instructions

3 lines of code changed in 2 files:

  • src/slogo/instruction: Clean.java (+2 -1), ClearScreen.java (+1)
sgould 2013-12-10 21:59 Rev.: 310

Added instruction/token/parser for pendown, penup, and pendownp. Also made TurtlePen into its own subclass (inside of JTurtle), to clean up the code. And I added some error handling to BACK, FORWARD, RIGHT, and LEFT

185 lines of code changed in 8 files:

  • src/slogo/instruction: Back.java (+11 -2), Forward.java (+12 -2), Instruction.java (+12), Left.java (+11 -1), PenDown.java (new 43), PenDownP.java (new 42), PenUp.java (new 43), Right.java (+11 -1)
dillardj 2013-12-10 08:58 Rev.: 291

ClearScren, Showturtle, hideturtle, and clean

96 lines of code changed in 5 files:

  • src/slogo/instruction: Clean.java (+5 -6), ClearScreen.java (+6 -2), HideTurtle.java (new 41), ShowTurtle.java (new 42), Towards.java (+2 -1)
eutomo 2013-12-08 23:22 Rev.: 282

the boolean parsers weren't showing up so i'm recomitting my code. eutomo

2 lines of code changed in 1 file:

  • src/slogo/instruction: Print.java (+2 -2)
eutomo 2013-12-08 12:21 Rev.: 272

1 lines of code changed in 1 file:

  • src/slogo/instruction: Less.java (+1 -2)
eutomo 2013-12-08 09:50 Rev.: 271

eutomo. Four Boolean commands work. Changed EQUAL the = to EQUALSIGN everywhere it was needed so that EQUAL can be a Boolean command.

125 lines of code changed in 6 files:

  • src/slogo/instruction: Back.java (-1), Equal.java (new 40), Forward.java (-1), Greater.java (new 38), Less.java (+8 -9), Notequal.java (new 39)
sgould 2013-12-08 08:54 Rev.: 269

Some GUI improvements and added parser/instruction/token for heading, home, setxy, xcor, ycor.

171 lines of code changed in 5 files:

  • src/slogo/instruction: Heading.java (new 39), Home.java (new 45), SetXY.java (+7 -5), XCor.java (new 39), YCor.java (new 41)
archerh 2013-12-06 15:04 Rev.: 257

Fixed SumParser, added Difference, Product, Quotient, all are parsing properly. Fixed other parsers (BACK, LEFT, RIGHT, SETX, SETY) to parse properly without ExpressionParser. Use this format from now on when writing parsers so it works properly with math operations. Y'all have a great weekend, let me know if something I did doesn't work as it should.

4 lines of code changed in 2 files:

  • src/slogo/instruction: Back.java (+4 -3), Forward.java (-1)
archerh 2013-12-06 12:22 Rev.: 250

Changed SLogoParser so it does not depend on expression or expressionParser, and parse method returns a GrammarElement rather than an Instruction and takes no parameters. Since parse() no longer takes a Reader, you'll have to re-initialize SLogoParser for every new string, although this should only matter to the TurtleField. Removed while loop in parse, which will matter for batch mode but not for the command-line mode. Don't update to this for now if you want prior updates to work. Mostly comitting so Eric can made progress based on the new changes.

5 lines of code changed in 1 file:

  • src/slogo/instruction: Forward.java (+5 -3)
dillardj 2013-12-05 23:57 Rev.: 242

Token, Parsers, and instructions for TOWARDS, CLEAN, and CLEARSCREEN

147 lines of code changed in 3 files:

  • src/slogo/instruction: Clean.java (new 50), ClearScreen.java (new 42), Towards.java (new 55)
eutomo 2013-12-05 22:05 Rev.: 235

40 lines of code changed in 1 file:

  • src/slogo/instruction: Less.java (new 40)
sgould 2013-12-05 20:38 Rev.: 219

Added SetX and SetY implementations. Started SetXY but have some questions on how to complete this. Also changed the instructions to use a variable to refer to the turtle instead of a string (Dr. Sprenkle said we should change that). The string is defined in TurtleField (I think that's where I put it), but I'm not confident that's the best place for it.

146 lines of code changed in 7 files:

  • src/slogo/instruction: Back.java (+2 -1), Forward.java (+2 -1), Left.java (+2 -1), Right.java (+2 -1), SetX.java (new 46), SetXY.java (new 46), SetY.java (new 46)
sgould 2013-12-05 19:56 Rev.: 215

Updated the forward, back, left, and right instructions to move relative to the current orientation of the turtle. This is how they are supposed to work, but previously I had them implemented as always moving north, south, east, west.

3 lines of code changed in 4 files:

  • src/slogo/instruction: Back.java (+1 -2), Forward.java (-1), Left.java (+1 -2), Right.java (+1 -2)
sgould 2013-12-05 00:16 Rev.: 207

Added back, left, and right instructions, parsers, and tokens. Also made turtle image smaller because it minimizes the shift when switching directions.

133 lines of code changed in 4 files:

  • src/slogo/instruction: Back.java (new 44), Forward.java (+1), Left.java (new 44), Right.java (new 44)
sgould 2013-12-02 07:06 Rev.: 123

Updated version that forward method evaluates number entered, not just uses 50

1 lines of code changed in 1 file:

  • src/slogo/instruction: Forward.java (+1 -1)
sgould 2013-12-01 22:06 Rev.: 102

took out all print statements

0 lines of code changed in 1 file:

  • src/slogo/instruction: Forward.java (-2)
sgould 2013-12-01 20:49 Rev.: 88

6 lines of code changed in 1 file:

  • src/slogo/instruction: Forward.java (+6 -1)
archerh 2013-11-26 21:51 Rev.: 54

Slightly altered Forward.java to extend Instruction so that it parallels structure of other Instructions. Changed TextField to receive text when "ENTER" key is pressed, then parsing this text as a StringReader. Currently only works on assignment and gives errors for other instructions. Changed SLogoParser to return an Instruction rather than nothing.
--Haley

2 lines of code changed in 1 file:

  • src/slogo/instruction: Forward.java (+2 -2)
username 2013-11-24 17:02 Rev.: 38

Nov24, 5pm. Eric: I have done my part due Tuesday night. At this point, if you guys find mistakes, PLEASE let me know and I will try to fix them.

40 lines of code changed in 1 file:

  • src/slogo/instruction: Forward.java (new 40)
sprenkle 2013-11-18 09:47 Rev.: 4

First Import

276 lines of code changed in 5 files:

  • src/slogo/instruction: Assignment.java (new 63), Instruction.java (new 16), Print.java (new 49), Repeat.java (new 68), StrictInstructionList.java (new 80)
Generated by StatSVN 0.7.0