Commit Graph

52 Commits

Author SHA1 Message Date
7a9876ddd2 Cleaned up tests 2023-03-28 10:46:46 -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
56521cbbcd Added ** exponentiation 2023-03-27 21:25:16 -07:00
1996693008 Rewrote parser 2023-03-27 21:22:29 -07:00
b3e0cd6699 Added version string 2023-03-27 10:59:11 -07:00
701c8435fb Added a few more tests 2023-03-27 10:56:48 -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
1774c105f4 Fixed oop bug 2023-03-27 10:54:57 -07:00
fd0ddb72ab Added tests 2023-03-27 10:54:36 -07:00
1794042514 Restructured code 2023-03-27 09:47:02 -07:00
ca35c8d9e9 Fixed power associativity 2023-03-26 12:15:36 -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
b8e736af45 Branding 2023-03-25 21:38:59 -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
75d01adf02 Added greeting 2023-03-25 12:14:05 -07:00
8edfb70fb8 Fixed a minor bug 2023-03-25 10:35:43 -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
5fc7a7922e Added simple history 2023-03-24 19:42:23 -07:00
0927cf25e4 Prettier output 2023-03-24 13:28:14 -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
a734bdc4fe Added paren checks 2023-03-23 15:08:48 -07:00
0633ae5335 Removed old code 2023-03-23 14:53:33 -07:00
4c8a916085 Added recursive parsing
Improved error handling
2023-03-23 14:53:27 -07:00
c743d28f6c Reworked parser, added support for unary operators 2023-03-22 22:51:48 -07:00
9f53847ed3 Added lookback parsing 2023-03-22 15:06:58 -07:00
af85e8a6d5 Rewrote parser 2023-03-22 10:53:38 -07:00
2d9eeffb39 Reorganized code, added basic error handling 2023-03-21 19:37:02 -07:00
b942e9dcf9 Fixed parser bugs
Added PreGroup unwrapper
Added token location tracking
2023-03-21 19:02:18 -07:00
83961409a7 Added basic number parser 2023-03-20 20:54:43 -07:00
145084b88f Added word replacement
Added more operators

Cleaned up code
2023-03-20 11:36:43 -07:00
579f7f2ece Cleanup, added more operators 2023-03-19 20:32:49 -07:00
a4506e775a Treefold edits 2023-03-19 19:56:58 -07:00
79be72903f Updated parser 2023-03-19 17:46:30 -07:00