Commit graph

87 commits

Author SHA1 Message Date
Tiffany Bennett
6aac7bab8c Run successfully off of definitions.units 2016-08-20 21:35:56 -04:00
Tiffany Bennett
5a679beba0 WIP out of order definition resolver 2016-08-20 20:03:02 -04:00
Tiffany Bennett
20e8e1adbd Impl Debug for Number 2016-08-20 20:02:38 -04:00
Tiffany Bennett
24f510f1f4 Implement gnu units parser 2016-08-20 17:00:26 -04:00
Tiffany Bennett
8db988c589 Implement tokenizer for GNU definitions.units 2016-08-20 15:11:27 -04:00
Tiffany Bennett
8d847e5930 Define subtraction of datetimes 2016-08-20 13:42:33 -04:00
Tiffany Bennett
6582ff4783 Add now for current datetime 2016-08-20 13:28:52 -04:00
Tiffany Bennett
af9d4d57ee Make prefixes optional in private message 2016-08-20 13:00:34 -04:00
Tiffany Bennett
8d635633b4 Fix display bug with square units in conversions 2016-08-19 20:24:30 -04:00
Tiffany Bennett
e1b7e3ab5e Improve output of factorization 2016-08-15 21:56:55 -04:00
Tiffany Bennett
e54edca635 Rename derivatives -> factorize; deduplicate 2016-08-15 21:24:57 -04:00
Tiffany Bennett
60b3fef18e Fix derivatives giving bad results 2016-08-15 21:04:55 -04:00
Tiffany Bennett
2e2c877bdb Add computation of unit derivatives 2016-08-15 19:39:03 -04:00
Tiffany Bennett
a85532d914 Add debug and more error checks to sandbox code 2016-08-15 14:05:54 -04:00
Tiffany Bennett
7fbf640b4b Add function call syntax 2016-08-14 23:39:40 -04:00
Tiffany Bennett
99d4f486fc Add common syntax aliases 2016-08-14 21:08:49 -04:00
Tiffany Bennett
717d8ccc2c Add Réaumur, Rømer, Delisle, and Newton scales 2016-08-14 19:12:11 -04:00
Tiffany Bennett
392431631b Fix incorrect division by zero check 2016-08-14 19:04:29 -04:00
Tiffany Bennett
aec9dad521 Implement suffixes for celsius and fahrenheit 2016-08-14 16:44:26 -04:00
Tiffany Bennett
a7e847781b Allow inline dimension definitions 2016-08-14 13:58:17 -04:00
Tiffany Bennett
56b990e968 Allow cross-origin requests to the web API 2016-08-14 12:19:37 -04:00
Tiffany Bennett
fb56fb9ecd Increase memory limit to 100MB, it was too low 2016-08-13 23:51:40 -04:00
Tiffany Bennett
f97b0f6311 Add sandboxing 2016-08-13 23:38:12 -04:00
Tiffany Bennett
f29ccdae8b Add really basic webserver 2016-08-13 21:57:46 -04:00
Tiffany Bennett
dddf6f6177 Fix hang in tokenizing for <<IMAGINARY_UNIT>> 2016-08-13 20:09:51 -04:00
Tiffany Bennett
74e4510e43 Fix hang in date literal parser 2016-08-13 19:24:28 -04:00
Tiffany Bennett
13eabf96c0 Fix hang in comment lexer 2016-08-13 18:51:26 -04:00
Tiffany Bennett
71f0950111 Add an = operator for custom units in conversions 2016-08-13 16:47:53 -04:00
Tiffany Bennett
bb1ca42174 Add optional dep on chrono-humanize 2016-08-12 20:55:22 -04:00
Tiffany Bennett
99ee3a3a46 Define DateTime +- seconds 2016-08-12 20:48:53 -04:00
Tiffany Bennett
e92464d8cd Change Dim from usize to Rc<String> 2016-08-12 20:41:53 -04:00
Tiffany Bennett
64dd83abc0 Print exact fractions in conversions 2016-08-11 22:50:55 -04:00
Tiffany Bennett
ce1474fd7b Fix copy paste error, better errors 2016-08-11 22:07:21 -04:00
Tiffany Bennett
f33b445f32 Move a bunch of logic out of eval() 2016-08-11 21:54:33 -04:00
Tiffany Bennett
ebe9efb7f7 Refactor a bunch of stuff into number.rs 2016-08-11 19:42:11 -04:00
Tiffany Bennett
4f90171276 Reorganize files 2016-08-10 23:59:22 -04:00
Tiffany Bennett
d342226d65 Rename Value to Number, allowing broader Value 2016-08-10 23:30:25 -04:00
Tiffany Bennett
05f87a3a74 Parse actual dates and make chrono datetimes 2016-08-10 23:25:47 -04:00
Tiffany Bennett
98dfcc7b2d Parse date-related things 2016-08-10 18:00:28 -04:00
Tiffany Bennett
4a142003af Multi-server support in IRC bot 2016-08-08 22:21:07 -04:00
Tiffany Bennett
fb32b61518 Implement subtraction 2016-08-07 22:46:36 -04:00
Tiffany Bennett
ec09c3a48c Update to git head of tiffany352/rust-gmp 2016-08-07 14:55:32 -04:00
Tiffany Bennett
4a182741e0 Error on root of negative number 2016-08-07 14:18:31 -04:00
Tiffany Bennett
2ba6132e3f Fix division by zero crashing 2016-08-07 13:52:20 -04:00
Tiffany Bennett
a9c9e433cf Improve conversion (->) output to show units 2016-08-07 13:45:26 -04:00
Tiffany Bennett
3307273ce7 Add btree_merge() 2016-08-07 13:44:52 -04:00
Tiffany Bennett
1b5e0a8ac9 Fix extraneous leading zero 2016-08-07 11:43:22 -04:00
Tiffany Bennett
8445e25b0b Port to cleaned up rust-gmp branch 2016-08-07 11:08:52 -04:00
Tiffany Bennett
038b85ce7a Fix consistency in output 2016-08-07 10:55:23 -04:00
Tiffany Bennett
330b12e0ab Tweak number printing to keep sizes sane 2016-08-07 10:39:55 -04:00