bakk
cf869358f2
Implemented piecewise
2021-05-31 18:55:37 +02:00
bakk
fa4e853982
Implemented complex variants of prelude functions
2021-05-22 20:47:10 +02:00
bakk
7a56322e0f
Basics of derivation
...
Derivation implemented for function calls (only). Eg. f'(2). It is not
yet possible to do something like f''(2), but this should be implemented
in the future. It should also be possible to derive normal expressions,
but this is not yet possible.
2021-05-17 20:36:53 +02:00
bakk
126e2e86f3
Created 'Identifier' struct that contains prime count and name without primes (ticks ')
2021-05-17 20:17:34 +02:00
PaddiM8
72cea91394
WebAssembly foundation
2020-12-30 22:50:39 +01:00
PaddiM8
2f7af7de90
Simple equation solving, mostly using pre-existing logic from the inverter
2020-12-14 19:21:30 +01:00
PaddiM8
56145c2f45
Store number literals as f64
2020-12-13 15:52:22 +01:00
PaddiM8
035ecafe7b
replaced phf with lazy_static
2020-12-10 23:40:29 +01:00
PaddiM8
f3b78e74f2
Created unit convertion expression. Syntax: <expr> to <unit>
2020-06-18 16:58:01 +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
f917b744b5
Added UnsupportedExpression errors.
2020-06-17 21:28:54 +02:00
PaddiM8
643509ce4a
Fixed inversion for (function) variables and added unit tests for the inverter.
2020-06-17 17:45:46 +02:00
PaddiM8
c86b4bc2f7
Fixed the broken unit tests in the parser and completed the test_angle_units test in the interpreter.
2020-06-15 21:30:52 +02:00
PaddiM8
1d19f40e9f
Added support for 'minus' expressions in the inverter and added some comments.
2020-06-14 21:54:39 +02:00
PaddiM8
f3c42fb95a
Added support for 'minus' expressions in the inverter and added some comments.
2020-06-14 21:35:56 +02:00
PaddiM8
4c34908368
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
6e81ea5ae1
Added some error checking to the inverter.
2020-06-13 22:18:37 +02:00
PaddiM8
05bfabb1d4
Made it possible for the inverter to invert expressions with function calls.
2020-06-13 20:06:21 +02:00
PaddiM8
71df9f5454
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