Search code examples
haskellunicodelexical-analysisalex

Tilde accent marks alex


I'm building a compiler in Haskell. I have problems parsing characters with tilde accent marks. I'm using alex 2.3.3. I can't find a solution. Please help.


Solution

  • Unicode handling was quite restricted in alex before alex-3. In alex-3, afaik full unicode handling is implemented. There was some bug in alex-3.0.0 (I forgot what bug), so use alex-3.0.1.