1. 03 Jan, 2021 2 commits
  2. 02 Jan, 2021 3 commits
  3. 29 Nov, 2020 8 commits
    • Ed's avatar
      Removed obsolete Interpreter pattern non-code stuff. · 538bd496
      Ed authored
      Regression tested.  All tests passed.
      538bd496
    • Ed's avatar
      Finished tests of Interpreter_ . Interpret(), with additional tests of all the... · 80eda1d3
      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!!
      80eda1d3
    • Ed's avatar
      Changed all tests of Interpret() on AExpression subclasses to use the fixture... · 8bc66d04
      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!
      8bc66d04
    • Ed's avatar
      Finished tests of remaining AExpression subclasses, and added a fixture class... · 4f29f338
      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.
      4f29f338
    • Ed's avatar
      Added tests for Interpret() on most of the AExpression subclasses. After one... · 8344a222
      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!
      8344a222
    • Ed's avatar
      Began tests and code of Interpreter_, the outermost class in the Interpreter... · 847f69ac
      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.
      847f69ac
    • Ed's avatar
      Simplified AExpression subclasses by eliminating .Child, and some related... · 5798de35
      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.
      5798de35
    • Ed's avatar
      Began actual Interpreter pattern with a consumer class, Interpreter. Removed... · e7e77116
      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.
      e7e77116
  4. 28 Nov, 2020 7 commits
  5. 27 Nov, 2020 2 commits
  6. 23 Nov, 2020 3 commits
  7. 22 Nov, 2020 9 commits
  8. 21 Nov, 2020 4 commits
    • Ed's avatar
      Tagged ParsePostAction() as passed. · ebe07992
      Ed authored
      ebe07992
    • Ed's avatar
      Finished tests and code for what I know for sure now of Parser .... · c9775023
      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.
      c9775023
    • Ed's avatar
      Renamed Exception subclass to ParseException. Changed its constructor's... · 88efd984
      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.
      88efd984
    • Ed's avatar
      Finished tests of fail and succeed paths in dependencies of Parser . Parse(),... · 415e1587
      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.
      415e1587
  9. 20 Nov, 2020 1 commit
    • Ed's avatar
      Finished existing tests of Parser . Parse() dependency ParseProvide(). ... · 16ae87c8
      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.
      16ae87c8
  10. 19 Nov, 2020 1 commit
    • Ed's avatar
      Added more tests of dependencies of Parser . Parse(). All of those tests... · e8af93de
      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.
      e8af93de