Home

Awesome

Setup Brainfuck

Stand With Ukraine Releases functional-tests linting

This action installs one of the brainfuck interpreters called brainfucky.

Prerequisites

The following tools have to be installed for successful work of this GitHub action: pip3.

Inputs

<!-- prettier-ignore-start -->
NameRequiredDescriptionDefaultPossible values
versionNoBrainfucky library version that can be found here version0.1.dev10.1.dev1, 0.1.dev0
<!-- prettier-ignore-end -->

Example usage

Workflow configuration

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

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