Commit Graph

111 Commits

Author SHA1 Message Date
175261b5c0 Compound unit foundation 2023-04-10 21:03:16 -07:00
a38293c247 Added unit fromstring 2023-04-09 08:39:36 -07:00
e9d4ec0b12 Cleanup 2023-04-08 20:40:35 -07:00
fb9cc03bb9 Reorganized quantity 2023-04-08 20:26:07 -07:00
5b8dd2f703 Added basic units (incomplete) 2023-04-08 16:47:47 -07:00
e4667eb998 Reorganized quantities 2023-04-07 18:11:20 -07:00
24a07c1af0 Fixed treeify 2023-04-07 11:38:16 -07:00
82b577568c Fixed unary + at start 2023-04-07 09:37:39 -07:00
9b099bb408 Fixed decimal parsing 2023-04-07 09:33:55 -07:00
88078fea5a Fixed unary "+" bug 2023-04-07 09:27:15 -07:00
aeacd8746d Fixed negation 2023-04-07 08:46:44 -07:00
b6acbcee6b Cleanup 2023-04-06 10:31:02 -07:00
f112326620 Added support for unary + 2023-04-06 09:51:14 -07:00
c3686172cd Improved operator ordering 2023-04-06 09:35:52 -07:00
aa90d798c9 Fixed prompt cursor adjustment 2023-04-04 10:22:32 -07:00
d3d13a64ff Minor changes 2023-04-01 19:05:40 -07:00
85a669e126 Added support for scientific notation 2023-04-01 18:29:01 -07:00
52a508cd98 Groupify refactor 2023-04-01 18:28:31 -07:00
bb200548f1 Reworked lookback 2023-04-01 16:43:58 -07:00
e0210a8f09 Cleanup 2023-04-01 16:43:33 -07:00
5792bbcea9 typo 2023-04-01 15:43:12 -07:00
bb48a09cc7 Added decimal -> rational parsing 2023-04-01 14:20:11 -07:00
a38f68cd84 Added Quantity type 2023-04-01 13:50:52 -07:00
3d5dcf0694 Minor cleanup 2023-03-29 10:39:15 -07:00
eb101439d9 fixed substitutions 2023-03-28 13:31:40 -07:00
71d9aaa039 Added square root, fixed many parser bugs 2023-03-28 10:46:29 -07:00
6db5137b56 Cleaned up code 2023-03-28 09:35:49 -07:00
bcb90b503d Added cursor to promptbuffer 2023-03-27 22:13:14 -07:00
1996693008 Rewrote parser 2023-03-27 21:22:29 -07:00
4eb476c2b7 Fixed unary operators 2023-03-27 10:55:14 -07:00
d2f03976f8 Fixed negative syntax bug 2023-03-27 10:55:06 -07:00
1794042514 Restructured code 2023-03-27 09:47:02 -07:00
47e8a021f9 Cleanup 2023-03-26 12:13:37 -07:00
a40ebb7500 Treeify now handles both left- and right-associative operators 2023-03-26 12:13:08 -07:00
c92670c918 Constant changes 2023-03-26 10:18:39 -07:00
8a58d2182a Fixed another tokenize bug 2023-03-26 10:15:15 -07:00
b71cbcafcd Fixed negative bug 2023-03-26 09:54:25 -07:00
39c52782ca Improved error formatting 2023-03-25 20:47:33 -07:00
c167196809 Fixed syntax error location 2023-03-25 20:10:31 -07:00
3fe51ffaed Cleanup 2023-03-25 10:32:56 -07:00
f3b86c3c7a Added prompt replacement 2023-03-25 10:32:51 -07:00
3e1fa97ce8 Cleanup 2023-03-25 09:54:07 -07:00
d0d051d616 Added more token methods 2023-03-25 09:40:08 -07:00
cea5a1db22 Removed Root Token 2023-03-25 09:27:15 -07:00
8430b0d15a Split tokenizer 2023-03-24 23:06:44 -07:00
cafe1c9c64 Added Constants
Fixed treeify bug
2023-03-24 20:21:48 -07:00
1f98645dd4 Cleanup 2023-03-24 13:18:56 -07:00
1f9bcccab4 Added basic evaluation 2023-03-24 13:16:58 -07:00
0eec282cc2 Reworked prompt 2023-03-23 22:10:53 -07:00
a23cea274f Fixed group parsing 2023-03-23 15:10:18 -07:00