PaddiM8
|
58bb2fd60f
|
Simple equation solving, mostly using pre-existing logic from the inverter
|
2020-12-14 19:21:30 +01:00 |
|
PaddiM8
|
c6d75104b3
|
Store number literals as f64
|
2020-12-13 15:52:22 +01:00 |
|
PaddiM8
|
29f8ac94f3
|
replaced phf with lazy_static
|
2020-12-10 23:40:29 +01:00 |
|
PaddiM8
|
ce824511ff
|
Created unit convertion expression. Syntax: <expr> to <unit>
|
2020-06-18 16:58:01 +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
|
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
|
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
|
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
|
d042e3577f
|
Made it possible for the inverter to invert expressions with function calls.
|
2020-06-13 20:06:21 +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 |
|