The hint package

[Tags: bsd3, compile, eval, interpreter, library, runtime]

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.


[Skip to ReadMe]

Properties

Versions0.1, 0.2, 0.2.1, 0.2.2, 0.2.4, 0.2.4.1, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.3.2.1, 0.3.2.2, 0.3.2.3, 0.3.3.0, 0.3.3.1, 0.3.3.2, 0.3.3.3, 0.3.3.4, 0.3.3.5, 0.3.3.6, 0.3.3.7, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.4.2.1, 0.4.2.2, 0.4.2.3, 0.4.3, 0.5.0, 0.5.1
Change logCHANGELOG.md
Dependenciesbase (==4.*), directory, exceptions, filepath, ghc (>=7.6), ghc-paths, mtl, random, unix (>=2.2.0.0) [details]
LicenseBSD3
AuthorThe Hint Authors
Maintainermvdan@mvdan.cc
CategoryLanguage, Compilers/Interpreters
Home pagehttps://github.com/mvdan/hint
Source repositoryhead: git clone https://github.com/mvdan/hint
UploadedFri Mar 18 12:32:53 UTC 2016 by mvdan
DistributionsDebian:0.4.2.3, Fedora:0.4.2.1, FreeBSD:0.4.2.3, LTSHaskell:0.4.3, NixOS:0.5.1, Stackage:0.5.1
Downloads24415 total (65 in last 30 days)
Votes
2 []
StatusDocs available [build log]
Last success reported on 2016-03-18 [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for hint-0.5.1

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).