1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-12-24 08:12:39 -08:00
Commit Graph

27 Commits

Author SHA1 Message Date
1d7134e7f3 Make the decimal matching optional. 2017-07-28 09:52:14 -07:00
d9df565a42 Switch all uses of *List, *Map to just List and Map. 2017-07-27 18:19:12 -07:00
65a6265cf6 Fix function argument order. 2017-07-27 16:52:16 -07:00
edbef67b8a Fix typo. 2017-07-27 16:37:54 -07:00
5373d953a6 Add ignoring whitespace and fix function precedence. 2017-07-27 16:36:13 -07:00
96b09fdf2e Add sanitization to TreeBuilder. 2017-07-27 15:26:02 -07:00
381c88f7a0 Fix several bugs and register operations as operations. 2017-07-27 14:15:45 -07:00
f00ad25d6a Implement correct plugin loading and registration. 2017-07-27 14:06:57 -07:00
7d822a3e77 Move parsing code into TreeBuilder, change lexing and parsing algorithms 2017-07-27 13:25:57 -07:00
dea25bbc9c Move OperatorAssociativity into the function class. 2017-07-27 09:33:01 -07:00
0b8d2b0459 Remove the caret operator as it is not implemented. 2017-07-27 09:23:07 -07:00
eef83a04aa Remove unnecessary getType() calls. 2017-07-27 09:22:24 -07:00
ba3a733928 Add comments to NumberReducer and FunctionNode. 2017-07-26 19:16:10 -07:00
d54ec9e8fa Implement reducing functions. 2017-07-26 18:44:30 -07:00
e8d9836431 Implement parsing functions. 2017-07-26 18:44:17 -07:00
12e34230ec Add correct handling of failed reduces to both OpNode and Window. 2017-07-26 18:41:21 -07:00
c88a0cbdc5 Implement toString in child nodes of TreeNode. 2017-07-26 17:26:55 -07:00
51ca0a9ae2 Make some operator-related fields protected in TreeNode.
This should allow for the implementation of toString in child nodes.
2017-07-26 17:26:42 -07:00
53b9b56039 Add a new constructor to the UI, and move strings into constants. 2017-07-26 13:33:24 -07:00
9ce35aad54 Correctly handle invalid strings. 2017-07-26 13:25:12 -07:00
7c4ecdc1db Remove unnecessary pattern. 2017-07-26 13:25:01 -07:00
76705ed92b Implement the ability to reduce a tree to a single variable of a type. 2017-07-26 10:58:27 -07:00
7ba6f8a353 Add more comments. 2017-07-26 10:10:37 -07:00
dd8d62608c Merge tree construction feature into master. 2017-07-25 14:28:12 -07:00
e4e9e2ce21 Implement parsing a postfix expression into a tree. 2017-07-25 14:21:00 -07:00
3684673362 Implement Shunting Yard. 2017-07-25 13:53:38 -07:00
1dcd6beb1c Implement two enums for conversion between strings and tokens. 2017-07-25 11:08:03 -07:00