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
adfecfa83e
remove peekmore dependency
2021-07-11 15:12:46 -04:00
Connor Skees
8ea601ee43
nightly clippy
2021-07-04 01:24:08 -04:00
Connor Skees
150ba14b74
clippy
2021-07-03 19:15:31 -04:00
Connor Skees
0254517095
refactor errors using Parser::expect_char
2020-08-06 21:36:11 -04:00
ConnorSkees
6baf0d2340
reduce size of Namespace
and Toplevel
2020-06-26 05:37:57 -04:00
ConnorSkees
4610a30024
resolve @extend
issues related to attrbitute equality
2020-06-24 06:11:29 -04:00
ConnorSkees
47c4a421ac
upgrade dependencies
2020-06-19 22:47:06 -04:00
ConnorSkees
c1b5ff5730
prettify imports
2020-06-16 20:00:11 -04:00
ConnorSkees
71dd7df951
reimplement parsing
2020-06-16 19:38:30 -04:00
ConnorSkees
d71e996e2b
initial implementation of selector-extend
2020-06-07 11:46:34 -04:00
ConnorSkees
f3a58e0fa3
initial implementation of selector-* builtin fns
2020-05-31 04:51:41 -04:00
ConnorSkees
3c129780d0
span_before in quoted string
2020-05-24 16:27:07 -04:00
ConnorSkees
283a2097ff
rename Value::Ident to Value::String
2020-05-22 14:35:41 -04:00
ConnorSkees
969726eb30
Revert string interning
...
There existed issues related to multithreaded tests that are difficult
to resolve. In the future interning may be reimplemented but in a more
limited capacity.
The motivation behind interning *values* was that it appeared checking
for named colors was responsible for much of the time lost when parsing
unquoted strings. If interning were to be reimplemented, it may make
sense to limit it solely to identifiers and style properties.
2020-05-22 14:20:31 -04:00
ConnorSkees
9a6c8ce019
add string interning
...
this seems to improve performance by ~20% as well as significantly
decrease memory usage
2020-05-21 22:46:40 -04:00
ConnorSkees
b58ed29fd0
add more span information
...
this resolves a lot of panics that occurred when there was no more input
2020-05-17 00:35:07 -04:00
ConnorSkees
769b7628d8
refactor QualifiedName into common
2020-04-26 23:52:32 -04:00
ConnorSkees
690c8a1f89
clippy
2020-04-26 01:52:43 -04:00
ConnorSkees
4a2503b04c
refactor attribute parsing
2020-04-26 00:55:38 -04:00
ConnorSkees
4cdcf4f0d4
use peekmore rather than std::iter::Peekable
2020-04-20 03:45:28 -04:00
ConnorSkees
62f9f7da4f
integrate error handling with codemap
2020-04-12 19:37:12 -04:00
ConnorSkees
cdcb84b7b2
escape [] in attribute doc comment
2020-04-04 19:07:00 -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