[Haskell-cafe] Alex and Flex
Manlio Perillo
manlio_perillo at libero.it
Thu Oct 2 17:31:13 EDT 2008
Hi.
I'm starting to write a CSS parser with Alex and Happy.
The grammar is defined here:
http://www.w3.org/TR/CSS21/grammar.html
However I have noted that there are some difference in the syntax
between Alex and Flex?
What is the rationale?
One more thing.
Here: http://www.haskell.org/alex/doc/html/alex-files.html
it seems that there is an error with
macrodef := @smac '=' set
| @rmac '=' regexp
it should be
macrodef := $smac '=' set
| @rmac '=' regexp
Thanks Manlio Perillo
More information about the Haskell-Cafe
mailing list