get the lexer working based on the haskell flex file. Note that all lexical tokens must appear in the bnf in order to generate a working lexer. Syntax highlighting enabled for line and block comments.  Block comments can be nested.
newtype and deriving are no keywords in Frege