goatee-0.4.0: A monadic take on a 2,500-year-old board game - library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Game.Goatee.Lib.Property.Parser

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 ']'.