W3C home > Mailing lists > Public > www-style@w3.org > December 2008

info about CSS YACC parser

From: Manlio Perillo <manlio.perillo@gmail.com>
Date: Mon, 29 Dec 2008 17:56:58 +0100
Message-ID: <4959015A.4080806@gmail.com>
To: www-style@w3.org


I have implemented a CSS parser, using PLY (a pure Python version of YACC).

The parser (and the lexer), for people interested, is available here:

I have tried to follow the "official" grammar as much as possible.

Just to have an additional check for my grammar implementation 
correctness, I get
* 94 shift/reduce conflicts
* 2 reduce/reduce conflicts

Is this ok?

Thanks   Manlio Perillo
Received on Monday, 29 December 2008 16:58:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:42 UTC