Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ace411/bingo-functional-repl
A simple REPL for the bingo-functional library.
https://github.com/ace411/bingo-functional-repl
bingo-functional bingo-repl functional functional-php functional-programming php-repl repl
Last synced: 22 days ago
JSON representation
A simple REPL for the bingo-functional library.
- Host: GitHub
- URL: https://github.com/ace411/bingo-functional-repl
- Owner: ace411
- License: apache-2.0
- Created: 2017-12-11T10:50:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-09T18:55:39.000Z (over 3 years ago)
- Last Synced: 2024-10-11T02:49:11.604Z (about 1 month ago)
- Topics: bingo-functional, bingo-repl, functional, functional-php, functional-programming, php-repl, repl
- Language: PHP
- Homepage: https://bingo-functional-docs.vercel.app/docs/repl
- Size: 131 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
bingo-functional-repl
A simple REPL for the bingo-functional library.
[![bingo-functional-repl CI](https://github.com/ace411/bingo-functional-repl/actions/workflows/php.yml/badge.svg)](https://github.com/ace411/bingo-functional-repl/actions/workflows/php.yml)
[![License](https://poser.pugx.org/chemem/bingo-functional-repl/license)](//packagist.org/packages/chemem/bingo-functional-repl)
[![composer.lock](https://poser.pugx.org/chemem/bingo-functional-repl/composerlock)](//packagist.org/packages/chemem/bingo-functional-repl)
[![Latest Stable Version](https://poser.pugx.org/chemem/bingo-functional-repl/v)](//packagist.org/packages/chemem/bingo-functional-repl)
[![Latest Unstable Version](https://poser.pugx.org/chemem/bingo-functional-repl/v/unstable)](//packagist.org/packages/chemem/bingo-functional-repl)## Requirements
- PHP 7.2 or greater
- ext-apcu
## Rationale
The bingo-functional REPL is designed to be a playground for [bingo-functional](https://github.com/ace411/bingo-functional) artifacts - functions, monads, applicatives, and immutable structures.
The REPL can be considered a 100% opt-in tool for testing bingo-functional's potencies - one that informs approaches to library usage in more elaborate contexts.
## Installation
Though it is possible to clone the repo, Composer remains the best tool for installing bingo-functional-repl. To install the package via Composer, type the following in a console of your choosing.
```sh
$ composer require chemem/bingo-functional-repl
```## Usage
Upon successful installation of the package, type the following - also in a preferred CLI - to activate the shell.
```sh
$ path/to/vendor/bin/bfrepl
```Type `howto` when prompted for input for more information on how to use the REPL.
## Demonstration
[![asciicast](https://asciinema.org/a/ugVeeJ0eCIyy6GrOCDaLiqf62.svg)](https://asciinema.org/a/ugVeeJ0eCIyy6GrOCDaLiqf62)
## Dealing with problems
Endeavor to create an issue on GitHub when the need arises or send an email to [email protected].
## Contributing
Consider buying me a coffee if you appreciate the offerings of the project and/or would like to provide more impetus for me to continue working on it.