Commit Graph

82 Commits

Author SHA1 Message Date
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
PaddiM8
f8ef60b336 Added parenthesis to sum completion. 2020-06-09 10:37:57 +02:00
PaddiM8
cb1dbada71 Added completions for sum and parenthesis. 2020-06-09 10:34:58 +02:00
PaddiM8
d90bbf6112 Added completion for ceil and floor. 2020-06-08 21:58:55 +02:00
PaddiM8
c43696d1e4 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
746acc7bcc Change hint highlight to gray. 2020-06-07 19:02:07 +02:00
PaddiM8
8d039afe22 Implemented simple syntax highlighting and symbol-completion. 2020-06-07 18:56:28 +02:00
PaddiM8
2074a5b15b Fixed output not displaying small-ish decimal numbers properly. 2020-06-06 17:20:40 +02:00
PaddiM8
c2e446576a Created CalcError enum and centralised error formatting into once place. 2020-06-06 16:28:48 +02:00
PaddiM8
5b9e9849e8 Improved output. 2020-06-06 14:55:30 +02:00
PaddiM8
024a215a41 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