Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 466 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 466 Bytes

Brainfuck.jl

It is a simple Brainfuck interpreter written in Julia. Why? Because we can!

While developing the interpreter, I'll be using the table below.

Brainfuck command C equivalent
(Program Start) char array[infinitely large size] = {0};
              | char \*ptr=array;
              | ++ptr;

< | --ptr; + |++*ptr;

  • |--*ptr; . |putchar(*ptr); , |*ptr=getchar(); [ |while (*ptr) { ] |}