Runtime Haskell interpreter
Haskell
Latest commit 1065316 Dec 6, 2016 @mvdan Update doc examples for GHC 8.0
Also, use the ghc lib path from Arch. The Debian one from
testing/unstable is very similar too, being /usr/lib/ghc/ghc-8.0.1. Most
people will be on a setup very similar to this one.

README.md

hint

Build Status Hackage

This library defines an Interpreter monad. It allows to load Haskell modules, browse them, type-check and evaluate strings with Haskell expressions and even coerce them into values. The library is thread-safe and type-safe (even the coercion of expressions to values).

It is, essentially, a huge subset of the GHC API wrapped in a simpler API.

Example

Check example.hs to see a simple but comprehensive example (it must be run from the examples directory).