https://github.com/phlummox/hs-perl5
embedded Perl 5 interpreter in Haskell, forked from https://github.com/perl6/Pugs.hs. Candidate package on hackage at https://hackage.haskell.org/package/hs-perl5-0.1.0/candidate. pre-alpha stage software
https://github.com/phlummox/hs-perl5
embeddings haskell perl
Last synced: 3 months ago
JSON representation
embedded Perl 5 interpreter in Haskell, forked from https://github.com/perl6/Pugs.hs. Candidate package on hackage at https://hackage.haskell.org/package/hs-perl5-0.1.0/candidate. pre-alpha stage software
- Host: GitHub
- URL: https://github.com/phlummox/hs-perl5
- Owner: phlummox
- License: other
- Created: 2021-01-23T17:47:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-07T11:05:43.000Z (over 5 years ago)
- Last Synced: 2025-06-18T07:45:19.181Z (about 1 year ago)
- Topics: embeddings, haskell, perl
- Language: Haskell
- Homepage: https://hackage.haskell.org/package/hs-perl5-0.1.0/candidate
- Size: 1.14 MB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# hs-perl5

This package provides a Haskell interface to an embedded Perl 5 interpreter.
Documentation and functionality is scarce at the moment; see the tests
under `test` for some basic usage examples.
Currently supported features are:
* Function calls
* Method calls
* Module imports
* Callbacks
**NB: This package is experimental and still in development**
## Prerequisites
This package requires you to have the Perl libraries and header files
installed on your system (at least 5.8.8).
On a Debian-based system, they can typically be installed by typing
```
$ sudo apt-get install perl-dev
```
## Installation
This package can be installed either using [Stack][stack] or
[cabal][cabal]. First, `git clone` this repository, `cd` in, and then
```
$ stack --stack-yaml=stack-lts-11.yaml build
# or use one of the other provided stack.yaml files
```
or
```
$ cabal update
$ cabal install --dependencies-only
$ cabal build
```
[stack]: https://www.haskellstack.org/
[cabal]: https://www.haskell.org/cabal/