30 Commits

Author SHA1 Message Date
ConnorSkees
d7b22a41a6 Properly handle & in most contexts 2020-03-01 12:03:14 -05:00
ConnorSkees
624cf06f69 clippy 2020-02-29 16:13:57 -05:00
ConnorSkees
82813fee6f Allow @for to include only styles 2020-02-29 15:29:04 -05:00
ConnorSkees
b85b122e3d Preserve case of keywords from, to, and through 2020-02-29 12:11:40 -05:00
ConnorSkees
c4d365a124 Create spaced list when values are adjacent 2020-02-24 19:05:50 -05:00
ConnorSkees
54e71130e7 Strings containing interpolation are double quoted 2020-02-24 15:18:53 -05:00
ConnorSkees
776e6444e6 rustfmt 2020-02-24 09:37:32 -05:00
ConnorSkees
e8ee76f7dc Properly parse single quoted strings and string interpolation 2020-02-24 09:36:17 -05:00
ConnorSkees
4c3f5e24ee Handle utf8 input (a bit) 2020-02-23 07:52:14 -05:00
ConnorSkees
ef4a9e9ded Strings can start with # and don't have to be colors 2020-02-23 07:41:00 -05:00
ConnorSkees
585011c621 Remove unwrap from FuncArgs 2020-02-17 09:29:05 -05:00
ConnorSkees
f7aacba76c Use .remove() over .get() to avoid a clone 2020-02-17 08:13:15 -05:00
ConnorSkees
e7de93bd38 Proper error message for undefined variables 2020-02-17 07:55:03 -05:00
ConnorSkees
23b90aa97e Use remove() rather than .get() to avoid a clone 2020-02-16 22:04:54 -05:00
ConnorSkees
42cbd685d3 Refactor how function call args are parsed 2020-02-16 21:34:52 -05:00
ConnorSkees
1995b5ec6e Error messages in builtins 2020-02-16 11:59:04 -05:00
ConnorSkees
f817598a9d Refactor error handling 2020-02-16 10:54:25 -05:00
ConnorSkees
d300cd046a Use SassError over Option inside builtins 2020-02-16 10:14:17 -05:00
ConnorSkees
4c70b84ed7 Calls to undefined functions should be treated as idents 2020-02-09 20:26:14 -05:00
ConnorSkees
7fcfeee97e clippy 2020-02-09 19:07:44 -05:00
ConnorSkees
1269c9f662 Initial implementation of invert() (no support for weight argument) 2020-02-09 13:31:58 -05:00
ConnorSkees
6c8dd6de93 rustfmt 2020-02-08 20:20:03 -05:00
ConnorSkees
c75e5cc553 Properly parse floating point numbers and rgba() 2020-02-08 20:07:20 -05:00
ConnorSkees
44d257494a Properly print decimal numbers 2020-02-08 18:43:18 -05:00
ConnorSkees
4585558266 Add (variable|function|mixin)-exists builtin functions 2020-02-08 17:41:54 -05:00
ConnorSkees
fa582b3316 Treat - and _ as the same in identifiers 2020-02-08 17:26:01 -05:00
ConnorSkees
783e43b765 clippy 2020-02-08 17:03:43 -05:00
ConnorSkees
705ae0c810 Refactor how idents are flattened 2020-02-08 16:49:44 -05:00
ConnorSkees
3404073ed8 Refactor hex parsing 2020-02-08 16:44:42 -05:00
ConnorSkees
a139e07189 Move Value parsing to separate file 2020-02-08 16:17:58 -05:00