hinter: Runtime Haskell interpreter (GHC API wrapper)

[ bsd3, compilers-interpreters, language, library ] [ Propose Tags ]

Fork of hint

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]
Versions [faq] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (==4.*), directory, exceptions (==0.10.*), filepath, ghc (>=8.0 && <8.6), ghc-boot, ghc-paths, mtl, random, temporary, unix (>=2.2.0.0) [details]
License BSD-3-Clause
Author The Hint Authors
Maintainer strake888@gmail.com
Revised Revision 2 made by MatthewFarkasDyck at Tue Feb 11 06:46:02 UTC 2020
Category Language, Compilers/Interpreters
Home page https://github.com/strake/hint.hs
Source repo head: git clone https://github.com/strake/hint.hs
Uploaded by MatthewFarkasDyck at Sun May 6 13:36:23 UTC 2018
Distributions NixOS:0.1.0.0
Downloads 429 total (53 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-05-06 [all 1 reports]

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hinter-0.1.0.0

[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.4, Hint will work on 8.4, 8.2 and 8.0.

Example

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