1
0
mirror of https://github.com/DanilaFe/abacus synced 2025-04-22 00:24:12 -07:00
Commit Graph

447 Commits

Author SHA1 Message Date
8c9159fcec Switch add and multiply to two parameters. 2017-08-29 18:31:47 -07:00
7da76d39e9 Merge branch 'master' into tree-operators 2017-08-29 18:17:58 -07:00
dc43f74538 Merge pull request #6 from DanilaFe/fxml-fix
Move the FXML file for the fx project into the correct location.
2017-08-29 18:17:32 -07:00
c3d53a5ab8 Merge branch 'master' into fxml-fix 2017-08-29 18:14:09 -07:00
df92017fbf Merge pull request #4 from DanilaFe/variable-parsing
Add variables into the parser.
2017-08-29 18:13:35 -07:00
56f3e7b153 Merge branch 'master' into variable-parsing 2017-08-29 18:11:30 -07:00
af121d8a07 Merge pull request #5 from DanilaFe/dokka-setup
Add dokka plugin to generate documentation.
2017-08-29 18:09:36 -07:00
2a91288880 Bring tests up to date. 2017-08-28 12:59:16 -07:00
6ae0d5a7e0 Move the FXML file for the fx project into the correct location. 2017-08-27 15:49:01 -07:00
3f3e1773b5 Add dokka plugin to generate documentation. 2017-08-27 15:47:32 -07:00
dfe054dce8 Format newly written code. 2017-08-26 12:19:34 -07:00
6f01af3252 Make ReducerApplicable an independent interface. 2017-08-26 11:52:02 -07:00
e4b390ed81 Register precedences of TreeValue operators. 2017-08-25 19:49:37 -07:00
06903fbedc Make sure TreeValueOperator extends Operator. 2017-08-25 19:49:15 -07:00
fb564adf72 Fix token precedence for variable names / operators. 2017-08-25 19:48:56 -07:00
f36c86995c Add reduction of TreeValue operators. 2017-08-25 19:48:43 -07:00
bfbeee2c3d Fix incorrect template argument. 2017-08-25 18:47:49 -07:00
877f69e96a Add TreeValue operator nodes, and parsing for them. 2017-08-25 18:42:41 -07:00
e3e87701e3 Abstract some Binary and Unary node logic. 2017-08-25 17:46:25 -07:00
9a2b9e6ddb Add registering TreeValueOperators. 2017-08-25 17:31:47 -07:00
fba9832ee9 Convert Applicable interfaces into Kotlin. 2017-08-25 16:07:23 -07:00
efd283aaf1 Add a TreeValueOperator. 2017-08-25 15:49:35 -07:00
eb340d341b Make applicable into an interface. 2017-08-25 15:49:26 -07:00
d17ffddcc9 Move the code for applicables that require a Reducer. 2017-08-25 15:29:37 -07:00
7fdd98a4f3 Move NumberFunction into Kotlin. 2017-08-25 14:59:41 -07:00
3747defbf3 Rename Function to NumberFunction. 2017-08-25 14:56:36 -07:00
71a2df5f38 Add Applicable to Operator, therby removing the need for Functions in it 2017-08-25 14:55:05 -07:00
cdfcc534c5 Add documentation loading for functions. 2017-08-25 01:51:14 -07:00
5b5ca6bcf0 Add Tree Value Functions to NumberReducer. 2017-08-25 01:41:51 -07:00
a38a00d373 Add the withReducer variants of the Applier functions. 2017-08-25 01:41:32 -07:00
2e7b813bd2 Add parsing of TreeValueFunctions. 2017-08-25 01:21:28 -07:00
f20ef4aa69 Abstract the call functionality, and add TreeValueFunctionNode. 2017-08-25 01:17:52 -07:00
0c1f550955 Remove data modifier from tree classes. 2017-08-25 01:07:59 -07:00
9f1b4a4962 Change lexer tokenizer to recognize tree value functions. 2017-08-25 01:03:12 -07:00
9cdc18d790 Add tree value functions to plugins. 2017-08-25 00:59:39 -07:00
a083cdfbaa Add a function that operates on trees. 2017-08-25 00:49:16 -07:00
f96f809abf Abstract some of the Function functionality further. 2017-08-25 00:43:36 -07:00
8f1d2139c7 Account for the new string-only node structure.
The output has to be the same as the user-provided input, as the
tree isn't converted to numbers until evaluation.
2017-08-18 16:31:54 -07:00
ab6565c780 Remove Abacus dependency from ShuntingYardParser. 2017-08-18 15:57:48 -07:00
b4d2dc0322 Move number string parsing from the parser into the reducer. 2017-08-18 14:26:33 -07:00
3f6f64c6a8 Temporarily substitute 0 for variables. 2017-08-18 14:21:48 -07:00
e61e23e80c Lex and parse variables. 2017-08-18 14:21:14 -07:00
110dd0e017 Implement a variable TreeNode. 2017-08-18 14:20:49 -07:00
a55764be54 Add a new TokenType for variables. 2017-08-18 14:20:37 -07:00
c3ab38b1e0 Add comment to DocumentationType. 2017-08-16 15:38:02 -07:00
b44b5d2531 Fix problems with scaling on mobile phones. 2017-08-15 01:24:48 -07:00
8711143145 Add a proper About page. 2017-08-15 01:02:16 -07:00
2b41078d52 Add the download page. 2017-08-15 00:40:28 -07:00
36a6bee9b5 Remove the rounded borders. 2017-08-15 00:40:21 -07:00
3c203be7af Change download to link to the Download page. 2017-08-15 00:40:05 -07:00