1837 Commits

Author SHA1 Message Date
ConnorSkees
8acb535347 Remove TokenKind::Unit variant 2020-01-22 00:54:03 -05:00
ConnorSkees
dc82d999e9 Lex % as symbol rather than unit 2020-01-22 00:40:32 -05:00
ConnorSkees
21515214cb Refactor interpolation eating 2020-01-20 18:56:23 -05:00
ConnorSkees
efe056d3c7 Create AtRuleKind::Else variant 2020-01-20 18:21:07 -05:00
ConnorSkees
a7ca888942 Parse styles not ending in semicolons 2020-01-20 18:09:25 -05:00
ConnorSkees
6242ff8417 Move file to let binding (and fix import tests) 2020-01-20 17:01:47 -05:00
ConnorSkees
296bc864fa Handle arbitrarily nested interpolation 2020-01-20 17:01:25 -05:00
ConnorSkees
edb851c536 Make edition implicit 2020-01-20 16:01:58 -05:00
ConnorSkees
f7b1ed79a7 Merge branch 'master' of https://github.com/ConnorSkees/grass 2020-01-20 16:00:47 -05:00
ConnorSkees
d85f9d32f6 Make @import tests work 2020-01-20 16:00:37 -05:00
Connor Skees
4bd99acfcd
Add missing @import features 2020-01-20 15:14:38 -05:00
ConnorSkees
ba955c464a exclude the spec 2020-01-20 13:44:12 -05:00
ConnorSkees
75f38ba416 Move #[track_caller] behind feature gate 2020-01-20 13:39:25 -05:00
ConnorSkees
25b4bebdf8 Make everything private except StyleSheet 2020-01-20 13:15:47 -05:00
ConnorSkees
c0e82ba0a8 Mention official test suite in readme 2020-01-20 12:42:06 -05:00
ConnorSkees
98d7c08af8 Add sass-spec as submodule 2020-01-20 12:23:30 -05:00
ConnorSkees
2efdf489ca clippy 2020-01-20 12:17:07 -05:00
ConnorSkees
1cd38f0317 Convert errors to strings for pretty printing 2020-01-20 12:13:52 -05:00
ConnorSkees
0824a019c2 Properly lex ?, |, \f, and = 2020-01-20 11:39:05 -05:00
ConnorSkees
37ad341f91 Add short version flag 2020-01-20 11:09:05 -05:00
ConnorSkees
058772edb4 Refactor into library and add argument parsing 2020-01-20 11:00:01 -05:00
ConnorSkees
58ffa5baac Add clap as dependency 2020-01-20 10:59:29 -05:00
ConnorSkees
f23dec81ec Change return type and name of Mixin::from_tokens 2020-01-20 09:48:51 -05:00
ConnorSkees
6efb4141f6 Prefer match over if let 2020-01-20 09:37:09 -05:00
ConnorSkees
33244c34d7 Rename AtRule enum to AtRuleKind 2020-01-20 08:36:06 -05:00
Connor Skees
3e3f08599b
Create LICENSE 2020-01-19 23:04:48 -05:00
ConnorSkees
6c67fa38ef Fix readme checkboxes 2020-01-19 23:01:16 -05:00
ConnorSkees
802be9de22 Add readme 2020-01-19 22:58:25 -05:00
ConnorSkees
c64daceb20 Refactor conversion of SCSS to CSS 2020-01-19 19:27:52 -05:00
ConnorSkees
500b682739 Simplify handling of keyword arguments 2020-01-19 12:10:35 -05:00
ConnorSkees
1f1f43bf7c Implement keyword arguments in mixins 2020-01-19 11:50:30 -05:00
ConnorSkees
31506c7ce4 Add tests for default value arguments 2020-01-19 11:28:26 -05:00
ConnorSkees
1636d775c5 Implement default arguments in mixins 2020-01-19 10:58:38 -05:00
ConnorSkees
6da84575dc Prefer match over if let 2020-01-19 10:41:44 -05:00
ConnorSkees
28050116d3 Prefer match over if let 2020-01-19 01:01:02 -05:00
ConnorSkees
07cb3a4ac7 Remove clone from multiline comments 2020-01-19 00:29:45 -05:00
ConnorSkees
635f00baa6 Handle toplevel @debug, @warn, @error 2020-01-19 00:10:37 -05:00
ConnorSkees
c35940b84e Refactor include parsing into src/mixin.rs 2020-01-18 23:55:11 -05:00
ConnorSkees
4420b4ab25 Simplify mixin scoping 2020-01-18 21:15:09 -05:00
ConnorSkees
b25fe63e8e Further reduce usage of .clone() 2020-01-18 21:05:26 -05:00
ConnorSkees
720b1e9f22 Reduce usage of .clone() 2020-01-18 20:24:28 -05:00
ConnorSkees
b28295d2b1 Refactor mixin parsing into mixin.rs 2020-01-18 19:54:47 -05:00
ConnorSkees
2f1113ead8 Tidy clippy allows 2020-01-18 19:44:34 -05:00
ConnorSkees
99dfcb6756 Use Self:: for matching 2020-01-18 19:11:19 -05:00
ConnorSkees
622ca8ceef Remove more instances of unwrap() 2020-01-18 19:00:49 -05:00
ConnorSkees
d2ae3a4a0b Add cargo metadata 2020-01-18 18:59:43 -05:00
ConnorSkees
bb10fad2b8 Tidy imports 2020-01-18 18:36:00 -05:00
ConnorSkees
f3d21f1677 Parse files given path from stdin 2020-01-18 18:12:53 -05:00
ConnorSkees
0d9d1fc234 Properly interpolate all path variants 2020-01-18 18:08:32 -05:00
ConnorSkees
0485256115 Handle basic imports 2020-01-18 15:47:51 -05:00