Commit Graph

554 Commits

Author SHA1 Message Date
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
PaddiM8
cb0e632068 Made the output prettier by removing repeating characters. 2020-06-13 21:41:01 +02:00
PaddiM8
665f869203 Merge branch 'master' of https://github.com/PaddiM8/kalk 2020-06-13 20:08:43 +02:00
PaddiM8
77751750b7 Trimming trailing zeroes for numbers < 0. 2020-06-13 20:08:34 +02:00
PaddiM8
d042e3577f Made it possible for the inverter to invert expressions with function calls. 2020-06-13 20:06:21 +02:00
PaddiM8
805a05831e Added Kolan link to README 2020-06-13 19:26:23 +02:00
PaddiM8
bff785bc1e Created the foundation of an expression inverter. This is used to create a second *inverted* unit declaration, in order to cover both of the units. 2020-06-13 19:01:33 +02:00
PaddiM8
eb20aae16f Added the unit statement (very basic and experimental). 2020-06-13 16:19:32 +02:00
PaddiM8
2944f2b9d0 Merge pull request #5 from DianaNites/patch-1
Rename binary to kalk
2020-06-13 13:49:28 +02:00
PaddiM8
22cfa65207 Update README.md 2020-06-13 13:01:04 +02:00
Diana
84fb9f16bd Rename binary to kalk
closes #4 4
2020-06-13 03:16:06 -04:00
PaddiM8
430841fc5f Trimmed end matches of dots in order to avoid numbers such as 1.. 2020-06-12 21:30:03 +02:00
PaddiM8
2cffe8dbfa Updated crate versions (thought I did this in the previous commit??). 2020-06-12 21:27:01 +02:00
PaddiM8
80c14df380 Fixed exponent being one too much for scientific notation. 2020-06-12 21:16:47 +02:00
PaddiM8
bbea1e4e82 Merge branch 'master' of https://github.com/PaddiM8/kalk 2020-06-12 21:01:12 +02:00
PaddiM8
db60867a19 Changed kalk crate version. 2020-06-12 21:00:56 +02:00
PaddiM8
52ad501ba3 Updated example code in README. 2020-06-12 21:00:03 +02:00
PaddiM8
523a93dac4 Updated README to include the -i parameter. 2020-06-12 19:08:23 +02:00