hint: Runtime Haskell interpreter (GHC API wrapper)

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

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, esentially, a huge subset of the GHC API wrapped in a simpler API. Works with GHC 6.10.x and 6.8.x (this version was not tested with GHC 6.6).


[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

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.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.3, 0.9.0.4, 0.9.0.5, 0.9.0.6, 0.9.0.7, 0.9.0.8 (info)
Change log Changes
Dependencies base (>=3 && <5), directory, extensible-exceptions, filepath, ghc (>6.6 && <7.4), ghc-mtl (>=1.0.1.0 && <1.1.0.0), ghc-paths, haskell-src, MonadCatchIO-mtl (>=0.3), mtl, random, unix (>=2.2.0.0 && <2.6), utf8-string (<1) [details]
Tested with ghc ==6.8.3, ghc ==6.10
License BSD-3-Clause
Author Daniel Gorin
Maintainer [email protected]
Revised Revision 2 made by HerbertValerioRiedel at 2015-01-24T23:17:24Z
Category Language, Compilers/Interpreters
Home page https://darcsden.com/jcpetruzza/hint
Uploaded by DanielGorin at 2011-11-04T19:22:21Z
Distributions Arch:0.9.0.6, Debian:0.9.0.3, Fedora:0.9.0.7, FreeBSD:0.4.2.3, LTSHaskell:0.9.0.8, NixOS:0.9.0.8, Stackage:0.9.0.8
Reverse Dependencies 39 direct, 194 indirect [details]
Downloads 75693 total (352 in the last 30 days)
Rating 2.5 (votes: 4) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hint-0.3.3.3

[back to package description]
=== Installation ===
To install locally:

> runhaskell Setup.lhs configure --prefix=$HOME --user
> runhaskell Setup.lhs build
> runhaskell Setup.lhs haddock
> runhaskell Setup.lhs install

=== Documentation ===

The library cames with haddock documentation you can build
(see above). Also, check examples/example.hs to see a simple but
comprehensive example (it must be run from the examples
directory, since it expects to find the SomeModule.hs file
located there).

=== Contact  ===

Bug-reports, questions, suggestions and patches are all welcome.

To get a copy of the darcs repository:

darcs get https://darcsden.com/jcpetruzza/hint