[root]/src/slogo/parser
token
(52 files, 1084 lines)
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 |
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:
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:
Small fix in SubroutineFactory and fixed typo in Instructions.prop
1 lines of code changed in 1 file:
1 lines of code changed in 3 files:
SumParser
0 lines of code changed in 1 file:
Attempt to re-committ ToParser
34 lines of code changed in 1 file:
ExpressionParser committed
2 lines of code changed in 1 file:
GrammarElementParser committed.
18 lines of code changed in 1 file:
IdentifierParser being committed
17 lines of code changed in 1 file:
Committing instructions.prop
2 lines of code changed in 1 file:
Implementing GrammarElement. #therainbowsprenkles
60 lines of code changed in 19 files:
More GrammarElement instead of Expression.
#TheRainbowSprenkles
30 lines of code changed in 5 files:
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:
Changed Greater, GreaterParser, Less, LessParser to use GrammarElement
#theRainbowSprenkles
19 lines of code changed in 2 files:
Implemented GrammarElementParser on getx and gety. Fixed cs and clean ArrayIndexOutOfBoundsException
14 lines of code changed in 4 files:
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:
committing the towards command the new instructions.prop file
33 lines of code changed in 2 files:
Added the NotEqual? command. #TheRainbowSprenkles
34 lines of code changed in 3 files:
Added the Equal? command. #TheRainbowSprenkles
33 lines of code changed in 2 files:
Committing files that hadn't been committed when I added the Greater? command. #TheRainbowSprenkles
39 lines of code changed in 6 files:
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:
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:
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:
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:
Adding clearscreen command.
Fixed the toString method in Clean.
#TheRainbowSprenkles
28 lines of code changed in 2 files:
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:
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:
Fixed something in QuotientParser.
Forgot to commit the mod expression.
#therainbowsprenkles
1 lines of code changed in 1 file:
added remainder command #therainbowsprenkles
33 lines of code changed in 2 files:
Adding product and quotient commands.
#TheRainbowSprenkles
63 lines of code changed in 3 files:
Remove unused imports in most of the files. #TheRainbowSprenkles
0 lines of code changed in 5 files:
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:
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:
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:
Added st and ht commands
#TheRainbowSprenkles
55 lines of code changed in 3 files:
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:
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:
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:
Resolving conflict in instructions file
33 lines of code changed in 3 files:
Added the YCor Command. Also removed the turtle.move(0) statement in Xcor #TheRainbowSprenkles
27 lines of code changed in 2 files:
(24 more)