1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-06-18 08:47:06 -07:00
Commit Graph

24 Commits

Author SHA1 Message Date
bbbb2e855e Fix typo. 2017-07-27 16:37:54 -07:00
8a29019852 Add ignoring whitespace and fix function precedence. 2017-07-27 16:36:13 -07:00
b0ae3f90fc Add sanitization to TreeBuilder. 2017-07-27 15:26:02 -07:00
f7da896fc0 Fix several bugs and register operations as operations. 2017-07-27 14:15:45 -07:00
2ca23fd427 Implement correct plugin loading and registration. 2017-07-27 14:06:57 -07:00
f931b9f322 Move parsing code into TreeBuilder, change lexing and parsing algorithms 2017-07-27 13:25:57 -07:00
189f8c6e15 Move OperatorAssociativity into the function class. 2017-07-27 09:33:01 -07:00
e8595510b8 Remove the caret operator as it is not implemented. 2017-07-27 09:23:07 -07:00
b09c9c3cb2 Remove unnecessary getType() calls. 2017-07-27 09:22:24 -07:00
cf95ed7dc0 Add comments to NumberReducer and FunctionNode. 2017-07-26 19:16:10 -07:00
c8146954c3 Implement reducing functions. 2017-07-26 18:44:30 -07:00
d18e27bdb4 Implement parsing functions. 2017-07-26 18:44:17 -07:00
c4eb70999b Add correct handling of failed reduces to both OpNode and Window. 2017-07-26 18:41:21 -07:00
d7caf1cdc7 Implement toString in child nodes of TreeNode. 2017-07-26 17:26:55 -07:00
8754871556 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
50baf80433 Add a new constructor to the UI, and move strings into constants. 2017-07-26 13:33:24 -07:00
f7d4d01bc8 Correctly handle invalid strings. 2017-07-26 13:25:12 -07:00
ec030607bf Remove unnecessary pattern. 2017-07-26 13:25:01 -07:00
798ee6f7c3 Implement the ability to reduce a tree to a single variable of a type. 2017-07-26 10:58:27 -07:00
08999350f4 Add more comments. 2017-07-26 10:10:37 -07:00
38255b1219 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