Compiler.Parse.Operator

This module provides parsers for Gren operators.

parser : Parser Context Error String

Use this to parse operators.

String.Parser.run parser Compiler.Parse.Context.empty source
type Error
= BadDot
| BadPipe
| BadArrow
| BadEquals
| BadHasType
| BadOperatorCharacter

The kind of errors that can happen while parsing operators.

errorToString : Error -> String

Returns a human-readable description of an Error.