A CSS level 3 parser written in pure Nim
- Nim 99%
- CSS 1%
| examples | ||
| src | ||
| testing_data | ||
| tests | ||
| .gitignore | ||
| LICENSE | ||
| neo.toml | ||
| README.md | ||
| stylus.nimble | ||
Stylus -- a CSS level 3 parser written in pure Nim
Stylus is mostly a rewrite of rust-cssparser in Nim (for now) and it aims to support the entire CSS3 specification.
The tokenizer and parser are mostly done, but a few functions and missing.
The Parser
The parser is not designed to hand over a proper rule vector to you - you're supposed to build one yourself! The parser simply gives you the tools to gracefully parse a CSS3 stylesheet. This allows for a flexible range of syntax that might not be prescribed in the actual spec.
Users
Stylus is currently used by:
Have a project that uses Stylus? Let me know!