Import hs-hint-0.3.3.2 as wip/hs-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, 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).
This commit is contained in:
parent
62f78efca9
commit
e97f87b647
5 changed files with 97 additions and 0 deletions
7
hs-hint/DESCR
Normal file
7
hs-hint/DESCR
Normal file
|
@ -0,0 +1,7 @@
|
|||
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).
|
18
hs-hint/Makefile
Normal file
18
hs-hint/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2011/07/12 04:15:47 phonohawk Exp $
|
||||
#
|
||||
|
||||
DISTNAME= hint-0.3.3.2
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= pho@cielonegro.org
|
||||
COMMENT= Runtime Haskell interpreter (GHC API wrapper)
|
||||
LICENSE= modified-bsd
|
||||
|
||||
.include "../../wip/mk/haskell.mk"
|
||||
.include "../../wip/hs-MonadCatchIO-mtl/buildlink3.mk"
|
||||
.include "../../wip/hs-ghc-mtl/buildlink3.mk"
|
||||
.include "../../wip/hs-ghc-paths/buildlink3.mk"
|
||||
.include "../../wip/hs-haskell-src/buildlink3.mk"
|
||||
.include "../../wip/hs-mtl/buildlink3.mk"
|
||||
.include "../../wip/hs-utf8-string/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
48
hs-hint/PLIST
Normal file
48
hs-hint/PLIST
Normal file
|
@ -0,0 +1,48 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2011/07/12 04:15:47 phonohawk Exp $
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/HShint-${PKGVERSION}.o
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Annotations.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Annotations.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Base.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Base.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Compat.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Compat.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Configuration.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Configuration.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Context.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Context.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Conversions.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Conversions.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Eval.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Eval.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Extension.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Extension.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/GHC.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/GHC.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/InterpreterT.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/InterpreterT.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Parsers.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Parsers.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Reflection.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Reflection.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Sandbox.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Sandbox.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/SignalHandlers.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/SignalHandlers.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Typecheck.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Typecheck.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Util.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Util.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/Extension.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/Extension.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/GHC.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/GHC.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/GHC/Unsafe.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/GHC/Unsafe.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/Unsafe.hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/Unsafe.p_hi
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/libHShint-${PKGVERSION}.a
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/libHShint-${PKGVERSION}_p.a
|
||||
lib/hint-${PKGVERSION}/${HASKELL_VERSION}/package-description
|
||||
share/doc/hint-${PKGVERSION}/LICENSE
|
19
hs-hint/buildlink3.mk
Normal file
19
hs-hint/buildlink3.mk
Normal file
|
@ -0,0 +1,19 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/07/12 04:15:47 phonohawk Exp $
|
||||
|
||||
BUILDLINK_TREE+= hs-hint
|
||||
|
||||
.if !defined(HS_HINT_BUILDLINK3_MK)
|
||||
HS_HINT_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.hs-hint+= hs-hint>=0.3
|
||||
BUILDLINK_PKGSRCDIR.hs-hint?= ../../wip/hs-hint
|
||||
|
||||
.include "../../wip/hs-MonadCatchIO-mtl/buildlink3.mk"
|
||||
.include "../../wip/hs-ghc-mtl/buildlink3.mk"
|
||||
.include "../../wip/hs-ghc-paths/buildlink3.mk"
|
||||
.include "../../wip/hs-haskell-src/buildlink3.mk"
|
||||
.include "../../wip/hs-mtl/buildlink3.mk"
|
||||
.include "../../wip/hs-utf8-string/buildlink3.mk"
|
||||
.endif # HS_HINT_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -hs-hint
|
5
hs-hint/distinfo
Normal file
5
hs-hint/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2011/07/12 04:15:47 phonohawk Exp $
|
||||
|
||||
SHA1 (hint-0.3.3.2.tar.gz) = da80fb070d031f162e6e4a354450b2377bf492df
|
||||
RMD160 (hint-0.3.3.2.tar.gz) = 6f141a02b9467ecc6282685f900f27a6f650197f
|
||||
Size (hint-0.3.3.2.tar.gz) = 26974 bytes
|
Loading…
Reference in a new issue