Commit graph

401 commits

Author SHA1 Message Date
Tiffany Bennett
e29787c0fb Implement addition of substances 2016-09-28 22:11:33 -04:00
Tiffany Bennett
78c3613db4 Add conversion to substances 2016-09-28 21:29:44 -04:00
Tiffany Bennett
4214c638b8 Fix some issues with substance conversions 2016-09-28 21:23:02 -04:00
Tiffany Bennett
64f0d71aa7 Add conversion to output values of substances 2016-09-28 16:11:56 -04:00
Tiffany Bennett
661f30a998 Better error on undefined value-conversion 2016-09-28 15:45:20 -04:00
Tiffany Bennett
cd832100af Show only substance name in some places
e.g. Operation is not defined: <1 (dimensionless) egg> * <1 (dimensionless) egg>
2016-09-28 15:36:57 -04:00
Tiffany Bennett
83427e5b94 Warn on conflicting properties, fix conflicts 2016-09-28 15:29:59 -04:00
Tiffany Bennett
1eec919995 Add tab completion of substances and properties 2016-09-28 10:54:34 -04:00
Tiffany Bennett
57ee25643a Add name to substances, dedup fields with Rc 2016-09-28 10:37:07 -04:00
Tiffany Bennett
d9eb86fcca Move celestial body definitions to substances 2016-09-28 00:32:11 -04:00
Tiffany Bennett
d63e5d6d7c Fix wrong math in substance access 2016-09-28 00:31:33 -04:00
Tiffany Bennett
44aeb2fccf Update definitions to use substances 2016-09-27 23:46:51 -04:00
Tiffany Bennett
6080101500 Add shorthand def syntax for countable substances 2016-09-27 23:45:16 -04:00
Tiffany Bennett
29df329fd1 Print countable substances better 2016-09-27 23:35:49 -04:00
Tiffany Bennett
275f28a96f Allow of syntax in unit definition files 2016-09-27 22:25:28 -04:00
Tiffany Bennett
305874a0d0 Handle dependency resolution of substances 2016-09-27 22:25:11 -04:00
Tiffany Bennett
6fba23c587 Change how substances handle dimensionless amounts 2016-09-27 22:24:39 -04:00
Tiffany Bennett
f50fc22e0c Implement the 'of' operator 2016-09-27 13:20:50 -04:00
Tiffany Bennett
92177910a2 Improve rendering of substances 2016-09-27 12:54:11 -04:00
Tiffany Bennett
3f0a40a480 Add input and output names to properties 2016-09-27 12:35:17 -04:00
Tiffany Bennett
fb4b9981e1 Add amount field and impl Mul+Div for Substance 2016-09-27 12:19:35 -04:00
Tiffany Bennett
33ad094e20 Use Substance::to_reply in eval_outer 2016-09-27 12:19:16 -04:00
Tiffany Bennett
1cf68cffa4 Add lookup, repr, and printing for substances 2016-09-27 11:57:25 -04:00
Tiffany Bennett
2d2fc984a9 Load substances into context 2016-09-27 11:14:26 -04:00
Tiffany Bennett
ed945e4b6e Add parsing for substance definitions 2016-09-27 10:58:17 -04:00
Tiffany Bennett
8b1c1a6186 Add parsing for 'of' syntax 2016-09-27 10:43:25 -04:00
Tiffany Bennett
3e05f74f1d Fix failing tests 2016-09-27 10:42:40 -04:00
Tiffany Bennett
3ab99799fe Fix panic when multiplying dates 2016-09-26 09:42:14 -04:00
Tiffany Bennett
06a4456c72 Add tau 2016-09-26 00:56:06 -04:00
Tiffany Bennett
c3f436806e Use floats for roots and non-integer powers 2016-09-26 00:54:28 -04:00
Tiffany Bennett
9fff8b71c6 Fix angular momentum quantity, add flow rate
Removes spin because of conflict.
2016-09-26 00:46:05 -04:00
Tiffany Bennett
efd3182f46 Merge branch 'float2' 2016-09-26 00:37:07 -04:00
Tiffany Bennett
57a4a239fe Add several float trig functions 2016-09-26 00:36:31 -04:00
Tiffany Bennett
b5cec68217 Always consider floats as approx. when displayed 2016-09-26 00:05:25 -04:00
Tiffany Bennett
1b3109a263 Implement sin() using floats 2016-09-26 00:01:35 -04:00
Tiffany Bennett
0c07ff1541 Add machine floats to Num 2016-09-26 00:01:23 -04:00
Tiffany Bennett
1995aedf4b Refactor most Mpq use behind Num 2016-09-25 23:23:55 -04:00
Tiffany Bennett
0619357805 Add missing copyright headers 2016-09-25 23:16:11 -04:00
Tiffany Bennett
d35bebbd5b Split code out of eval.rs 2016-09-25 21:13:35 -04:00
Tiffany Bennett
7b74671649 Add unit search command 2016-09-25 20:32:26 -04:00
Tiffany Bennett
9725d2a791 Fix failing test 2016-09-25 20:23:42 -04:00
Tiffany Bennett
841f23e0cc Remove rink-debug-tokens from Cargo.toml 2016-09-24 19:45:54 -04:00
Tiffany Bennett
ca453cf057 Remove rink-debug-tokens binary 2016-09-23 19:54:07 -04:00
Tiffany Bennett
98ec6edd5a Fix printing definitions for long base unit names 2016-09-23 17:15:24 -04:00
Tiffany Bennett
77f898fa9d Add doc comments for base units 2016-09-23 16:54:15 -04:00
Tiffany Bennett
24cb2750d0 Show definitions of base units 2016-09-23 16:13:54 -04:00
Tiffany Bennett
12e46bf30b Implement doc comments 2016-09-23 15:05:51 -04:00
Tiffany Bennett
55cdf3389b Make typo suggestions case insensitive 2016-09-22 22:21:22 -04:00
Tiffany Bennett
ba48014583 Allow base modifier in unit conversions
No longer an entirely separate conversion type.
2016-09-22 21:58:32 -04:00
Tiffany Bennett
ebe7929860 Conversion to bases 2...62 2016-09-22 17:51:55 -04:00