Commit Graph

563 Commits

Author SHA1 Message Date
Danila Fedorin 9fdb3fc0d9 Add an additional, restricted type of context for use only by plugins. 2017-11-23 13:29:06 -08:00
Danila Fedorin 095d374949
Merge pull request #47 from DanilaFe/plugin-conversions
Move all the number reducer functionality into the context.
2017-11-14 23:22:01 -08:00
Danila Fedorin 981211ccfa
Merge branch 'master' into plugin-conversions 2017-11-14 23:18:18 -08:00
Danila Fedorin d91536e746
Merge pull request #48 from DanilaFe/documentation-fix
Fix crash when a TreeValueFunction doesn't have documentation loaded.
2017-11-14 23:18:09 -08:00
Danila Fedorin 7c252fddf1
Merge branch 'master' into plugin-conversions 2017-11-14 23:13:51 -08:00
Danila Fedorin 0d26167f31
Merge branch 'master' into documentation-fix 2017-11-14 23:13:44 -08:00
Danila Fedorin 07abe4d17a
Merge pull request #46 from DanilaFe/isint-idiom
Add and use isInteger function where appropriate.
2017-11-14 23:13:10 -08:00
Danila Fedorin 8ef0904d26 Fix crash when a TreeValueFunction doesn't have documentation loaded. 2017-11-14 23:08:04 -08:00
Danila Fedorin 92489551ca Move all the number reducer functionality into the context. 2017-11-14 23:03:12 -08:00
Danila Fedorin 2a9026f748 Add and use isInteger function where appropriate. 2017-11-03 21:41:46 -07:00
Danila Fedorin 08e5b69c04 Merge pull request #43 from DanilaFe/java8-subset
Replace some recent android API features with backwards compatible ones.
2017-09-24 13:04:23 -07:00
Danila Fedorin 6a0b667c32 Replace some recent android API features with backwards compatible ones. 2017-09-24 12:58:33 -07:00
Danila Fedorin 5a1fdfe4bc Merge pull request #42 from DanilaFe/java8-subset
Restrict Abacus core to a Java8 subset
2017-09-24 00:38:54 -07:00
Danila Fedorin 378ff946d9 Add a Transformation class that replaces java.util.function use 2017-09-24 00:29:43 -07:00
Danila Fedorin 0511c58b13 Remove the Pattern's dependency on java.util.function 2017-09-24 00:12:25 -07:00
Danila Fedorin e82a13cde5 Move ClassFinder to the fx module, which is the only place it's used. 2017-09-24 00:01:43 -07:00
Danila Fedorin 40362a7afe Merge pull request #40 from DanilaFe/move-files
More around files into more applicable packages.
2017-09-23 23:46:02 -07:00
Danila Fedorin c990d4c50a More around files into more applicable packages. 2017-09-23 23:43:08 -07:00
Danila Fedorin d7bb838866 Merge pull request #39 from DanilaFe/more-kotlin
Switch more code to Kotlin
2017-09-23 23:03:23 -07:00
Danila Fedorin e05b2ac8d5 Move the StandardPlugin into a "standard" package along with the ops. 2017-09-23 22:16:44 -07:00
Danila Fedorin b4214f5714 Rewrite the parsing interfaces in Kotlin. 2017-09-23 17:14:55 -07:00
Danila Fedorin bd02749706 Move all the operators into a separate subpackage. 2017-09-23 17:13:56 -07:00
Danila Fedorin f809183126 Move some more operators out of StandardPlugin.java to separate classes 2017-09-23 17:11:44 -07:00
Danila Fedorin 579ff78a99 Move two more operators into separate classes. 2017-09-23 16:19:45 -07:00
Danila Fedorin 81d0999c11 Switch the basic operators into individual classes. 2017-09-23 15:54:28 -07:00
Danila Fedorin 4fd8f7badf Add operator overloading. 2017-09-23 15:54:28 -07:00
Danila Fedorin bc475a22f9 Rewrite NumberInterface in Kotlin. 2017-09-23 15:54:28 -07:00
Danila Fedorin e0ccb67ad3 Merge pull request #37 from DanilaFe/more-exceptions
Replace some more cases where null is used with Exceptions.
2017-09-23 15:53:37 -07:00
Danila Fedorin ea4588be44 Add more descriptive message to context exceptions. 2017-09-23 15:43:07 -07:00
Danila Fedorin 31996219ad Switch the Lexer and TreeBuilder to using exceptions. 2017-09-23 15:31:35 -07:00
Danila Fedorin a3bfc34c1c Throw parse exceptions instead of returning null. 2017-09-22 16:35:08 -07:00
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 3057f66e66 Throw the exception instead of returning null. 2017-09-21 23:05:48 -07:00
Danila Fedorin f385a48aa2 Merge pull request #34 from DanilaFe/number-range
Add a NumberRange utility.
2017-09-20 15:42:05 -07:00
Danila Fedorin fd3f56aa8f Write some tests for the Ranges. 2017-09-20 15:23:17 -07:00
Danila Fedorin e364f4e94b Have the NumberInterface provide the Kotlin rangeTo method. 2017-09-20 13:22:18 -07:00
Danila Fedorin 4c94abb18b Create the NumberRangeBuilder utility class. 2017-09-20 13:19:55 -07:00
Danila Fedorin ba63dd7874 Implement a range that works for NumberInterfaces. 2017-09-20 13:04:20 -07:00
Danila Fedorin 566598b702 Merge pull request #33 from DanilaFe/promotion-fix
Fix a bug that made some same-priority implementations not convert.
2017-09-20 12:56:12 -07:00
Danila Fedorin eb91a5b875 Fix a bug that made some same-priority implementations not convert. 2017-09-20 12:47:30 -07:00
Danila Fedorin fcd4694203 Merge pull request #32 from DanilaFe/promotion-exception
Add an exception thrown when promotion fails.
2017-09-20 12:16:00 -07:00
Danila Fedorin 566831246c Add an exception thrown when promotion fails. 2017-09-20 12:06:06 -07:00
Danila Fedorin ad8a0a9b2a Merge pull request #29 from DanilaFe/fixes
Revert "Remove unnecessary nullability from parseString."
2017-09-16 03:05:20 -07:00
Danila Fedorin e430e738cf Merge branch 'master' into fixes 2017-09-16 03:03:52 -07:00
Danila Fedorin f6e326e0f1 Revert "Remove unnecessary nullability from parseString."
88e3bb7109
2017-09-16 03:02:35 -07:00
Danila Fedorin 07581557c7 Merge pull request #27 from DanilaFe/fixes
Fix a number of small issues not worthy of their own branches.
2017-09-16 01:26:40 -07:00
Danila Fedorin 14ac9c67f4 Implement the comparable interface. 2017-09-16 00:18:43 -07:00
Danila Fedorin 0ff071e212 Add a more complete .gitignore 2017-09-16 00:17:03 -07:00