https://github.com/filipporanza/bfi
bfi - Brainfcuk Interpreter
https://github.com/filipporanza/bfi
brainfuck brainfuck-interpreter command-line esolang esoteric-language esoteric-programming-language interpreter linux
Last synced: 27 days ago
JSON representation
bfi - Brainfcuk Interpreter
- Host: GitHub
- URL: https://github.com/filipporanza/bfi
- Owner: FilippoRanza
- Created: 2017-08-19T16:49:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-09T21:32:57.000Z (over 7 years ago)
- Last Synced: 2025-04-14T22:56:32.987Z (7 months ago)
- Topics: brainfuck, brainfuck-interpreter, command-line, esolang, esoteric-language, esoteric-programming-language, interpreter, linux
- Language: C
- Size: 149 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
[](https://travis-ci.org/FilippoRanza/bfi)
## What is bfi? ##
bfi is a **Brainfuck** interpreter.
bfi can execute programs from file,command line
or its interactive shell.
This interpreter checks **Brainfuck** and make
some simple _optimizations_
## Installation: ##
cmake CMakeList.txt && make && make install
After a successful installation you should run
**[sudo] mandb**, to update manpages databse.
### Ubuntu ###
Install, using apt(or equivalent), _libreadline6_ and _libreadline6-dev_
### Arch ###
Search on the **AUR**
ATTENTION:
bfi needs GNU Readline library
ensure you have readline run-time and
developer version installed to compile
and run bfi.
## Usage: ##
bfi _[option...]_ _[-e code | file ]_ _[argument..]_
for a complete guide read manual at
man bfi
## Tests ##
This program uses a custom test method:
test directory contains server subdirectories, each implements a specific test,
all those tests are run, and is every test success then the test is considered completed successfully.
Each test checks a bfi's feature: submits some code in way accepted by bfi, then the output in compared
with expected output, the test success if those outputs are equal, fails otherwise.