63 Commits

Author SHA1 Message Date
ConnorSkees
7db57054e1 emitting get-function is an error 2020-04-26 23:11:04 -04:00
ConnorSkees
c4de587f4e investigate feature complete inspect() 2020-04-26 18:27:08 -04:00
ConnorSkees
fb7fac5a53 empty bracketed lists are not null 2020-04-26 16:39:44 -04:00
ConnorSkees
33ccabce7b box color in value 2020-04-21 18:54:19 -04:00
ConnorSkees
3805eaab2b clippy 2020-04-21 18:22:26 -04:00
ConnorSkees
a6b61082fe interpolation of strings in idents is literal 2020-04-20 12:12:39 -04:00
ConnorSkees
29886d6845 newlines are no longer replaced with spaces in quoted strings 2020-04-20 11:48:17 -04:00
ConnorSkees
9790846c99 inspect comma separated list of comma separated lists 2020-04-20 03:07:02 -04:00
ConnorSkees
715f6fb94a inspect single value lists 2020-04-20 02:55:55 -04:00
ConnorSkees
9d9997432a properly unquote lists 2020-04-19 22:55:25 -04:00
ConnorSkees
18a04b2669 move util hex_char_for() to utils.rs 2020-04-19 15:50:22 -04:00
ConnorSkees
e820395cc5 refactor printing and parsing of quoted strings 2020-04-19 13:51:37 -04:00
ConnorSkees
4ba45bb8c1 more robust handling of is_null 2020-04-19 00:39:18 -04:00
ConnorSkees
305581ad75 properly error when attempting to display map 2020-04-18 20:11:49 -04:00
ConnorSkees
759e5fdfef simplify ident addition/subtraction 2020-04-18 13:44:11 -04:00
ConnorSkees
fc51798595 change several if statements to match 2020-04-18 13:22:06 -04:00
ConnorSkees
52c6ed0b64 remove QuoteKind::Single variant 2020-04-18 13:19:30 -04:00
ConnorSkees
62f9f7da4f integrate error handling with codemap 2020-04-12 19:37:12 -04:00
ConnorSkees
97425665f9 consolidate implementation of rgb and rgba 2020-04-06 21:22:03 -04:00
ConnorSkees
7e793392a7 handle special functions calc, element, expression, and progid 2020-04-06 19:26:47 -04:00
ConnorSkees
ef282c5c18 consolidate inspect implementations 2020-04-06 00:27:09 -04:00
ConnorSkees
d550615957 implement order of operations 2020-04-05 17:34:30 -04:00
ConnorSkees
bf8cb594da rustfmt 2020-04-04 21:07:53 -04:00
ConnorSkees
b44c064481 Rename value/function.rs to value/sass_function.rs
This is to faciliate the addition of src/value/css_function.rs and the
inclusion of a special type `CssFunction` which represents a plain css
function.
2020-04-04 18:55:59 -04:00
ConnorSkees
943299de74 better handling of $module in get-function 2020-04-04 12:45:30 -04:00
ConnorSkees
81c85a6f86 handle builtin functions in get-function 2020-04-03 23:49:44 -04:00
ConnorSkees
3f98d1abca initial implementation of get-function() 2020-04-03 21:38:34 -04:00
ConnorSkees
2d7f69e3da equality does unit conversions 2020-04-03 14:34:59 -04:00
ConnorSkees
39031aefff initial implementation of varargs 2020-04-02 13:33:26 -04:00
ConnorSkees
f46d53d3cc implement keyword operators 2020-04-01 17:40:35 -04:00
ConnorSkees
e5b7043480 do not print null values inside list 2020-03-31 00:27:00 -04:00
ConnorSkees
beff60ad31 clippy 2020-03-30 17:06:23 -04:00
ConnorSkees
eb478b632d initial implementation of maps 2020-03-30 15:44:06 -04:00
ConnorSkees
2ce639e9be implement > < >= <= 2020-03-30 10:42:13 -04:00
ConnorSkees
981bf27cb8 properly parse and emit bracketed lists 2020-03-23 19:56:24 -04:00
ConnorSkees
4b529a1236 proper error messages in (mixin|function)-exists 2020-03-23 15:22:16 -04:00
ConnorSkees
e6f2c26bc6 type-of(!important) returns 'string' 2020-03-23 15:13:19 -04:00
ConnorSkees
0be8828bf0 make better use of num traits 2020-03-22 22:28:54 -04:00
ConnorSkees
0e0b01f595 unquoted, empty strings are null 2020-03-22 18:36:21 -04:00
ConnorSkees
7d12bc8142 implement unary ops + and - 2020-03-21 12:14:02 -04:00
ConnorSkees
dcb712e3d4 Refactor unit conversions into separate file 2020-03-19 16:24:31 -04:00
ConnorSkees
0ad5e554b3 Add and subtract lists 2020-03-19 14:20:16 -04:00
ConnorSkees
9bbdf762ce clippy 2020-03-18 20:11:14 -04:00
ConnorSkees
103781e420 ident equality ignores quotekind 2020-03-18 17:23:38 -04:00
ConnorSkees
9630343676 Implement modulo 2020-03-18 11:39:58 -04:00
ConnorSkees
f57b08069d Handle unit multiplication 2020-03-16 21:29:00 -04:00
ConnorSkees
3181d58441 refactor and cleaning 2020-03-01 14:53:52 -05:00
ConnorSkees
b62b9240c0 Exit with error 2020-02-29 20:02:58 -05:00
ConnorSkees
4e7cf277e1 Improve binary op error messages 2020-02-29 20:01:43 -05:00
ConnorSkees
e2fcfeec47 rustfmt 2020-02-28 18:32:11 -05:00