Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/fabasoad/setup-brainfuck-action

This GitHub action installs brainfuck compiler.
https://github.com/fabasoad/setup-brainfuck-action

brainfuck brainfuck-interpreter esoteric-interpreter esoteric-language github-action github-actions

Last synced: 11 days ago
JSON representation

This GitHub action installs brainfuck compiler.

Lists

README

        

# Setup Brainfuck

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![Releases](https://img.shields.io/github/v/release/fabasoad/setup-brainfuck-action?include_prereleases)
![functional-tests](https://github.com/fabasoad/setup-brainfuck-action/actions/workflows/functional-tests.yml/badge.svg)
![linting](https://github.com/fabasoad/setup-brainfuck-action/actions/workflows/linting.yml/badge.svg)

This action installs one of the brainfuck interpreters called [brainfucky](https://pypi.org/project/brainfucky/).

## Prerequisites

The following tools have to be installed for successful work of this GitHub action:
[pip3](https://pip.pypa.io/en/stable/).

## Inputs

| Name | Required | Description | Default | Possible values |
|---------|----------|---------------------------------------------------------------------------------------------------|------------|------------------------|
| version | No | Brainfucky library version that can be found [here](https://pypi.org/project/brainfucky/) version | `0.1.dev1` | `0.1.dev1`, `0.1.dev0` |

## Example usage

### Workflow configuration

```yaml
name: Test

on: push

jobs:
build:
name: Brainfuck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: fabasoad/setup-brainfuck-action@main
- name: Hello World
run: |
touch ./hello-world.bf
echo "++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.++" > ./hello-world.bf
echo "+.------.--------.>>+.>++." >> ./hello-world.bf
brainfucky --file ./hello-world.bf
rm ./hello-world.bf
```

### Result

```text
executing file ./hello-world.bf
Hello World!
```