A CSS validator for the command line, with a bit of linting built in.
In progress, and intended only as a mechanism to teach myself C: if you need to validate/minify CSS, I'd suggest using something like YUI Compressor or Norm's CSS Prepare.
- Base structure (
StatefulString
,Token
, andTokenizer
"objects"). - Unit test framework (Check)
- Tokenization, consistent with the rules laid out in the spec.
- Decide on an error handling mechanism.
- Turn the token stream into a parse tree.
- Validate the tree.
- Implementing some linting tests (vendor-prefixes, for example)
- Integrate some of Norm's tests (maybe?)