Skip to content

Commit 17f58e5

Browse files
committed
add csstree non-fork explainer to readme
1 parent babc860 commit 17f58e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
Built for speed and efficiency, this parser handles large CSS files with minimal memory overhead and blazing-fast parse times. Designed with a data-oriented architecture using a single contiguous memory arena for zero allocations during parsing.
99

10+
This parser was heavily influenced by [CSSTree](https://github.com/csstree/csstree), one of the most robust CSS parsers available. Some of the parsing mechanics are taken from CSSTree, as well as some of the performance mechanics, but a lot of things are very different which is why this isn't a direct fork.
11+
1012
## Features
1113

1214
- **Modern CSS support** - CSS Nesting, `:is()`, `:where()`, `:has()`, `@layer`, `@container`
@@ -63,8 +65,6 @@ for (const rule of ast) {
6365
- **First-class comment and location support** - while still being performant because analysis requires constant access to lines and columns
6466
- **No syntax validation** - focusing only on the raw data we can skip expensive syntax files and MDN data syncs
6567

66-
This parser was heavily influenced by [CSSTree](https://github.com/csstree/csstree), one of the most robust CSS parsers available.
67-
6868
## Documentation
6969

7070
See [API.md](./API.md) for complete documentation of all parser functions and options.

0 commit comments

Comments
 (0)