Module

Text.Parsing.Parser.Language

#haskellDef

haskellDef :: LanguageDef

The language definition for the Haskell language.

#haskell

haskell :: TokenParser

A lexer for the haskell language.

#emptyDef

emptyDef :: LanguageDef

This is the most minimal token definition. It is recommended to use this definition as the basis for other definitions. emptyDef has no reserved names or operators, is case sensitive and doesn't accept comments, identifiers or operators.

#haskellStyle

haskellStyle :: LanguageDef

This is a minimal token definition for Haskell style languages. It defines the style of comments, valid identifiers and case sensitivity. It does not define any reserved words or operators.

#javaStyle

javaStyle :: LanguageDef

This is a minimal token definition for Java style languages. It defines the style of comments, valid identifiers and case sensitivity. It does not define any reserved words or operators.

Modules