101 Commits

Author SHA1 Message Date
ConnorSkees
5fb3f52114 0.5.0 tests in toplevel docs 2020-04-01 17:59:47 -04:00
ConnorSkees
f46d53d3cc implement keyword operators 2020-04-01 17:40:35 -04:00
ConnorSkees
f7d9d4432a initial implementation of @each 2020-03-31 01:00:25 -04:00
ConnorSkees
eb478b632d initial implementation of maps 2020-03-30 15:44:06 -04:00
ConnorSkees
08dcf0fae7 remove unused symbol and whitespace structs 2020-03-30 10:47:19 -04:00
ConnorSkees
31ec0cc7f8 properly handle interpolation in selectors 2020-03-30 02:30:44 -04:00
ConnorSkees
57a704172f properly handle silent comments in styles 2020-03-30 02:21:41 -04:00
ConnorSkees
ae0ce9894c variables do not include interpolation 2020-03-30 01:48:37 -04:00
ConnorSkees
07505399da remove the lexer 2020-03-29 19:42:27 -04:00
ConnorSkees
f15ab57573 refactor @if/@else if/@else 2020-03-24 22:13:38 -04:00
ConnorSkees
b292d56efa refactor function body to allow more than at-rules 2020-03-24 01:26:23 -04:00
ConnorSkees
3afe88e2d6 !global variables are also in local scope 2020-03-24 00:43:09 -04:00
ConnorSkees
0be8828bf0 make better use of num traits 2020-03-22 22:28:54 -04:00
ConnorSkees
415b19fc47 implement @content inside mixins 2020-03-22 15:08:13 -04:00
ConnorSkees
907ac3390c refactor functions and mixins into atrule folder 2020-03-22 14:26:33 -04:00
ConnorSkees
f1238c4d3a implement @if/@else 2020-03-22 02:14:01 -04:00
ConnorSkees
78d7d5ce36 proper error message for out of place @return 2020-03-22 00:47:21 -04:00
ConnorSkees
c5f3936eb2 refactor lexing of at-rules 2020-03-21 23:57:36 -04:00
ConnorSkees
90fb2e6112 reduce usage of std::process::exit 2020-03-21 14:33:27 -04:00
ConnorSkees
8e43d906b5 update passing tests 2020-03-20 21:00:27 -04:00
ConnorSkees
195a9b1552 Refactor tokens into separate file 2020-03-19 19:32:11 -04:00
ConnorSkees
dcb712e3d4 Refactor unit conversions into separate file 2020-03-19 16:24:31 -04:00
ConnorSkees
061694bd63 Initial implementation of !global (some issues remain) 2020-03-17 20:13:53 -04:00
ConnorSkees
31fbb0a77e rustfmt 2020-03-10 21:23:47 -04:00
ConnorSkees
84e402023a @content boilerplate 2020-03-01 17:06:55 -05:00
ConnorSkees
3181d58441 refactor and cleaning 2020-03-01 14:53:52 -05:00
ConnorSkees
d7b22a41a6 Properly handle & in most contexts 2020-03-01 12:03:14 -05:00
ConnorSkees
6ebadd7869 Add toplevel documentation 2020-03-01 09:08:13 -05:00
ConnorSkees
35163c4a36 Properly scope variables inside for loops 2020-03-01 08:20:59 -05:00
ConnorSkees
7d39b0c86a Evaluate binary ops when inserting variables 2020-02-29 20:09:41 -05:00
ConnorSkees
624cf06f69 clippy 2020-02-29 16:13:57 -05:00
ConnorSkees
5367cb315a Allow multiple semicolons 2020-02-29 15:54:13 -05:00
ConnorSkees
82813fee6f Allow @for to include only styles 2020-02-29 15:29:04 -05:00
ConnorSkees
1b79127cc5 Initial implementation of @for 2020-02-29 11:46:48 -05:00
ConnorSkees
bc2c927aa7 Properly emit @charset 2020-02-28 18:27:32 -05:00
ConnorSkees
a91ab9007e Rename Token method equals_symbol to is_symbol 2020-02-28 01:01:31 -05:00
ConnorSkees
fba6f2eb73 Properly emit quotes after interpolation 2020-02-24 18:58:09 -05:00
ConnorSkees
8c6be57872 Handle curly braces in quotes in styles 2020-02-24 17:47:32 -05:00
ConnorSkees
9877f4a0e0 Attribute selectors are parsed after lexing 2020-02-24 15:07:18 -05:00
ConnorSkees
4c3f5e24ee Handle utf8 input (a bit) 2020-02-23 07:52:14 -05:00
ConnorSkees
53861ccb0d clippy 2020-02-22 17:57:13 -05:00
ConnorSkees
a3b260c0bd Allow nested unknown @ rules 2020-02-22 15:34:32 -05:00
ConnorSkees
71b4729613 Toplevel unknown at rules 2020-02-22 12:02:52 -05:00
ConnorSkees
cacf8c41ab Implement Selector::new() utility function 2020-02-22 10:25:30 -05:00
ConnorSkees
af4917a4e6 correct regression in toplevel & error message
Broken in bb16060ddb8df75b2096966dda1e5c700a494407
2020-02-17 09:53:10 -05:00
ConnorSkees
bb16060ddb rustfmt 2020-02-17 09:37:34 -05:00
ConnorSkees
eab0049566 Use SassError in more places 2020-02-17 09:22:41 -05:00
ConnorSkees
e7de93bd38 Proper error message for undefined variables 2020-02-17 07:55:03 -05:00
ConnorSkees
42cbd685d3 Refactor how function call args are parsed 2020-02-16 21:34:52 -05:00
ConnorSkees
af5c945dfa Return literal unit in StyleSheet::Display 2020-02-16 18:26:35 -05:00