Commit Graph

274 Commits (93c34ca4a4f1fcf22c5dc80a5954d9b68cc0f329)

Author SHA1 Message Date
Mark be46099671
Removed comment 2023-08-04 12:26:54 -07:00
Mark bf287516ed
Fixed printing on enter 2023-08-04 12:26:02 -07:00
Mark d452f76455
Added functions to context 2023-08-04 12:25:10 -07:00
Mark 9a391480b9
Minor prompt fixes 2023-08-04 12:24:58 -07:00
Mark 88e272fd6f
Removed extra `\r`s 2023-08-04 12:24:39 -07:00
Mark 0538b1e547
Added more errors 2023-08-04 12:22:23 -07:00
Mark 7f675c9d81
Improved error message 2023-08-03 22:15:11 -07:00
Mark 10314a2deb
Added a test 2023-08-03 22:13:45 -07:00
Mark e67a5c4696
Added formattedtext and better error class 2023-08-03 22:13:38 -07:00
Mark dd0f4387b6
Fixed variable name check 2023-08-03 22:05:46 -07:00
Mark 999f24ce52
Added tuples 2023-08-03 14:39:53 -07:00
Mark bc3bd3d1fc
Added new assignment routine 2023-08-03 14:28:22 -07:00
Mark 83f00c761b
Substitute cleanup 2023-08-03 14:25:11 -07:00
Mark ae2041e42f
Cleanup 2023-08-03 14:04:12 -07:00
Mark 4ddafd84ef
Removed `=` operator 2023-08-03 14:02:45 -07:00
Mark 07edc4f047
Minor tweaks 2023-08-03 13:57:39 -07:00
Mark f130bed7aa
Added incomplete flag 2023-08-03 13:56:50 -07:00
Mark 522917da63
Linelocation fixes 2023-08-03 13:55:26 -07:00
Mark 7cb9dbf2e0
Hack for large exponents 2023-08-03 07:47:07 -07:00
Mark da31fc43e5
Added variable delete command 2023-08-02 17:37:29 -07:00
Mark ce14df866b
Added variable and constant listing 2023-08-02 15:36:55 -07:00
Mark d4d8f41b00
Comments 2023-08-02 12:50:44 -07:00
Mark 2d69e73897
Added variable re-evaluation 2023-08-02 12:49:14 -07:00
Mark 9698a691aa
Improved superscripts 2023-08-02 12:37:29 -07:00
Mark f35aeefeb1
Minor cleanup 2023-08-02 12:37:15 -07:00
Mark 7a4762df77
Updated help command 2023-08-02 11:50:55 -07:00
Mark f8b1a11bb7
Added celsius and fahrenheit functions 2023-08-02 11:39:36 -07:00
Mark 705824921f
Added unit support to trig functions 2023-08-02 09:51:36 -07:00
Mark aa94df1df1
Added degree substitution 2023-08-02 09:49:13 -07:00
Mark e3fdfa3c39
Fixed unit tobase() conversion 2023-08-02 09:16:47 -07:00
Mark ce8c7e9b16
Added more constants 2023-08-02 08:49:20 -07:00
Mark f869e2a512
Improved error printing 2023-08-01 10:35:34 -07:00
Mark 62c8ea0151
Fixed linelocations 2023-08-01 10:34:54 -07:00
Mark 9de3104074
Added function tests 2023-08-01 10:01:32 -07:00
Mark f7153f6589
Added more operator characters 2023-08-01 09:46:53 -07:00
Mark 5d234b9ff6
Comments and whitespace 2023-08-01 09:44:05 -07:00
Mark 47cbd29c27
Added detailed conversion error 2023-08-01 09:43:47 -07:00
Mark 5ec3d6e380
Updated help text 2023-08-01 09:43:15 -07:00
Mark 2949b07d7c
Minor cleanup 2023-08-01 09:07:33 -07:00
Mark 4ea39a7f60
Added is_poly_power 2023-07-31 20:43:50 -07:00
Mark e768df08a7
Improved expression printing 2023-07-31 20:31:26 -07:00
Mark fa94d9ca35
Minor cleanup 2023-07-31 16:54:03 -07:00
Mark 6e46f6c42a
updated help text 2023-07-31 16:44:16 -07:00
Mark e412c53124
Added `undefined` error 2023-07-31 16:43:30 -07:00
Mark b913eb2cf0
Comments 2023-07-31 16:30:52 -07:00
Mark 97b64e6bef
Cleaned up eval error messages 2023-07-31 16:05:48 -07:00
Mark b072ff3691
Fixed a minor bug 2023-07-31 16:01:21 -07:00
Mark 99f4919fea
Added tests 2023-07-31 15:52:52 -07:00
Mark 8dd1a785d0
Fixed substitution bug 2023-07-28 15:09:25 -07:00
Mark 401e877a2f
Fixed substitution bug 2023-07-28 15:01:43 -07:00
Mark 241bb572a5
Added linelocation to all errors 2023-07-28 15:01:36 -07:00
Mark a489eec482
Minor optimization 2023-07-28 11:41:25 -07:00
Mark 7b77c49ba4
Fixed unit matching 2023-07-28 10:33:51 -07:00
Mark 7fb0e0274c
Minor cleanup 2023-07-28 10:04:56 -07:00
Mark a76af3c69a
Comments 2023-07-28 09:37:10 -07:00
Mark be043af4f0
Cleaned up a few panic!()s 2023-07-28 09:36:25 -07:00
Mark 185b0415ff
Fixed unit matching 2023-07-28 09:28:08 -07:00
Mark 625be634bf
Added a test 2023-07-28 09:21:59 -07:00
Mark dfb1772a45
Updated help commands 2023-07-28 08:25:58 -07:00
Mark 41bf1954a1
Fixed variable parse order 2023-06-17 22:15:58 -07:00
Mark 1671bbbade
Error tweak 2023-06-17 19:39:45 -07:00
Mark 73049eeec4
Cleanup 2023-06-17 19:08:05 -07:00
Mark 1495dcd561
Renamed token and pretoken 2023-06-16 12:58:06 -07:00
Mark 081dc1b7ab
fixed tests 2023-06-14 21:11:00 -07:00
Mark 6bd7043971
Added define operator 2023-06-14 20:18:28 -07:00
Mark b6343db0d6
Cleaned up evaluator 2023-06-14 19:54:28 -07:00
Mark 4dfaf2b863
Fixed trig functions 2023-06-14 19:34:57 -07:00
Mark 00a421756d
Reorganized variable code 2023-06-14 16:15:51 -07:00
Mark 5ffad0cc4e
Improved history storage 2023-06-14 14:36:58 -07:00
Mark 2dec478b74
Added "ans" variable 2023-06-14 14:04:32 -07:00
Mark f762817e4a
Improved unit tostring 2023-06-14 12:38:26 -07:00
Mark 89c7d1d50b
Edited help message 2023-06-14 09:43:09 -07:00
Mark 061f58ba53
Added nounit and tobase functions 2023-06-14 09:24:34 -07:00
Mark 24b221bf42
Added "per" division 2023-06-14 08:59:06 -07:00
Mark 3acfc7ebfd
Reworked unit prefixes 2023-06-13 21:18:00 -07:00
Mark 078fc12c5e
Minor cleanup 2023-06-13 20:15:20 -07:00
Mark 9fdabb80d3
Added constant generation 2023-06-13 20:15:10 -07:00
Mark a6bcbd5f66
Added no_space parameter for units 2023-06-13 09:13:24 -07:00
Mark 4f8ee660d7
Added build script to generate units 2023-06-12 15:01:44 -07:00
Mark 28c1a84b80
Fixed variable names 2023-06-11 16:52:23 -07:00
Mark 91b2361f28
Fixed compound unit conversion 2023-06-11 16:44:44 -07:00
Mark e816cea236
Fixed unit multiplication prettyprint 2023-06-11 15:16:00 -07:00
Mark 7382627041
Fixed mph/mpg behavior 2023-06-11 15:05:17 -07:00
Mark a87d2a9bf2
Minor import edits 2023-06-11 14:24:51 -07:00
Mark 368c178ddc
Evaluate module cleanup 2023-06-11 14:24:43 -07:00
Mark af2eb39fd5
Restructured packages 2023-06-11 13:53:45 -07:00
Mark 813c1e7292
Fixed a minor bug 2023-06-11 10:39:52 -07:00
Mark dedb192d54
Cleanup 2023-06-11 10:39:46 -07:00
Mark 67a03d53df
Added tests 2023-06-07 15:23:29 -07:00
Mark fe58addcc2
Added command-line argument parsing 2023-06-07 15:21:48 -07:00
Mark dae76f3d56
Added check for negative powers 2023-06-07 15:21:36 -07:00
Mark a7e1a5a69f
Edited help message 2023-06-07 15:01:16 -07:00
Mark ed82e7f17b
Centered greeter 2023-06-07 14:52:02 -07:00
Mark 4eff57c273
Error message edits 2023-06-07 14:43:05 -07:00
Mark c73bec0c13
Added simple commands 2023-06-07 14:38:22 -07:00
Mark 156b94c937
Whitespace 2023-06-07 14:37:23 -07:00
Mark 03d081fe06
Removed greeter 2023-06-07 09:19:02 -07:00
Mark f1a4cc0072
Cleaned up tests 2023-06-07 09:18:08 -07:00
Mark 102e619d1a
Minor edits 2023-05-15 10:05:46 -07:00
Mark 356a3c7824
More units 2023-04-14 11:05:25 -07:00