goatee-0.3.1.1: A monadic take on a 2,500-year-old board game - library.

Safe HaskellSafe-Inferred
LanguageHaskell98

Game.Goatee.Lib.Property.Parser

Contents

Description

Parsers of property values.

Synopsis

Documentation

simpleTextParser :: Parser SimpleText Source

A parser for SGF SimpleText property values.

Exposed for testing

compose :: Parser a -> Parser b -> Parser (a, b) Source

text :: Bool -> Parser String Source

A parser for SGF text property values. Its argument should be true if the text is inside of a composed property value, so ':' should terminate the value in addition to ']'.