2020-01-19 22:58:25 -05:00
|
|
|
# grass
|
|
|
|
|
2020-02-03 08:49:47 -05:00
|
|
|
An implementation of the SASS spec in pure Rust
|
2020-01-19 22:58:25 -05:00
|
|
|
|
2020-01-20 12:42:06 -05:00
|
|
|
To run the official test suite,
|
|
|
|
|
|
|
|
```bash
|
2020-02-15 11:47:19 -05:00
|
|
|
git clone https://github.com/connorskees/grass
|
2020-01-20 12:42:06 -05:00
|
|
|
cd grass
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
cargo b --release
|
|
|
|
./sass-spec/sass-spec.rb -c './target/release/grass'
|
|
|
|
```
|
|
|
|
|
2020-03-22 15:44:47 -04:00
|
|
|
The large features remaining are
|
|
|
|
```
|
|
|
|
@while
|
|
|
|
maps
|
|
|
|
order of operations
|
|
|
|
@each
|
|
|
|
special case certain functions (min, max, calc, element, expression, progid, url)
|
|
|
|
variadic arguments
|
|
|
|
many builtin list functions
|
|
|
|
all builtin selector functions
|
|
|
|
all builtin map functions
|
|
|
|
@extend
|
|
|
|
indented syntax
|
|
|
|
dedicated global scope
|
|
|
|
a special parser for plain css
|
|
|
|
@use and module system
|
|
|
|
@forward
|
|
|
|
```
|
|
|
|
in addition to some smaller features like `\` in selectors
|
|
|
|
|
2020-02-09 22:48:55 -05:00
|
|
|
|
2020-03-24 10:53:21 -04:00
|
|
|
```
|
|
|
|
2020-03-23
|
|
|
|
PASSING: 1547
|
|
|
|
FAILING: 3546
|
|
|
|
TOTAL: 5093
|
|
|
|
```
|
|
|
|
|
2020-03-20 21:00:27 -04:00
|
|
|
```
|
2020-03-22 15:44:47 -04:00
|
|
|
2020-03-22
|
|
|
|
PASSING: 1442
|
|
|
|
FAILING: 3651
|
2020-03-20 21:00:27 -04:00
|
|
|
TOTAL: 5093
|
2020-03-20 21:10:58 -04:00
|
|
|
```
|
|
|
|
|
2020-02-24 20:16:19 -05:00
|
|
|
```
|
|
|
|
2020-02-24
|
|
|
|
PASSING: 1192
|
|
|
|
FAILING: 3901
|
|
|
|
TOTAL: 5093
|
|
|
|
```
|
|
|
|
|
2020-02-15 10:06:26 -05:00
|
|
|
```
|
2020-02-18 07:09:12 -05:00
|
|
|
2020-02-17
|
|
|
|
PASSING: 1115
|
|
|
|
FAILING: 3978
|
2020-02-15 10:06:26 -05:00
|
|
|
TOTAL: 5093
|
|
|
|
```
|
|
|
|
|
2020-02-09 22:48:55 -05:00
|
|
|
```
|
|
|
|
2020-02-10
|
|
|
|
PASSING: 475
|
|
|
|
FAILING: 4618
|
|
|
|
TOTAL: 5093
|
|
|
|
```
|
|
|
|
|
2020-02-03 08:49:47 -05:00
|
|
|
```
|
|
|
|
2020-02-03
|
|
|
|
PASSING: 242
|
|
|
|
FAILING: 4851
|
2020-01-27 16:57:12 -05:00
|
|
|
TOTAL: 5093
|
2020-02-03 08:49:47 -05:00
|
|
|
```
|
2020-01-27 16:57:12 -05:00
|
|
|
|
2020-02-03 08:49:47 -05:00
|
|
|
```
|
|
|
|
2020-01-27
|
|
|
|
PASSING: 186
|
|
|
|
FAILING: 4907
|
|
|
|
TOTAL: 5093
|
|
|
|
```
|
2020-01-19 22:58:25 -05:00
|
|
|
|
2020-02-03 08:49:47 -05:00
|
|
|
```
|
|
|
|
2020-01-20
|
|
|
|
PASSING: 143
|
|
|
|
FAILING: 4950
|
|
|
|
TOTAL: 5093
|
|
|
|
```
|