psilo
Safe HaskellSafe-Inferred
LanguageHaskell2010

Main

Description

This module sets up a simple interpreter that reads in expressions, does type analysis, evaluates them to results or exceptions, prints, and loops.

Honestly it isn't supposed to be that thrilling.

Synopsis

Documentation

process :: String -> Maybe (Result (Free SExpr ())) -> IO (Maybe (Result (Free SExpr ()))) Source #

Acts on a line of input from the REPL. Accumulates partial results until parsing terminates definitively.

main :: IO () Source #