Help language development. Donate to The Perl Foundation

Inline::Brainfuck zef:raku-community-modules last updated on 2022-05-19

4d5186405c9e3b182dd9ac999ad9f3510c983690/

Actions Status

NAME

Inline::Brainfuck - Use Brainfuck language in your Raku programs

SYNOPSIS

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 a 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.

AUTHOR

Zoffix Znet

COPYRIGHT AND LICENSE

Copyright 2016 - 2017 Zoffix Znet

Copyright 2018 - 2022 Raku Community

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.