array-forth-0.2.0.5: A simple interpreter for arrayForth, the language used on GreenArrays chips.

Safe HaskellSafe-Inferred

Language.ArrayForth.Parse

Synopsis

Documentation

data ParseError Source

Possible ways the input string can be malformed.

Instances

isNumber :: String -> BoolSource

Is the given string a valid number with no other tokens?

readWord :: Read a => String -> Either ParseError aSource

Tries to read a word, giving an error if it fails.