cvs commit: fptools/happy/alex/examples haskell.x

Simon Marlow <[email protected]> Tue, 18 Feb 2003 09:17:03 -0800
Newsgroups gmane.comp.lang.haskell.cvs.happy
Message-ID <[email protected]>
simonmar    2003/02/18 09:17:02 PST

  Added files:           (Branch: simonm-hackery-branch)
    happy/alex/examples  haskell.x 
  Log:
  A basic Haskell 98 lexer using the new Alex.  This one includes a
  wrapper which just counts tokens, so I can keep an eye on performance.
  
  The lexical syntax is correct w.r.t. Haskell 98, except that it
  doesn't handle Unicode (yet), and there's no layout processing, and I
  haven't tested it with a real parser so there may be bugs.  I have
  shoved a lot of Haskell code through it, though.