It's our take on Brainf**k programming language with some twists and additional functionality.
Documtnation is right here: Documentation
Insert gif or link to demo here
Here are some things that improve the Brainf**ck and help with building more complex applications:
- Functions
- Conditional statements
- Multiple nested boards
- Loops
- do while
- do
- Embeded functions
- READ_AS_INT
- READ_AS_STRING
- READ_AS_COLORS
Install BF2-compiler with (?)
TODOClone the project
git clone https://github.com/BF2-compiler/bf2-interpreter.gitGo to the project directory
cd compilerInstall dependencies
(?)Create file with .bf2 extension
touch my_program.bf2Open it in your editor of choice and write your code!
vim my_program.bf2Run the program
java 19 src/main/interpreter/Bf2App.java src/my_program.bf2% This prints "Hello world" as text
8,8
=72 >=101> =108> =108> =111 >=32
v =100<=108<=114<=111<=119
READ_AS_STRING
% This prints letter "K" as color panels
12,15
=100v =100v =100v =100v =100v =100v =100v =100 ^^^ >
=100
>^=100 >^=100 >^=100 >^=100
<v <v <v <v
>v=100 >v=100 >v=100
READ_AS_COLORS
% Random array creation with loops
10,10
=5 if(.=?5){>=3}
if(.=?5){do{>=6}(6)}
else{do{v=81}(6)}
if(.=?5){do{>=6}(6)}
elif(.=?81){do{>=123}(6)}
PRINT_AS_INT
Here are some related projects that helped us a lot:
There are many more features like reading data as colors or multidimensional board layouts. You can read about all additional features in Documentation
We don't really know yet .. For now it's just to waste your time ツ
If you have any feedback, please reach out to us at some_mail@agh.edu.pl
