Extra parsing functions to be used with purescript-parsing. Pull requests welcome.
fromCharList :: forall f. Foldable f => f Char -> String
alphaNumString :: forall m. Monad m => ParserT String m String
Parse a single alphanumeric string
betweenQuotes :: forall s m. StringLike s => Monad m => ParserT s m String
Parse all characters between single or double quotes
betweenDoubleQuotes :: forall s m. StringLike s => Monad m => ParserT s m String
Parse all characters between double quotes
betweenSingleQuotes :: forall s m. StringLike s => Monad m => ParserT s m String
Parse all characters between single quotes
parseArray :: forall s m a. StringLike s => Monad m => ParserT s m a -> ParserT s m (Array a)
Parse an array of items embed within braces and seperated by commas. Whitespace is allowed between braces, items, and commas, e.g. [ whitespace (item) whitespace , whitespace (item) whitespace ]