Commit Graph

421 Commits

Author SHA1 Message Date
PaddiM8
29f8ac94f3 replaced phf with lazy_static 2020-12-10 23:40:29 +01:00
PaddiM8
bc8cf4a22c removed colors in some places for windows, since it didn't work properly there 2020-12-10 21:13:04 +01:00
PaddiM8
6a8c4bd76b updated rustyline to 7.0.0 2020-12-10 20:31:07 +01:00
PaddiM8
3836d6e326 updated test_percent() 2020-12-10 15:13:02 +01:00
PaddiM8
e0384d3653 fixed multiplication with percent 2020-12-10 09:27:19 +01:00
PaddiM8
aa2831818b Merge branch 'master' of https://github.com/PaddiM8/kalk 2020-12-09 22:18:07 +01:00
PaddiM8
dd1b4d723f added percentage unit and modulo 2020-12-09 22:18:00 +01:00
PaddiM8
07210ff83a Update publish.yml 2020-12-09 17:21:17 +01:00
PaddiM8
bd5b9dfc4f Updated build/test shield for Github Actions 2020-12-09 16:57:18 +01:00
PaddiM8
0096ec97f3 Delete .travis.yml 2020-12-09 16:53:34 +01:00
PaddiM8
d4a0e8171b Create publish.yml 2020-12-09 16:50:58 +01:00
PaddiM8
d598431e2d Add cache action 2020-12-09 16:26:50 +01:00
PaddiM8
b5b076f809 Create build-rust.yml 2020-12-09 16:16:50 +01:00
PaddiM8
4f655033b9 fixed rounding issues, eg. 9.99999997 instead of 10 2020-12-09 11:44:22 +01:00
PaddiM8
4d17210b49 allow letters after underscore in variables, eg. x_a 2020-12-09 10:47:46 +01:00
PaddiM8
ee6a4066da updated to 0.2.1 2020-12-09 09:40:26 +01:00
PaddiM8
f322bcbc7d fixed panic on trailing spaces 2020-12-09 09:36:49 +01:00
PaddiM8
ed98a8d333 fixed large rounding errors 2020-10-11 10:59:33 +02:00
PaddiM8
a94a8a3fdd Merge branch 'master' of https://github.com/PaddiM8/kalk into master 2020-10-11 10:57:18 +02:00
PaddiM8
49b06e9f8f fixed large rounding errors 2020-10-11 10:56:28 +02:00
PaddiM8
c3768c7e34 Merge pull request #13 from matematikaadit/patch-1
Fix broken link to the github release page
2020-06-29 02:40:18 +02:00
Adit Cahya Ramadhan
aceb237279 Fix broken link to the github release page
It's releases with s
2020-06-29 06:36:13 +07:00
PaddiM8
5a5afdcbfd Update README.md 2020-06-22 14:40:49 +02:00
PaddiM8
d2357a5583 Removed Cargo.lock 2020-06-18 18:11:23 +02:00
PaddiM8
1d93e60d91 Made lexer lex '°' as 'deg'. 2020-06-18 18:06:17 +02:00
PaddiM8
fe6df0ff32 Fixed merge issues, updated version numbers, and updated README with syntax instructions. 2020-06-18 18:03:40 +02:00
PaddiM8
d041a28f1d Merge branch 'units' 2020-06-18 17:42:36 +02:00
PaddiM8
3b492f5119 Added units to prelude functions. 2020-06-18 17:41:57 +02:00
PaddiM8
5de759b56b Fixed parser documentation and interpreter units tests. 2020-06-18 17:06:21 +02:00
PaddiM8
c1577a523c Added environment variables to help. 2020-06-18 17:01:09 +02:00
PaddiM8
ce824511ff Created unit convertion expression. Syntax: <expr> to <unit> 2020-06-18 16:58:01 +02:00
PaddiM8
3259e78597 Changed nth_sqrt to nth_root. 2020-06-18 16:20:52 +02:00
PaddiM8
07e34c6bbb Implemented inversion for some prelude functions. 2020-06-18 16:20:18 +02:00
PaddiM8
7d845523d8 Made the unit be displayed in the result. 2020-06-18 02:02:48 +02:00
PaddiM8
24cf168d92 Removed Cargo.toml from git. 2020-06-18 01:35:35 +02:00
PaddiM8
8adabaa992 Added UnsupportedExpression errors. 2020-06-17 21:28:54 +02:00
PaddiM8
aa449ee92b Fixed inversion for (function) variables and added unit tests for the inverter. 2020-06-17 17:45:46 +02:00
PaddiM8
2f7c1870f7 Updated README to ignore .vscode. 2020-06-15 21:31:55 +02:00
PaddiM8
99fbdd6883 Fixed the broken unit tests in the parser and completed the test_angle_units test in the interpreter. 2020-06-15 21:27:47 +02:00
PaddiM8
7f3fb7c045 Integrated the angle unit system with then new dynamic unit system. 2020-06-15 19:10:55 +02:00
PaddiM8
7b708a7b45 Updated README with new features and updated version numbers. 2020-06-14 22:53:11 +02:00
PaddiM8
b87b2d10bc Added ans variable. 2020-06-14 22:33:29 +02:00
PaddiM8
20f15619a2 Added semicolon support to combine several statements in one line. 2020-06-14 22:03:22 +02:00
PaddiM8
112d8e78ea Added support for 'minus' expressions in the inverter and added some comments. 2020-06-14 21:54:39 +02:00
PaddiM8
a81cef2a86 Added support for 'minus' expressions in the inverter and added some comments. 2020-06-14 21:35:56 +02:00
PaddiM8
24771b3a5a Changed inverter to instead move expressions to the LHS, like done when equations are solved in maths. Also made it multiply into parenthesis. 2020-06-14 19:23:02 +02:00
PaddiM8
1edec7d16e Added some error checking to the inverter. 2020-06-13 22:18:37 +02:00
PaddiM8
e6778f7ef5 Merge branch 'master' into units 2020-06-13 21:57:27 +02:00
PaddiM8
3a25a3d416 Added help. 2020-06-13 21:56:13 +02:00
PaddiM8
c50534a248 Publish. 2020-06-13 21:42:14 +02:00