Connor Skees
2e1fa7ca2c
improve handling of $base
to math.log
2021-07-25 22:50:56 -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
fccf93cd96
originals uses pointer equality check, rather than true equality
2021-07-24 14:42:21 -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
Paolo Barbolini
c40eec8728
Update dependencies ( #48 )
2021-07-11 01:35:56 -04:00
Connor Skees
142bc9da10
support builtin map.set
2021-07-04 18:59:35 -04:00
Connor Skees
81d5dbbb7e
implement math.div
2021-07-04 16:19:38 -04:00
Connor Skees
5d268be2ed
support hwb color space
2021-07-04 15:53:27 -04:00
Connor Skees
8ea601ee43
nightly clippy
2021-07-04 01:24:08 -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
27eeaeef08
plain-css invert accepts numbers of any unit
2020-11-16 03:09:40 -05:00
Connor Skees
cb046f7be7
list-separator
is comma for maps and arglists
2020-08-17 03:39:33 -04:00
Connor Skees
790b0685cb
set-nth correctly recognizes arglists
2020-08-17 02:03:13 -04:00
Connor Skees
c35fa2b8eb
deny non-numeric argument passed to unitless
2020-08-16 20:14:54 -04:00
Connor Skees
28a0a33d85
respect $module
argument passed to function-exists
2020-08-16 19:47:18 -04:00
Connor Skees
f60fb26ca0
do not panic when extending by compound selector with parent
2020-08-16 19:09:08 -04:00
Connor Skees
679bb94b53
add tests for unitful NaN passed to builtin functions
2020-08-15 20:07:27 -04:00
Connor Skees
2d798a6386
better support for NaN passed to builtin functions
2020-08-12 16:11:21 -04:00
Connor Skees
5133d580de
improve error message for selector-parse
and deny open curly brace
2020-08-11 02:00:10 -04:00
Connor Skees
399fe1d99e
rustfmt
2020-08-07 02:12:13 -04:00
Connor Skees
438abe52be
allow redeclaration of module variables
2020-08-07 02:01:04 -04:00
Connor Skees
cacf605af8
respect $with
argument to load-css
2020-08-06 21:58:53 -04:00
Connor Skees
074d679cbd
support the @use ... with (...)
syntax
2020-08-06 21:05:40 -04:00
Connor Skees
94becb4dcb
implement idempotency with regard to module aliasing
2020-08-06 04:01:46 -04:00
Connor Skees
de9571b3fe
remove allow
s from modules
2020-08-06 03:53:18 -04:00
Connor Skees
d029fd2001
implement module mixins and meta.load-css
2020-08-06 03:46:58 -04:00
Connor Skees
d043167015
Merge branch 'master' of https://github.com/connorskees/grass into modules
2020-08-06 01:23:09 -04:00
Connor Skees
61ef52eb3f
replace .get(0)
with .first()
2020-08-05 03:09:10 -04:00
Connor Skees
698339b8c7
initial implementation of private module members
2020-08-02 04:20:08 -04:00
Connor Skees
a9e4d5cba5
implement builtin function math.atan2
2020-08-02 00:43:26 -04:00
Connor Skees
8bd14e0e86
implement builtin function math.hypot
2020-08-01 14:05:25 -04:00
Connor Skees
a8046b0d83
respect $module
argument to global-variable-exists
2020-07-30 18:52:31 -04:00
Connor Skees
cfd2e00ebb
respect $module
argument to mixin-exists
2020-07-30 18:35:34 -04:00
Connor Skees
a7325436ca
respect $module
argument to get-function
2020-07-30 17:46:56 -04:00
Connor Skees
a03ad51b71
allow @use
of user-defined modules
2020-07-30 17:21:32 -04:00
Connor Skees
af9864ff85
resolve clippy lint for is_ms_filter
2020-07-30 16:42:08 -04:00
Ivan Tham
80986efee9
refactor is_ms_filter
...
* refactor to use matches or patterns
* simplify text searching with iterator
* match is_ms_filter on bytes level
* add regex doc for is_ms_filter
* use is_ascii_alphabetic
* check equality rather than map_or =
Co-authored-by: Connor Skees <connor1skees@gmail.com>
2020-07-30 16:39:06 -04:00
Connor Skees
8c1cde8a61
implement builtin function math.pow
2020-07-29 18:13:37 -04:00
Connor Skees
734e0875da
resolve merge conflicts with master
2020-07-29 07:30:20 -04:00
Connor Skees
6631b8ae0e
correctly parse the function filter syntax
2020-07-28 18:09:23 -04:00
Connor Skees
d6a1d64dcb
implement @use ... as *;
syntax
2020-07-27 18:55:38 -04:00
Connor Skees
36d7b5d920
implement builtin function meta.module-variables
2020-07-27 18:06:00 -04:00
Connor Skees
2b9cad5971
implement builtin function meta.module-functions
2020-07-27 17:59:09 -04:00
Connor Skees
f63b254367
refactor math.acos
implementation
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-27 15:41:32 -04:00
Connor Skees
717cdd9501
adjust-hue is not included in the module system
2020-07-27 02:03:56 -04:00
Connor Skees
458fcf0fd8
implement builtin function math.log
2020-07-27 01:52:34 -04:00