Re: [css3-page] Error in grammar of section 3.4.1

Simon,

I have one more remark about the production you propose. It is, of course, correct, but it isn't LL, because there is a choice conflict between the two groups. It is also not easy to transform into an LL(k) production, because the required number of look-ahead tokens is infinite. I don't know if LL is a requirement, but it would rule out a top-down parser if it isn't. Flute, for example, is implemented with JavaCC, which expects an LL(k) grammar.

Best regards,

Werner.
--
http://www.pincette.biz/
Handling your documents with care, wherever you are.

Received on Monday, 23 April 2012 15:42:14 UTC