Extra tokens from CSS with SWC #6736
Unanswered
romainmenke
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to compare the CSS Tokenizer in SWC to other tools.
https://github.com/romainmenke/css-tokenizer-tests
The goal is to verify that multiple tokenizers correctly implement the specification.
For example :
Ultimately I hope that this will improve the overal quality of CSS Tokenizers in use by the wider community.
I think it is likely that the SWC tokenizer is the most accurate and usable can serve as a good reference to others.
Is there a way to do this :
stdout
is fine)I don't know anything about rust so it's not easy for me to determine if this is feasible and how to do it.
A small rust program that reads CSS from
stdin
and writes token data tostdout
would be ideal.Beta Was this translation helpful? Give feedback.
All reactions