Skip to content

Latest commit

 

History

History
26 lines (25 loc) · 579 Bytes

README.md

File metadata and controls

26 lines (25 loc) · 579 Bytes

BrainFvck

an Interpreter for Brainf*ck (Turing tar-pit Language), implemented using Bison, Flex and GCC.

Installation

  • on Ubuntu (18.04):

    sudo pip3 install git+https://github.com/AlyShmahell/brainfvck

Running

with stdin

brainfvck

with file input

brainfvck <file_name>

Sample Programs

Hello World

++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.

or

+[+[<<<+>>>>]+<-<-<<<+<++]<<.<++.<++..+++.<<++.<---.>>.>.+++.------.>-.>>--.