News

Grammars for CSS and HTML

Written on 27.05.2019 18:37 by Rahul Gopinath

Hello Students,

We have updates on the CSS and HTML grammars. The CSS grammar is available at https://gist.github.com/vrthra/72cfafff238057a833ac13e12c37fe01 and the HTML grammar is available at https://gist.github.com/vrthra/f9392ab35751aa8960aeeb2de437f866 . These are meant to be over-approximations of the real grammar. That is, it should be able to parse a superset of valid HTML and CSS documents. However, there are some notable absences such as Unicode and non-printable characters. If you find that either of the grammars are missing any required part, please let us know (or even better: fix it, and send us a PR).

Regards,

Rahul

Privacy Policy | Legal Notice
If you encounter technical problems, please contact the administrators.