lpkruger / hint

Runtime Haskell interpreter

Home Page:https://hackage.haskell.org/package/hint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Compatibility is kept with the three last major GHC releases. For example, if the current version is GHC 8.6, Hint will work on 8.6, 8.4 and 8.2.

Example

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

About

Runtime Haskell interpreter

https://hackage.haskell.org/package/hint

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%