Perl 6 module: use Brainfuck language within your Perl 6 programs.
Perl 6 Brainfuck
Switch branches/tags
Nothing to show
Latest commit 0e53686 May 31, 2017 @zoffixznet zoffixznet Update .travis.yml

README.md

Build Status

NAME

Inline::Brainfuck - Use Brainfuck language in your Perl 6 programs

SYNOPSIS

use lib 'lib';
use Inline::Brainfuck;

brainfuck '++++++++++ ++++++++++ ++++++++++ +++.'; # prints "!"

DESCRIPTION

This module provides a subroutine that takes a string with Brainfuck code and executes it.

EXPORTED SUBROUTINES

brainfuck

    brainfuck '++++++++++ ++++++++++ ++++++++++ +++.'; # prints "!"

Takes an Str with Brainfuck code to execute. Input will be read from STDIN. The terminal will be switched to non-buffered mode, so any input will be processed immediatelly, per-character. Output will be sent to STDOUT.


REPOSITORY

Fork this module on GitHub: https://github.com/zoffixznet/perl6-Inline-Brainfuck

BUGS

To report bugs or request features, please use https://github.com/zoffixznet/perl6-Inline-Brainfuck/issues

AUTHOR

Zoffix Znet (http://zoffix.com/)

LICENSE

You can use and distribute this module under the terms of the The Artistic License 2.0. See the LICENSE file included in this distribution for complete details.