Commit graph

60 commits

Author SHA1 Message Date
Juhani Krekelä
254ac20186 Run a REPL if no arguments are given 2023-06-01 19:39:48 +03:00
Juhani Krekelä
e8e81b4564 Add support for cubic yards 2023-06-01 19:31:55 +03:00
Juhani Krekelä
8e4680a3bc Add support for square yards 2023-06-01 19:24:11 +03:00
Juhani Krekelä
b8d9ba177c Add a caveat section in the README.md 2023-06-01 19:17:20 +03:00
Juhani Krekelä
91b236d8b3 Fix capitalization for degrees Fahrenheit 2023-06-01 03:35:27 +03:00
Juhani Krekelä
79634cb944 Add README.md 2023-06-01 03:31:04 +03:00
Juhani Krekelä
b13191050f Add additional ways to spell US cup 2023-06-01 03:09:00 +03:00
Juhani Krekelä
4eb55ac7b8 Change terminology weight → mass 2023-06-01 03:00:10 +03:00
Juhani Krekelä
db674d1419 Suggest disambiguation for tons 2023-06-01 02:55:47 +03:00
Juhani Krekelä
9badd90b91 Add support for long tons 2023-06-01 02:53:07 +03:00
Juhani Krekelä
f69177edca Add support for short tons 2023-06-01 02:53:07 +03:00
Juhani Krekelä
d6e0e95a6a Simplify parse::test::units 2023-06-01 02:53:07 +03:00
Juhani Krekelä
a297d87ff1 Simplify parse::test::ambiguous_units 2023-06-01 02:53:07 +03:00
Juhani Krekelä
f354fbe555 Suggest disambiguations for ambiguous units 2023-05-31 23:19:57 +03:00
Juhani Krekelä
e2e1349913 Add support for US teaspoons 2023-05-31 22:42:00 +03:00
Juhani Krekelä
c16befe55c Add support for US tablespoons 2023-05-31 22:41:29 +03:00
Juhani Krekelä
1639748c68 Add support for US fluid ounces 2023-05-31 22:19:55 +03:00
Juhani Krekelä
1c3315d19d Add support for US cups 2023-05-31 22:10:49 +03:00
Juhani Krekelä
5555d0712e Add support for US liquid pints 2023-05-31 17:57:48 +03:00
Juhani Krekelä
6acd0d56a6 Add an additional way to spell imperial pint 2023-05-31 17:57:25 +03:00
Juhani Krekelä
6acd8b0e82 Add support for US liquid quarts 2023-05-31 17:57:09 +03:00
Juhani Krekelä
8a3002a8ad Add support for US gallons 2023-05-31 17:56:43 +03:00
Juhani Krekelä
9380d9059a Resort fluid volume units from smallest to largest for consistency 2023-05-31 17:55:40 +03:00
Juhani Krekelä
bec9e494b5 Add suport for imperial fluid ounces 2023-05-30 20:34:38 +03:00
Juhani Krekelä
f9975903aa Add support for imperial pints 2023-05-30 20:31:06 +03:00
Juhani Krekelä
8d50c9643a Add support for imperial quarts 2023-05-30 20:31:06 +03:00
Juhani Krekelä
9ef0c9655d Add support for imperial gallons 2023-05-30 20:31:06 +03:00
Juhani Krekelä
782e4a18a7 Add support for cubic feet 2023-05-29 22:40:03 +03:00
Juhani Krekelä
5a1d6850e3 Add support for cubic inches 2023-05-29 22:32:49 +03:00
Juhani Krekelä
5d8462c6e4 Add more ways to spell square mile 2023-05-29 22:05:08 +03:00
Juhani Krekelä
8060f79067 Add more ways to spell square feet 2023-05-29 22:03:08 +03:00
Juhani Krekelä
e6ec05323f Add more ways to spell square inches 2023-05-29 21:58:29 +03:00
Juhani Krekelä
c81ebb80df Add more ways to spell degrees Fahrenheit 2023-05-29 21:52:34 +03:00
Juhani Krekelä
5335e141a4 Allow units to contain nubers after a caret 2023-05-29 21:48:45 +03:00
Juhani Krekelä
fbbafcd2ec Allow units to contain spaces 2023-05-29 21:43:02 +03:00
Juhani Krekelä
1842d480e1 Disallow several temperatures in input 2023-05-29 21:39:48 +03:00
Juhani Krekelä
1a493a1716 Fix spelling Celcius → Celsius 2023-05-29 21:37:56 +03:00
Juhani Krekelä
055ab32a99 Add support for square miles 2023-05-29 03:28:09 +03:00
Juhani Krekelä
7a7959c172 Add support for acres 2023-05-29 03:28:09 +03:00
Juhani Krekelä
85c5c9d66f Add support for square feet 2023-05-29 03:28:09 +03:00
Juhani Krekelä
7eb31b1b4b Add support for square inches 2023-05-29 03:28:09 +03:00
Juhani Krekelä
d6441454fc Split format::test::units to per-unit tests 2023-05-29 02:54:27 +03:00
Juhani Krekelä
ebff87c733 Remove extraneus comma in a match statement 2023-05-28 23:44:49 +03:00
Juhani Krekelä
46146ca712 Fix inconsistent newline before else if 2023-05-28 23:40:42 +03:00
Juhani Krekelä
88d143b8e6 Add CC0 license 2023-05-28 23:24:05 +03:00
Juhani Krekelä
81082fd11d Add support for degrees Fahrenheit 2023-05-28 20:32:31 +03:00
Juhani Krekelä
b3fa9a01f1 Add conversion tests 2023-05-28 20:02:35 +03:00
Juhani Krekelä
f8db69e3b2 Format numbers so that they are easier to read 2023-05-28 20:02:06 +03:00
Juhani Krekelä
d77a84fef1 Use SI-prefixes that make sense for the given unit 2023-05-28 18:57:49 +03:00
Juhani Krekelä
3dee08d6d4 Change parse_number and parse_unit to return Results directly 2023-05-28 18:22:49 +03:00