Skip to main content

No project description provided

Project description

hoopy

This library is a stub. A working release is expected soon.

Hoopy extends the Python language, letting you write a subset of Haskell in your scripts!

  • pip install hoopy (not yet published)

Usage

Caveats

Hoopy is implemented entirely using Python (making maximal use of the builtin parser and tokenizer). Given that static typing in Python is optional, Hoopy implements custom operators are using pure-Python dynamic dispatch. This adds some overhead to custom operators that wouldn't be present if they were a first-class language feature.

Hoopy does its best to ensure that code preprocessed by the library that's not using any of its features remains semantically equivalent to its unprocessed form. This is currently tracked via unit tests running Hoopy against selected modules within the Python standard library. Future plans include incorporating the builtin (python3 -m test) tests directly into a fully preprocessed copy of the standard library.

Development

To begin, install the dependencies and set up the development environment. Please run all the unit tests before submitting any code-related pull requests!

$ poetry install
$ poetry run pre-commit install

(once implemented) Run the regression test suite on any significant code changes.

$ ./stdlib_test.sh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hoopy-0.1.0.tar.gz (17.7 kB view hashes)

Uploaded Source

Built Distribution

hoopy-0.1.0-py3-none-any.whl (20.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page