Module

Parsing.Language

Package
purescript-parsing
Repository
purescript-contrib/purescript-parsing

This module is a port of the Haskell Text.Parsec.Language module.

#haskellDef Source

haskellDef :: LanguageDef

The language definition for the Haskell language.

#haskell Source

haskell :: TokenParser

A lexer for the haskell language.

#emptyDef Source

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 Source

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 Source

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.