hinter: Runtime Haskell interpreter (GHC API wrapper)

[ bsd3, compilers-interpreters, deprecated, language, library ] [ Propose Tags ] [ Report a vulnerability ]
Deprecated

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]

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

Package maintainers

  • No current members of group

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4 && <5), directory, exceptions (>=0.10 && <0.11), 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 none
Revised Revision 3 made by MatthewFarkasDyck at 2020-04-10T04:56:27Z
Category Language, Compilers/Interpreters
Uploaded by MatthewFarkasDyck at 2018-05-06T13:36:23Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 812 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-05-06 [all 1 reports]

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