Re: [Haskell-cafe] Alex and Flex

2008-10-03 Thread Brandon S. Allbery KF8NH
On Oct 3, 2008, at 09:24 , Manlio Perillo wrote: Manlio Perillo ha scritto: However I have noted that there are some difference in the syntax between Alex and Flex? What is the rationale? By the way, here is the list of differences between Alex and Flex I have found, for people

Re: [Haskell-cafe] Alex and Flex

2008-10-03 Thread Manlio Perillo
Manlio Perillo ha scritto: Manlio Perillo ha scritto: 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

Re: [Haskell-cafe] Alex and Flex

2008-10-03 Thread Manlio Perillo
Manlio Perillo ha scritto: [...] Another problem. In this rule: @comment= \/\*[^\*]*\*+([^\/\*][^\*]*\*+)*\/ [^\*] means all characters except '*', but Alex seems to not include the new line character. Again sorry. The problem was not here. There was a missing rule for '.', to

Re: [Haskell-cafe] Alex and Flex

2008-10-03 Thread Manlio Perillo
Brandon S. Allbery KF8NH ha scritto: On Oct 3, 2008, at 09:24 , Manlio Perillo wrote: Manlio Perillo ha scritto: However I have noted that there are some difference in the syntax between Alex and Flex? What is the rationale? By the way, here is the list of differences between Alex and Flex

[Haskell-cafe] Alex and Flex

2008-10-02 Thread Manlio Perillo
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:

[Haskell-cafe] Alex and Flex

2008-10-02 Thread Manlio Perillo
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: