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, 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

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 CHANGELOG.markdown
Dependencies base (>=3 && <5), directory, exceptions, extensible-exceptions, filepath, ghc (>=7.6 && <7.10), ghc-mtl (>=1.2.1 && <1.2.2), ghc-paths, mtl, random, unix (>=2.2.0.0), utf8-string (<1) [details]
Tested with ghc ==6.8.3, ghc ==6.10
License BSD-3-Clause
Author Daniel Gorin
Maintainer jcpetruzza@gmail.com
Revised Revision 2 made by HerbertValerioRiedel at 2015-01-24T23:15:04Z
Category Language, Compilers/Interpreters
Home page http://hub.darcs.net/jcpetruzza/hint
Source repo head: darcs get http://hub.darcs.net/jcpetruzza/hint
Uploaded by DanielGorin at 2014-09-16T08:37:50Z
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 75801 total (275 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.4.2.1

[back to package description]
=== Description ===

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.


=== 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 http://hub.darcs.net/jcpetruzza/hint


If you report an issue, please send me an email as well, since
otherwise I get no notifications...