[Hut] UU.Scanner Haskell specific?

Tom Lokhorst tom at lokhorst.eu
Tue Apr 7 17:00:39 CEST 2009


Hello all,

Is the standard UU.Scanner specific to Haskell-like grammars?
In the grammar I'm trying to parse I have an identifier that's
case-insensitive and allows for periods. So I can't use pConid or
pVarid.
In regex that would be something like: [A-Za-z](.[A-Za-z])*

I haven't looked at this too deeply, but at first glance I don't see
how to get the tokenizer or parser to give me my identifiers.
Do I have to write my own tokenizer for un-Haskell-like grammars?

- Tom Lokhorst



More information about the Hut mailing list