CSS1 syntax checker

This program checks a CSS1 style sheet for syntax errors and outputs a `pretty-printed' version of it. Maybe somebody can create a lint-like tool out of it?

The grammar is the one from PR-CSS1. The source is in ANSI C:

Download each of the above files and run make. If all goes well, you should end up with a program called check. Please, don't contact me for help. Improved code is always welcome, however.

(If you want to experiment with my top-down parser generator, the one that generated grammar.c and grammar.def, get this compressed tar-file as well.)


Bert Bos
26 July, 15 November 1996