Commit ed9bb54
authored
Tree growing (#6)
Overall a lot of changes. Mainly added functionality related to parsing of tokens from tokenizer to make a forest. As well as related outputs form such.
* Grumble Packages External JAR
Corrected issue with using external JAR and named packages.
* Subroutine For Cases
Added subroutine to be use internally for switch cases.
* Minor Changes
Reranaged Simularion.java.
Reremovd TEST_RESTRICTED_CHARS.java which was accidently readded.
Added subroutines to Tree_Assembler.java.
* House Keeping
Fixed 5 Card Poker Test.txt.
Added some notes in various places.
Continued Tree_Assembler.java.
* Added Concrete_Parent
Updated affected classes.
Continued Tree_Assembler.java.
* Forest be Growing
Added a few more subroutines, such that the rest should just be function
calls until getting to the tree part.
* Fixed Tokenizer
Added forgotten true and false values.
Corrected edge case that could have resulted in a keyword being mistaken
for an id.
* Finished handling of literal values
Adjusted grammar slightly to have both = and ; be the result of a simple
production rule.
Finished adding all cases relating to literal values. Also reworked some
subroutines.
* Removed Unused file
Forgot to remove this in a past commit.
* Corrected Compatibility Issue
Was using List.of which is from Java 9, though this project is meant to
be compatible with Java 8.
* Committed Patricide
Essentially merged Concreate_Parent with Evaluable for Tree_Assembler's
syntactical_stack.
* Final Massive Commit
Regarding generated files. Essentially they have been updated to latest
version. They can be somewhat ignored for views, though is a way to
check what outputs look like.
For parser section: corrected minor oversights in Tree_Assembler.java.
* Minor change to Decklist output
Did not bother recreating them though.
* Minor Renaming
No functional changes.
* Update README.md
Updated to be more complete.
* Update Simulation.java
* Update Deck_Card.java
Removed redundant code.
Corrections.
Added --simulation_results_console flag description.
* Added Javadoc to Reservable.
* Fixed 5 Card Poker Test
Had logical error and syntax errors regarding Single Pair
* Removed Evaluable's Generic
Essentially the generic associated to the class itself was useless, thus
was removed.
Any errors caused with creating a Simulation Object can be resolved by
removing its first generic. That being T.
* Added Javadocs1 parent c90eacc commit ed9bb54
File tree
108 files changed
+25283
-1377
lines changed- Output
- Resources
- parser
- simulation
- starting_point
- structure
- testing
- Test Input
- Test Output
- evaluation
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
108 files changed
+25283
-1377
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 404 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments