[root]/src/slogo/parser
token
(51 files, 1113 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 63 (100.0%) | 1057 (100.0%) | 16.7 |
devlinn | 35 (55.6%) | 768 (72.7%) | 21.9 |
volped | 17 (27.0%) | 227 (21.5%) | 13.3 |
Nika Pogrebna | 11 (17.5%) | 62 (5.9%) | 5.6 |
Finished To
0 lines of code changed in 1 file:
Finished To
15 lines of code changed in 2 files:
2 lines of code changed in 1 file:
Fixed red ink in the pop up errors. We now have pop ups for: wrong file type, wrong image file type, advice on turtle image size, invalid instruction, invalid instruction in file chosen.
1 lines of code changed in 1 file:
Added Tests, To, ToToken and ToParser. Still more tests to be completed and To still needs to be completed
29 lines of code changed in 1 file:
Added GREATER, LESS, EQUAL, and NOTEQUAL command functionality. Still need to figure out solution for two EQUAL Tokens.
183 lines of code changed in 6 files:
Added eraseTrail() to JTurtle and finished Clean and ClearScreen
8 lines of code changed in 2 files:
Added a new class, TurtleTrailLink, to represent a link of the turtle's trail. This class also has functionality for editing the color, but it is not ready to be implemented yet. Also added to the GUI to add a panel for changing colors.
3 lines of code changed in 1 file:
Updated Towards Method to work correctly and fixed JTurtle's move method to SHOW turtle as default.
58 lines of code changed in 2 files:
Added ClearScreen and Clean tokens, parsers, and instructions
58 lines of code changed in 3 files:
Edited the JTurtle's draw(Graphics g) method to only show turtle when ShowTurtle command is called, and will hide the turtle when HideTurtle is called. Added functionality for HideTurtle and ShowTurtle commands.
92 lines of code changed in 4 files:
Moved AliasNames.java into slogo.parser package and made aliases variable in AliasNames.java a private variable and added a getter method to get it
59 lines of code changed in 2 files:
Deleted print statement in InstructionParser
0 lines of code changed in 1 file:
Changed TokenFactory to add aliases to TokenMap and refactored methods in TokenFactory and InstructionParser
24 lines of code changed in 2 files:
Deleted FDParser
0 lines of code changed in 1 file:
deleted FD
0 lines of code changed in 1 file:
Added alias tokens.
40 lines of code changed in 2 files:
Commented out code and wrote down what I think the problem with aliases is in InstructionParser.java
8 lines of code changed in 1 file:
Added AliasNames.java and mapped aliases to their respective parsers
23 lines of code changed in 1 file:
Added SetXY, Xcor, and Ycor command functionality.
61 lines of code changed in 4 files:
Added HOME, SETX, and SETY command functionality.
143 lines of code changed in 5 files:
Added Back, Left, and Right command functionality. Each command has a parser, token, and instruction, and each has been added to the instructions.prop file.
118 lines of code changed in 5 files:
Added aliases.prop
9 lines of code changed in 1 file:
Added functionality for "FD" command.
34 lines of code changed in 2 files:
Added TurtleContext class, edited name of turtle in Forward.java class. Instantiated the TurtleContext in TurtleField.
2 lines of code changed in 1 file:
Finalized evaluate method in Forward class.
1 lines of code changed in 1 file:
Removed unnecessary casting.
1 lines of code changed in 1 file:
Updated the Forward Class's Evaluate method to successfully move the JTurtle object.
1 lines of code changed in 1 file:
Updated Forward class to use ArithmeticBase rather than GrammarElement.
3 lines of code changed in 1 file:
Added a ForwardToken, ForwardParser, and a Forward instruction to handle the fd command.
31 lines of code changed in 1 file:
Fixed and tested the IF token, instructions, and parser. It finally works!
3 lines of code changed in 1 file:
Fixed IF.java and IFParser.java classes. I think they are good to go!
3 lines of code changed in 1 file:
Fixed the IF classes. I think the IFParser.java is right, but not so sure about IF.java
7 lines of code changed in 1 file:
Added some comments to the IF classes
5 lines of code changed in 1 file:
Made IF Token, Parser, and Instruction classes. There are error in some of the files. We need to change expression to variable?? Maybe?? Still have to figure this out!
33 lines of code changed in 2 files:
Importing SLogo project for team TurboTurtle
412 lines of code changed in 11 files: