- 03 Jan, 2021 2 commits
-
-
Ed authored
Added a final method on the Facade class ( PolyOperationFacade ) under test. Those tests passed. Cleaned up a few things in the pattern's classes. Regression tested. All tests passed.
-
Ed authored
Implemented two methods on the Facade class under test, varying the handling of tuples a little in each test. Those tests passed. Regression tested. All tests passed. Next up is probably trying one more method on the Facade class.
-
- 02 Jan, 2021 3 commits
-
-
Ed authored
Regression tested. All tests passed. Next up is probably a little clean-up of the code and tests, if needed, then the actual Facade implementation, under test.
-
Ed authored
Regression tested. All tests passed.
-
Ed authored
Began Facade pattern. None of this code yet tested, and very little is framed or implemented yet. Also renamed the main test class for Interpreter. Regression tested. All tests still passed.
-
- 29 Nov, 2020 8 commits
-
-
Ed authored
Regression tested. All tests passed.
-
Ed authored
Finished tests of Interpreter_ . Interpret(), with additional tests of all the paths and classes. All those tests passed. Regression tested. All tests passed. The Interpreter pattern is finished at last! Hurray!!
-
Ed authored
Changed all tests of Interpret() on AExpression subclasses to use the fixture class SourceExpression_ in their subtrees, except for NumbersExpression. All those tests passed. Regression tested. All tests passed. Next up is to test Interpreter_ . Interpret() a little more, and then this pattern is done, hurray!
-
Ed authored
Finished tests of remaining AExpression subclasses, and added a fixture class for use in one of them. All those tests passed. Regression tested. All tests passed. Next up is probably to replace concrete child instances in tests of Interpret() on all the classes. Then up is probably to test Interpreter_ . Interpret() itself some more, and then this pattern should be done.
-
Ed authored
Added tests for Interpret() on most of the AExpression subclasses. After one or two fixes to the model code, all of those tests passed. Next up is to test Interpret() on the remaining classes. Then up is to write a few more tests of Interpreter_ . Interpret(), and then this pattern is done, hurray!
-
Ed authored
Began tests and code of Interpreter_, the outermost class in the Interpreter pattern, and implemented Interpret() on all of the AExpression subclasses. Dropped TokenNode, since it is no longer needed. Renamed the existing test file / class of an AExpression subclass, since I plan to test Interpret() for all of them in one file. Regression tested. All tests passed, including the new one of Interpreter_ . Interpret() at the edge of development (!). Next up is probably to test Interpret() on all of the AExpression subclasses, then to write a few more tests of Interpreter_ . Interpret() with simple and more complex grammar, possibly borrowed from my existing tests of Parser private methods.
-
Ed authored
Simplified AExpression subclasses by eliminating .Child, and some related comments on .Children, although I'm not sure this is strictly following the pattern. Also changed syntax in some tests to match. Regression tested. After some fixes, all tests passed.
-
Ed authored
Began actual Interpreter pattern with a consumer class, Interpreter. Removed some abstractions that were not used in the end. Regression tested. All tests passed.
-
- 28 Nov, 2020 7 commits
-
-
Ed authored
A little more polishing of Parser, replacing one remaining literal with a constant. Those tests passed. Regression tested. All tests passed.
-
Ed authored
Changed all literals in dependencies of Parser . Parse() to the matching constants, some of them renamed. After a fix, all those tests passed. Regression tested. All tests passed. Next up is probably to do the Interpreter pattern itself. Or maybe up first might be a little more clean-up and polishing of the parsing code.
-
Ed authored
Extensive renaming of symbols in Parser and its tests, to simplify them and match them to the tokens exactly. Regression tested. All tests passed.
-
Ed authored
Added and changed tests of Parser . ParsePreAction() to cover all its paths after the changes made to match my related syntax and revised syntax. All those tests passed. Regression tested. All tests passed.
-
Ed authored
Revived and revised tests of Parser . Parse(), dropping one, to match my changed grammar. Changed some of those tests to use NodeFacts and my recursion fixture to simplify them. Made changes to ParseAction() and one of its tests so those tests would pass. After changes, those tests passed. Also revised my stated grammar and predictive-parsing relations to match what I learned. Regression tested. All tests passed. Next up is probably to write a few more tests of ParseAction() to make sure I cover all its changed paths. Then up is probably to get to the Interpreter pattern itself at last!!
-
Ed authored
Added tests and changed code and existing tests of Parser . ParseLanguage() to finish it and all parsing dependency methods. Those tests passed. Regression tested. All tests passed or inconclusive. Next up is to restore the tests of Parse() and find any remaining things to finish or fix, probably dropping one or more tests, and maybe changing others. Also up may be to add one or two more tests of Parse() if they look needed.
-
Ed authored
Regression tested. All tests passed or inconclusive.
-
- 27 Nov, 2020 2 commits
- 23 Nov, 2020 3 commits
-
-
Ed authored
Finished Parser . ParseGroup() under test, including a new test and changes to existing ones. All those tests passed. Also changed inconclusive messaging in a test of Parse() for later, when I revise or toss those tests. Regression tested. All tests passed or inconclusive.
-
Ed authored
-
Ed authored
Regression tested. All tests passed or inconclusive.
-
- 22 Nov, 2020 9 commits
-
-
Ed authored
Simplified Parser . ParseProvide() and its tests, switching to a post-order recursion based on my just-simplified grammar. Those tests passed. Regression tested. All tests passed or inconclusive. Next up is probably to continue test-driven development of the parse tree using the other cross-recursive methods.
-
Ed authored
Changed the grammar of my language to simplify it, as found in my two quickboards, and changed my target-grammar comment block in Parser to match.
-
Ed authored
Finished one of the output paths of ParseProvide() under test. That test passed. Also reworked some other tests to match. After changes, all those tests passed. Added a test for the other path in the model code, but made it inconclusive. Regression tested. All tests passed or inconclusive. Next up is probably to review and likely simplify my target grammar, because it's iffy around providers, then simplify tests and model code to match.
-
Ed authored
-
Ed authored
Regression tested. All tests passed or inconclusive except the one at the edge of parser development, which is still unfinished.
-
Ed authored
Changed tests and model code of ParsePostAction() to use return-value approach, dropping one obsolete test. Remaining tests passed. Regression tested. All tests passed or inconclusive. Next up is to continue this approach with other parsing dependency methods.
-
Ed authored
Changed the signature of Parser . ParseMethod and all related methods to return an AExpression, with none of them yet finished, with a return value of null for all of them. Regression tested. All tests still passed or inconclusive. Next up is probably to start with tests of ParsePostAction() and change them and the method for the new approach.
-
Ed authored
Regression tested. All tests passed or conclusive. Next up is probably to test and finish tree-building in ParseGroup, including handling of the build point, either _root or _at.
-
Ed authored
Regression tested. All tests passed or inconclusive.
-
- 21 Nov, 2020 4 commits
-
-
Ed authored
-
Ed authored
Finished tests and code for what I know for sure now of Parser . ParsePostAction(), with tree-building and token consumption. All those tests passed. Regression tested. All tests passed or inconclusive. Next up is to continue tree-building tests and code, with token consumption as well.
-
Ed authored
Renamed Exception subclass to ParseException. Changed its constructor's parameters, changed parameters and handling in the static method used by the ctor, and changed and added tests for the ctor. Those tests passed. Regression tested. All tests passed or inconclusive. Next up is to code building the parse tree using the dependency methods, under test.
-
Ed authored
Finished tests of fail and succeed paths in dependencies of Parser . Parse(), except for the tree building itself. All those tests passed. Regression tested. All tests passed or inconclusive. Next up is to improve and probably rename the exception subclass, with tests. Then up is to start tree-building, under test.
-
- 20 Nov, 2020 1 commit
-
-
Ed authored
Finished existing tests of Parser . Parse() dependency ParseProvide(). Changed the model method after tests showed mistakes. After changes, all those tests passed. Regression tested. All tests passed or inconclusive. Next up is to finish these tests on the last couple of methods, then move on to testing and building the parse tree itself.
-
- 19 Nov, 2020 1 commit
-
-
Ed authored
Added more tests of dependencies of Parser . Parse(). All of those tests passed except those of ParseProvide(), which were not yet finished and so were made inconclusive. Some fixes to model code made due to testing. Regression tested. All tests passed or inconclusive. Next up is to finish the unfinished tests, finish all the others like this, then go on to building the parse tree, under test.
-