962 Commits

Author SHA1 Message Date
ConnorSkees
24caa20aad implement Debug for SassFunction 2020-04-04 14:05:26 -04:00
ConnorSkees
bac1b2494a implemented call and get-function 2020-04-04 12:59:05 -04:00
ConnorSkees
943299de74 better handling of $module in get-function 2020-04-04 12:45:30 -04:00
ConnorSkees
065f6515e9 disallow both css and module in get-function 2020-04-04 12:38:07 -04:00
ConnorSkees
051185e280 implement builtin function call() 2020-04-04 12:31:43 -04:00
ConnorSkees
c0eaf4c5f6 allow semicolon after closing brace 2020-04-04 03:00:38 -04:00
ConnorSkees
81c85a6f86 handle builtin functions in get-function 2020-04-03 23:49:44 -04:00
ConnorSkees
3f98d1abca initial implementation of get-function() 2020-04-03 21:38:34 -04:00
ConnorSkees
d26a81253f builtin functions zip, index 2020-04-03 16:55:32 -04:00
ConnorSkees
60c16de830 inspect([]) => [] 2020-04-03 16:53:45 -04:00
ConnorSkees
faa8951ee4 remove superfluous mut 2020-04-03 16:47:55 -04:00
ConnorSkees
04e9b99b09 fail on duplicate key in map declaration 2020-04-03 16:38:01 -04:00
ConnorSkees
24176bb1f0 initial implementation of zip 2020-04-03 15:54:59 -04:00
ConnorSkees
0f5ebdebf9 add todo note about index and unwrap 2020-04-03 14:38:22 -04:00
ConnorSkees
2d7f69e3da equality does unit conversions 2020-04-03 14:34:59 -04:00
ConnorSkees
f4efcf0b45 better error message for invalid selector characters 2020-04-03 14:14:40 -04:00
ConnorSkees
f2bb6097dc index() with maps 2020-04-03 13:43:34 -04:00
ConnorSkees
2efab1cebe clippy 2020-04-03 13:33:55 -04:00
ConnorSkees
2a01668ae0 refactor selector parsing 2020-04-03 13:28:37 -04:00
ConnorSkees
4565121b34 for now, don't unquote attr val 2020-04-02 22:07:22 -04:00
ConnorSkees
db9515d347 strip qutoes from attribute value 2020-04-02 21:59:36 -04:00
ConnorSkees
c1d79047f2 change casing of expected in modifier error 2020-04-02 21:51:55 -04:00
ConnorSkees
476578cdc6 fail on modifier with attrkind any 2020-04-02 21:44:26 -04:00
ConnorSkees
6e8c226834 remove unwrap and todo! from attribute parsing 2020-04-02 21:23:23 -04:00
ConnorSkees
6923869b7e rename attribute kinds 2020-04-02 21:10:45 -04:00
ConnorSkees
52edffd8fd refactor attributes into separate file 2020-04-02 20:59:37 -04:00
ConnorSkees
f86d613374 better handling of single length lists in join 2020-04-02 18:43:48 -04:00
ConnorSkees
e7008cd7e8 handle non list separator in join() 2020-04-02 18:32:09 -04:00
ConnorSkees
31a19b5ecb handle maps in join() 2020-04-02 18:23:57 -04:00
ConnorSkees
a9230b7877 properly emit separator in join when both are under 2 length 2020-04-02 18:19:54 -04:00
ConnorSkees
dbf699a991 handle empty list separators in join 2020-04-02 18:16:59 -04:00
ConnorSkees
8718673519 bracketed parameter in join() 2020-04-02 18:04:44 -04:00
ConnorSkees
c7ff047e81 brackets in join 2020-04-02 17:44:37 -04:00
ConnorSkees
408fe6ff6b brackets in set-nth 2020-04-02 15:31:59 -04:00
ConnorSkees
c7fdf8eef3 maps in set-nth() 2020-04-02 15:28:35 -04:00
ConnorSkees
cba2b12771 handle maps in nth() 2020-04-02 15:22:18 -04:00
ConnorSkees
225894d0e9 handle brackets in append() 2020-04-02 15:12:13 -04:00
ConnorSkees
72bc9a46e3 implement builtin function index 2020-04-02 14:22:38 -04:00
ConnorSkees
dbbadaf62e remove varargs and map-remove from todo 2020-04-02 13:57:02 -04:00
ConnorSkees
ef1177ccca implement map-remove 2020-04-02 13:49:39 -04:00
ConnorSkees
8e3e23c6cd builtin functions take args by value 2020-04-02 13:45:14 -04:00
ConnorSkees
39031aefff initial implementation of varargs 2020-04-02 13:33:26 -04:00
ConnorSkees
f9fc0ed8cb differentiate named and positional args 2020-04-02 12:28:28 -04:00
ConnorSkees
c16b8f448b parse variadic arguments 2020-04-02 12:07:54 -04:00
ConnorSkees
b440258027 handle no value after / 2020-04-02 02:32:32 -04:00
ConnorSkees
562a9da820 handle backtick in selector 2020-04-02 02:23:48 -04:00
ConnorSkees
ef25d8b880 handle control characters at start of selector 2020-04-02 02:15:11 -04:00
ConnorSkees
618fa9ed86 symbol after hash in value 2020-04-02 02:08:14 -04:00
ConnorSkees
87b03e91c9 error message for unopened close paren in value 2020-04-02 02:03:15 -04:00
ConnorSkees
bccce094e4 implemented @while 2020-04-02 00:43:07 -04:00