Connor Skees
|
02bca8bc49
|
update docs
|
2022-12-28 22:32:18 -05:00 |
|
Connor Skees
|
743ad7a340
|
increase code coverage
|
2022-12-28 21:42:58 -05:00 |
|
Connor Skees
|
6cd208f41d
|
make crate compatible with 1.56.0
|
2022-12-28 17:57:11 -05:00 |
|
Connor Skees
|
795a160e01
|
remove redundant number accessor
|
2022-12-28 11:03:03 -05:00 |
|
Connor Skees
|
0363134ba3
|
box colors and complex units
|
2022-12-27 19:09:43 -05:00 |
|
Connor Skees
|
e25a9f7b12
|
box function references
|
2022-12-27 15:16:07 -05:00 |
|
Connor Skees
|
add1698180
|
unbox color and only store alpha once
|
2022-12-26 20:20:11 -05:00 |
|
Connor Skees
|
ffaee04613
|
rewrite parsing, evaluation, and serialization (#67)
Adds support for the indented syntax, plain CSS imports, `@forward`, and many other previously missing features.
|
2022-12-26 15:33:04 -05:00 |
|
Connor Skees
|
d349591926
|
clippy
|
2022-09-02 17:05:04 -04:00 |
|
Connor Skees
|
a6eb1fb88a
|
properly emit 0 in compressed mode
|
2021-09-19 16:33:12 -04:00 |
|
Connor Skees
|
1f672c4c49
|
mixins and functions can use their module's scope
|
2021-07-31 11:42:20 -04:00 |
|
Connor Skees
|
ebccebfed1
|
support 2 arg special rgb/rgba
|
2021-07-30 06:44:29 -04:00 |
|
Connor Skees
|
c6cb7c1d68
|
support special fn clamp
|
2021-07-30 05:57:13 -04:00 |
|
Connor Skees
|
2e1fa7ca2c
|
improve handling of $base to math.log
|
2021-07-25 22:50:56 -04:00 |
|
Connor Skees
|
1c553fd8dc
|
manually impl eq for Number, rather than derive
|
2021-07-25 16:12:47 -04:00 |
|
Connor Skees
|
94fe52a81d
|
support compressed lists and number values
|
2021-07-25 09:57:55 -04:00 |
|
Connor Skees
|
3ab2aa961a
|
don't clone in order to construct lexer
|
2021-07-24 20:10:10 -04:00 |
|
Connor Skees
|
bc33fd4cd7
|
update changelog
|
2021-07-21 22:56:10 -04:00 |
|
Connor Skees
|
d360af2cd6
|
improve code coverage
|
2021-07-21 09:17:37 -04:00 |
|
Connor Skees
|
7979158465
|
simplify parsing of @function and throw error on invalid @charset
|
2021-07-20 20:41:21 -04:00 |
|
Connor Skees
|
adfecfa83e
|
remove peekmore dependency
|
2021-07-11 15:12:46 -04:00 |
|
Connor Skees
|
142bc9da10
|
support builtin map.set
|
2021-07-04 18:59:35 -04:00 |
|
Connor Skees
|
8ea601ee43
|
nightly clippy
|
2021-07-04 01:24:08 -04:00 |
|
Connor Skees
|
a555352713
|
better support negative modulo
|
2021-07-04 00:37:04 -04:00 |
|
Connor Skees
|
2ff3524ac2
|
support arg to map-merge
|
2021-07-03 23:17:31 -04:00 |
|
Connor Skees
|
150ba14b74
|
clippy
|
2021-07-03 19:15:31 -04:00 |
|
Connor Skees
|
f17a1e6da2
|
placate clippy
|
2020-11-16 03:25:55 -05:00 |
|
Connor Skees
|
617a421612
|
remove superfluous derives from numbers
|
2020-08-19 03:48:59 -04:00 |
|
Connor Skees
|
c35fa2b8eb
|
deny non-numeric argument passed to unitless
|
2020-08-16 20:14:54 -04:00 |
|
Connor Skees
|
f33739aa0f
|
add more tests for malformed @for
test for capitalization of keywords, error messages, and regression
tests for integer overflows resulting when `from` or `to` ==
`std::i32::MAX`
|
2020-08-07 16:21:15 -04:00 |
|
Connor Skees
|
074d679cbd
|
support the @use ... with (...) syntax
|
2020-08-06 21:05:40 -04:00 |
|
Connor Skees
|
a9e4d5cba5
|
implement builtin function math.atan2
|
2020-08-02 00:43:26 -04:00 |
|
Connor Skees
|
dbe7f2d50b
|
use Unit rather than string as key to unit conversion map
|
2020-08-01 14:33:22 -04:00 |
|
Connor Skees
|
8bd14e0e86
|
implement builtin function math.hypot
|
2020-08-01 14:05:25 -04:00 |
|
Connor Skees
|
8c1cde8a61
|
implement builtin function math.pow
|
2020-07-29 18:13:37 -04:00 |
|
Connor Skees
|
2b9cad5971
|
implement builtin function meta.module-functions
|
2020-07-27 17:59:09 -04:00 |
|
Connor Skees
|
458fcf0fd8
|
implement builtin function math.log
|
2020-07-27 01:52:34 -04:00 |
|
Connor Skees
|
313913734a
|
tests for math.asin and math.atan
|
2020-07-27 00:14:39 -04:00 |
|
Connor Skees
|
fbcee00bdd
|
allow NaN to take units and refactor math.acos
|
2020-07-26 23:45:02 -04:00 |
|
Connor Skees
|
78da4ad2fe
|
use macro to simplify declaration of trig fns
|
2020-07-26 22:17:52 -04:00 |
|
Connor Skees
|
e67b0dc440
|
implement builtin math functions sin , tan , acos , asin , and atan
|
2020-07-26 22:11:19 -04:00 |
|
Connor Skees
|
eee5eeb826
|
implement builtin function math.cos
|
2020-07-26 22:04:07 -04:00 |
|
Connor Skees
|
2265e7eb74
|
implement builtin function math.sqrt
|
2020-07-26 21:24:21 -04:00 |
|
Connor Skees
|
53cf2816e0
|
use None to represent NaN
|
2020-07-26 19:38:41 -04:00 |
|
Connor Skees
|
eeb0b0a924
|
implement builtin sass:math function clamp
|
2020-07-26 13:21:59 -04:00 |
|
Connor Skees
|
3a7a3f508a
|
initial parsing work for modules
|
2020-07-25 19:22:12 -04:00 |
|
Connor Skees
|
67cbf9591a
|
allow !optional in @extend
|
2020-07-24 20:23:54 -04:00 |
|
Joe Ling - uni laptop
|
50d1987af2
|
Added grass::Options and implemented options.load_paths
|
2020-07-15 12:37:19 +01:00 |
|
Joe Ling - uni laptop
|
afbae12b72
|
fixed formatting
|
2020-07-13 15:39:14 +01:00 |
|
Joe Ling - uni laptop
|
fe26350932
|
Added load_paths for @import
|
2020-07-13 14:52:52 +01:00 |
|