16 Commits

Author SHA1 Message Date
Connor Skees
6322bae14c increase code coverage 2022-12-26 18:45:09 -05:00
Connor Skees
ffaee04613
rewrite parsing, evaluation, and serialization (#67)
Adds support for the indented syntax, plain CSS imports, `@forward`, and many other previously missing features.
2022-12-26 15:33:04 -05:00
Midas Lambrichts
7539762a0c
Resolve NaN todo!()s for addition and subtraction with other numbers (#40)
* Replace todo's for propagating NaN

* Propagate NaN for remainder as well
2020-09-13 18:08:41 -04:00
Connor Skees
34dd92f78f hyphen followed by interpolation is not treated as subtraction 2020-08-15 20:18:37 -04:00
Connor Skees
a665cb13cc remove cfg(test) from test files 2020-08-11 20:22:24 -04:00
Connor Skees
9e2397ce8d refactor !important tests into separate file 2020-08-11 14:58:41 -04:00
Connor Skees
fb24d4db4f remove remaining binop todo!()s 2020-07-04 08:37:35 -04:00
ConnorSkees
2a79fa2a40 implement some of the more esoteric binary ops
addition, subtraction, and multiplication of functions and maps, along
with correct error messages and tests
2020-05-22 23:30:48 -04:00
ConnorSkees
a8141d2488 handle edge case in parsing of units ending with hypen followed by whitespace 2020-04-25 20:19:50 -04:00
ConnorSkees
99ae3ae30a test for multiline comments in subtraction 2020-04-23 19:44:20 -04:00
ConnorSkees
f8540755f5 better support for unary plus 2020-04-20 02:19:54 -04:00
ConnorSkees
9103a1d0d8 add ignored subtraction test 2020-04-20 02:06:45 -04:00
ConnorSkees
a8e97984d4 subtraction occurs when no space between operands 2020-04-20 01:56:53 -04:00
ConnorSkees
6df6bcf1da refactor value parsing 2020-04-01 15:32:52 -04:00
ConnorSkees
8a600a4f07 implement number minus ident 2020-03-31 01:52:52 -04:00
ConnorSkees
211a57ebdb refactor tests for add/subtract to different files 2020-03-30 10:10:51 -04:00