ConnorSkees
dd4a48165a
clippy
2020-04-01 18:09:58 -04:00
ConnorSkees
5fb3f52114
0.5.0 tests in toplevel docs
2020-04-01 17:59:47 -04:00
ConnorSkees
f46d53d3cc
implement keyword operators
2020-04-01 17:40:35 -04:00
ConnorSkees
07c8f7b2a9
remove leftover dbg!
2020-04-01 15:49:49 -04:00
ConnorSkees
6df6bcf1da
refactor value parsing
2020-04-01 15:32:52 -04:00
ConnorSkees
98ef4665a5
remove dead token code
2020-04-01 15:23:20 -04:00
ConnorSkees
c98bc46c10
properly handle quotes in function calls
2020-03-31 22:11:01 -04:00
ConnorSkees
978fbaade0
allow whitespace between ! and important
2020-03-31 22:00:38 -04:00
ConnorSkees
526b4aa15f
hexchars escaped in strings don't recieve trailing space
2020-03-31 11:52:28 -04:00
ConnorSkees
84b6ca9180
remove superfluous variable
2020-03-31 11:27:15 -04:00
ConnorSkees
08f7dba00d
implement integer division to an extent
2020-03-31 02:31:14 -04:00
ConnorSkees
bb87d4f4c0
handle percent op none
2020-03-31 02:11:02 -04:00
ConnorSkees
8a600a4f07
implement number minus ident
2020-03-31 01:52:52 -04:00
ConnorSkees
90b940fd7d
properly omit negative for values that round to zero
2020-03-31 01:38:57 -04:00
ConnorSkees
75b896fe3d
handle _ and - args interchangably
2020-03-31 01:22:44 -04:00
ConnorSkees
5bbf070b95
fn args interchangable hyper underscore
2020-03-31 01:15:21 -04:00
ConnorSkees
f7d9d4432a
initial implementation of @each
2020-03-31 01:00:25 -04:00
ConnorSkees
e5b7043480
do not print null values inside list
2020-03-31 00:27:00 -04:00
ConnorSkees
beff60ad31
clippy
2020-03-30 17:06:23 -04:00
ConnorSkees
9e3029dbfb
better error messages for map-get and map-has-key
2020-03-30 16:41:00 -04:00
ConnorSkees
4b1dc39705
handle map-merge key overlaps
2020-03-30 16:33:43 -04:00
ConnorSkees
c8a21f3500
map-values returns a comma separated list
2020-03-30 16:21:00 -04:00
ConnorSkees
3621363e0e
map-keys() returns a comma separated list
2020-03-30 16:14:42 -04:00
ConnorSkees
5e20f57ee0
() is treated as empty map
2020-03-30 16:10:02 -04:00
ConnorSkees
23f7301a25
implement length for maps
2020-03-30 16:01:44 -04:00
ConnorSkees
eb478b632d
initial implementation of maps
2020-03-30 15:44:06 -04:00
ConnorSkees
206c3f8179
handle arbitrary parens in function calls
2020-03-30 15:07:06 -04:00
ConnorSkees
08dcf0fae7
remove unused symbol and whitespace structs
2020-03-30 10:47:19 -04:00
ConnorSkees
2ce639e9be
implement > < >= <=
2020-03-30 10:42:13 -04:00
ConnorSkees
86729df241
handle \ in selectors
2020-03-30 03:13:29 -04:00
ConnorSkees
fffdcf91d2
remove old lexing code
2020-03-30 03:00:47 -04:00
ConnorSkees
7164728c69
properly handle hash in string
2020-03-30 02:54:11 -04:00
ConnorSkees
31ec0cc7f8
properly handle interpolation in selectors
2020-03-30 02:30:44 -04:00
ConnorSkees
57a704172f
properly handle silent comments in styles
2020-03-30 02:21:41 -04:00
ConnorSkees
ae0ce9894c
variables do not include interpolation
2020-03-30 01:48:37 -04:00
ConnorSkees
9c690140ec
allow non-ascii characters in idents
2020-03-30 01:24:50 -04:00
ConnorSkees
1e5dc99793
Revert "properly handle unicode characters in identifiers"
...
This reverts commit dea0610f9b12a8531ae63eee993c0c6d6546bb72.
This was not properly tested, and results in a number of breakages.
2020-03-30 01:00:17 -04:00
ConnorSkees
dea0610f9b
properly handle unicode characters in identifiers
2020-03-30 00:55:14 -04:00
ConnorSkees
6608fe3f2f
allow negative numbers multiplication
2020-03-30 00:38:46 -04:00
ConnorSkees
8f96a821f7
allow id selectors to start with numbers
2020-03-30 00:18:37 -04:00
ConnorSkees
2a3f13bea0
allow escaped quotes to start idents
2020-03-29 23:00:39 -04:00
ConnorSkees
2885eec853
remove commented dbg statements
2020-03-29 22:21:42 -04:00
ConnorSkees
5bbf10b05f
allow idents to begin with hyphen
2020-03-29 22:17:56 -04:00
ConnorSkees
9e38fbc747
remove leftover debug statements
2020-03-29 19:51:35 -04:00
ConnorSkees
07505399da
remove the lexer
2020-03-29 19:42:27 -04:00
ConnorSkees
f15ab57573
refactor @if/@else if/@else
2020-03-24 22:13:38 -04:00
ConnorSkees
6d2d9bcb4a
escape all symbols and whitespace
2020-03-24 13:36:39 -04:00
ConnorSkees
b292d56efa
refactor function body to allow more than at-rules
2020-03-24 01:26:23 -04:00
ConnorSkees
3afe88e2d6
!global variables are also in local scope
2020-03-24 00:43:09 -04:00
ConnorSkees
0979f3957b
Revert "check global scope for variable before local"
...
This reverts commit 27a9578b17a8ed8227cb190af38762111edae58f.
This ended up not being the desired behavior. It seems that instead of
checking the global scope first, variables declared with `!global` are
inserted into both the local and global scopes.
2020-03-24 00:31:56 -04:00