46 Commits

Author SHA1 Message Date
Connor Skees
2e1fa7ca2c improve handling of $base to math.log 2021-07-25 22:50:56 -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
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
28a0a33d85 respect $module argument passed to function-exists 2020-08-16 19:47:18 -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 allows 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
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
8c1cde8a61 implement builtin function math.pow 2020-07-29 18:13:37 -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
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
dbfa691505 resolve clippy lints 2020-07-26 13:49:13 -04:00
Connor Skees
eeb0b0a924 implement builtin sass:math function clamp 2020-07-26 13:21:59 -04:00
Connor Skees
3fae0a9621 alias sass:color builtin functions 2020-07-26 00:58:09 -04:00
Connor Skees
67fffe7498 alias sass:meta builtin functions 2020-07-26 00:47:40 -04:00
Connor Skees
b3d20a574a alias sass:string builtin functions 2020-07-26 00:25:58 -04:00
Connor Skees
ca4c5da73e alias sass:map builtin functions 2020-07-26 00:22:44 -04:00
Connor Skees
21e096247e alias sass:list builtin functions 2020-07-26 00:20:20 -04:00
Connor Skees
d6126110e9 alias sass:selector builtin functions 2020-07-26 00:15:34 -04:00
Connor Skees
15f657df6d implement builtin sass:math variables 2020-07-26 00:10:55 -04:00
Connor Skees
060641b86d implement aliased sass:math functions 2020-07-26 00:05:13 -04:00
Connor Skees
8c23ec046e allow loading of builtin modules 2020-07-25 20:05:46 -04:00