Commit Graph

37 Commits

Author SHA1 Message Date
PaddiM8
7f3fb7c045 Integrated the angle unit system with then new dynamic unit system. 2020-06-15 19:10:55 +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
77751750b7 Trimming trailing zeroes for numbers < 0. 2020-06-13 20:08:34 +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
6711e22f3e Version update test. 2020-06-12 18:16:54 +02:00
PaddiM8
f2a1ddcc05 Updated .travis.yml. 2020-06-12 16:10:32 +02:00
PaddiM8
a6be233d39 Changed the version requirement to a caret one for kalk in kalk_cli. 2020-06-12 14:43:39 +02:00
PaddiM8
e1017a4b9d Made kalk_cli use the local version of kalk when possible. 2020-06-12 14:39:41 +02:00
PaddiM8
0a5130099b Created a workspace Cargo.toml to unify the library and binary. 2020-06-12 14:11:42 +02:00
PaddiM8
73d2c1c99e Added completion for constants. 2020-06-12 00:49:50 +02:00
PaddiM8
2e2c068593 Expanded installation instructions to include cargo install. 2020-06-12 00:41:18 +02:00
PaddiM8
8b16e3cbd4 Added example image and expanded feature list. 2020-06-12 00:34:50 +02:00
PaddiM8
f5fe9c5180 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
059d8d4b17 Updated kalk_cli's Cargo.toml to prepare it for being published. 2020-06-12 00:13:05 +02:00
PaddiM8
3ffd62c572 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
2119864a45 Removed history linting. 2020-06-09 16:41:04 +02:00
PaddiM8
8d2e0b092b Added gamma function. 2020-06-09 15:53:29 +02:00
PaddiM8
a35bcc054a Made the highlighter code cleaner by unifying the regular expressions into one. 2020-06-09 15:43:53 +02:00
PaddiM8
98fc2bf151 Made the x_1 notation possible. 2020-06-09 14:59:29 +02:00
PaddiM8
5668a05227 Made it possible to load an input file (with variables and functions). 2020-06-09 14:20:40 +02:00
PaddiM8
6c9f0b10f3 Added parenthesis to sum completion. 2020-06-09 10:37:57 +02:00
PaddiM8
8d111d2fe2 Added completions for sum and parenthesis. 2020-06-09 10:34:58 +02:00
PaddiM8
9495ab9f6e Added completion for ceil and floor. 2020-06-08 21:58:55 +02:00
PaddiM8
ce65eb79a8 Changed lexer to allow any symbol as identifier as long as it isn't already used for syntax. 2020-06-07 19:08:33 +02:00
PaddiM8
3db7c215d3 Change hint highlight to gray. 2020-06-07 19:02:07 +02:00
PaddiM8
c1facbe6f1 Implemented simple syntax highlighting and symbol-completion. 2020-06-07 18:56:28 +02:00
PaddiM8
aeed8049fc Fixed output not displaying small-ish decimal numbers properly. 2020-06-06 17:20:40 +02:00
PaddiM8
d0536d6bd6 Created CalcError enum and centralised error formatting into once place. 2020-06-06 16:28:48 +02:00
PaddiM8
25dcc81bad Improved output. 2020-06-06 14:55:30 +02:00
PaddiM8
1056206d49 Removed trailing zeroes from results. 2020-06-05 17:06:24 +02:00
PaddiM8
3a8e939ac0 Removed self.advance() code duplication in lexer. 2020-06-04 20:09:43 +02:00
PaddiM8
cbc0b340a1 Renamed to 'kalk'. 2020-06-04 19:43:43 +02:00