Commit Graph

62 Commits

Author SHA1 Message Date
PaddiM8
bd86091e89 Trimming zeroes at the start of scientific notation, and scientific notation exponent value fix 2020-12-13 02:25:33 +01:00
PaddiM8
0284475b2c Created KalkNum and moved output formatting from kalk_cli to kalk 2020-12-13 01:27:55 +01:00
PaddiM8
402c3e327c Replaced macOS bundle with zipped executable 2020-12-12 23:51:03 +01:00
PaddiM8
45f563cd0a Replaced macOS bundle with .command file 2020-12-12 23:08:50 +01:00
PaddiM8
7ab4adaab3 Moved 'wix' to the right location 2020-12-12 22:02:11 +01:00
PaddiM8
b321bb55b4 Created installer for windows, and app bundle for mac, both with icons. Also added the publishing back to the release workflow. 2020-12-12 21:49:08 +01:00
PaddiM8
ac6bf052d7 removed un-used rug features 2020-12-11 13:17:33 +01:00
PaddiM8
035ecafe7b replaced phf with lazy_static 2020-12-10 23:40:29 +01:00
PaddiM8
75dbba7382 removed colors in some places for windows, since it didn't work properly there 2020-12-10 21:13:04 +01:00
PaddiM8
a8ec5e9c99 updated rustyline to 7.0.0 2020-12-10 20:31:07 +01:00
PaddiM8
cebe785b22 added percentage unit and modulo 2020-12-09 22:18:00 +01:00
PaddiM8
2253fad287 fixed rounding issues, eg. 9.99999997 instead of 10 2020-12-09 11:44:22 +01:00
PaddiM8
8e3016e9fe allow letters after underscore in variables, eg. x_a 2020-12-09 10:47:46 +01:00
PaddiM8
ea236f7e54 updated to 0.2.1 2020-12-09 09:40:26 +01:00
PaddiM8
5fd62a394d fixed large rounding errors 2020-10-11 10:59:33 +02:00
PaddiM8
f014ef2c1f fixed large rounding errors 2020-10-11 10:56:28 +02:00
PaddiM8
211bc7f8f2 Removed Cargo.lock 2020-06-18 18:11:23 +02:00
PaddiM8
2c3f70e3f2 Fixed merge issues, updated version numbers, and updated README with syntax instructions. 2020-06-18 18:03:40 +02:00
PaddiM8
b966658fa7 Merge branch 'units' 2020-06-18 17:42:36 +02:00
PaddiM8
47d5a2bee2 Added environment variables to help. 2020-06-18 17:01:09 +02:00
PaddiM8
1fdfcc29c1 Implemented inversion for some prelude functions. 2020-06-18 16:20:18 +02:00
PaddiM8
a2376c9998 Made the unit be displayed in the result. 2020-06-18 02:02:48 +02:00
PaddiM8
6328a363ec Removed Cargo.toml from git. 2020-06-18 01:35:35 +02:00
PaddiM8
f917b744b5 Added UnsupportedExpression errors. 2020-06-17 21:28:54 +02:00
PaddiM8
83668bbb84 Integrated the angle unit system with then new dynamic unit system. 2020-06-15 19:10:55 +02:00
PaddiM8
d3d2602217 Updated README with new features and updated version numbers. 2020-06-14 22:53:11 +02:00
PaddiM8
c21977a131 Added help. 2020-06-13 21:56:13 +02:00
PaddiM8
7b6f27186d Publish. 2020-06-13 21:42:14 +02:00
PaddiM8
ef44bd662e Made the output prettier by removing repeating characters. 2020-06-13 21:41:01 +02:00
PaddiM8
7f1c463ad8 Trimming trailing zeroes for numbers < 0. 2020-06-13 20:08:34 +02:00
Diana
4a9a8e4def
Rename binary to kalk
closes #4 4
2020-06-13 03:16:06 -04:00
PaddiM8
ada3fc52f9 Trimmed end matches of dots in order to avoid numbers such as 1.. 2020-06-12 21:30:03 +02:00
PaddiM8
64083eca82 Updated crate versions (thought I did this in the previous commit??). 2020-06-12 21:27:01 +02:00
PaddiM8
ec78eabd66 Fixed exponent being one too much for scientific notation. 2020-06-12 21:16:47 +02:00
PaddiM8
29960043b8 Version update test. 2020-06-12 18:16:54 +02:00
PaddiM8
f39e9d6c6c Updated .travis.yml. 2020-06-12 16:10:32 +02:00
PaddiM8
15e045bcea Changed the version requirement to a caret one for kalk in kalk_cli. 2020-06-12 14:43:39 +02:00
PaddiM8
36632cf191 Made kalk_cli use the local version of kalk when possible. 2020-06-12 14:39:41 +02:00
PaddiM8
2ccb439dec Created a workspace Cargo.toml to unify the library and binary. 2020-06-12 14:11:42 +02:00
PaddiM8
72ba5db350 Added completion for constants. 2020-06-12 00:49:50 +02:00
PaddiM8
3d67347f2a Expanded installation instructions to include cargo install. 2020-06-12 00:41:18 +02:00
PaddiM8
11c7e5b287 Added example image and expanded feature list. 2020-06-12 00:34:50 +02:00
PaddiM8
3b093efde5 Updated kalk_cli's Cargo.toml to use kalk from crates.io instead of a local version. 2020-06-12 00:14:28 +02:00
PaddiM8
122ac06f82 Updated kalk_cli's Cargo.toml to prepare it for being published. 2020-06-12 00:13:05 +02:00
PaddiM8
42a9e7e82a Renamed parser::parse to parser::eval and created a new parser::parse function that does not evalutate the statements. 2020-06-10 13:55:43 +02:00
PaddiM8
e3b4e4e4f2 Removed history linting. 2020-06-09 16:41:04 +02:00
PaddiM8
e665564a6f Added gamma function. 2020-06-09 15:53:29 +02:00
PaddiM8
88d0c7c523 Made the highlighter code cleaner by unifying the regular expressions into one. 2020-06-09 15:43:53 +02:00
PaddiM8
c6f60748e2 Made the x_1 notation possible. 2020-06-09 14:59:29 +02:00
PaddiM8
0ab31c18cb Made it possible to load an input file (with variables and functions). 2020-06-09 14:20:40 +02:00