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

Safe HaskellSafe-Inferred
LanguageHaskell98

Language.ArrayForth.Parse

Synopsis

Documentation

data ParseError Source

Possible ways the input string can be malformed.

Instances

isNumber :: String -> Bool Source

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

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

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