Commit Graph

21 Commits

Author SHA1 Message Date
Danila Fedorin 8dc7acd4b3 Add a separate class of exceptions for NumberReducer. 2017-09-22 11:58:19 -07:00
Danila Fedorin 76fcd8ec1c Remove unused elvis. 2017-09-21 23:17:45 -07:00
Danila Fedorin fbdf2c7e52 Eliminate warnings related to null returns that have been removed. 2017-09-21 23:09:13 -07:00
Danila Fedorin 566831246c Add an exception thrown when promotion fails. 2017-09-20 12:06:06 -07:00
Danila Fedorin 5b4773dee1 Do not use null in exceptions and add messages to exceptions. 2017-09-11 19:32:57 -07:00
Danila Fedorin 45de25cd50 Move exceptions to their own package and subclass one class. 2017-09-11 19:32:57 -07:00
Danila Fedorin 52ab357fe1 Remove nullability from reduction. 2017-09-11 19:32:57 -07:00
Danila Fedorin 1575d3e574 Remove nullability from tree nodes. 2017-09-11 19:32:57 -07:00
Danila Fedorin 059226a4d4 Rename the context class. 2017-09-06 22:54:21 -07:00
Danila Fedorin ef1890f24d Switch Abacus to returning an EvaluationResult with the context. 2017-09-06 22:22:15 -07:00
Danila Fedorin 91986112a1 Switch all applicables to use the Context. 2017-09-06 21:43:07 -07:00
Danila Fedorin 863be5bcfc Rewrite number reducer in Kotlin. 2017-09-06 20:39:38 -07:00
Danila Fedorin fbc12ec41c Format newly written code. 2017-08-26 12:19:34 -07:00
Danila Fedorin 9d52d55e68 Add TreeValue operator nodes, and parsing for them. 2017-08-25 18:42:41 -07:00
Danila Fedorin 07d7343339 Abstract some Binary and Unary node logic. 2017-08-25 17:46:25 -07:00
Danila Fedorin bc26ad0b88 Abstract the call functionality, and add TreeValueFunctionNode. 2017-08-25 01:17:52 -07:00
Danila Fedorin c5cd0f81ad Remove data modifier from tree classes. 2017-08-25 01:07:59 -07:00
Danila Fedorin beb583a231 Move number string parsing from the parser into the reducer. 2017-08-18 14:26:33 -07:00
Danila Fedorin 0a15043b63 Implement a variable TreeNode. 2017-08-18 14:20:49 -07:00
Danila Fedorin 205d5dbc77 Format code. 2017-08-14 19:03:52 -07:00
Danila Fedorin 8f251d2d13 Split the project into separate modules. 2017-08-12 21:11:01 -07:00