hint: Runtime Haskell interpreter (GHC API wrapper)

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

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, 0.5.2, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.9.0.1, 0.9.0.2, 0.9.0.2
Change logCHANGELOG.md
Dependenciesbase (==4.*), directory, exceptions (==0.10.*), filepath, ghc (>=8.2 && <8.9), ghc-boot, ghc-paths, mtl, random, temporary, unix (>=2.2.0.0) [details]
LicenseBSD-3-Clause
AuthorThe Hint Authors
Maintainermvdan@mvdan.cc
CategoryLanguage, Compilers/Interpreters
Home pagehttps://github.com/haskell-hint/hint
Source repositoryhead: git clone https://github.com/haskell-hint/hint
UploadedSun Sep 29 19:19:29 UTC 2019 by gelisam

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for hint-0.9.0.2

[back to package description]

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