Skip to content

ruarq/br4in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Br4in[fuck]

C/C++ CI CodeQL

This is my shot at a brainfuck interpreter. It's overengineered on purpose.

How to compile & run

After compiling, you should find the executable in projectdir/bin/release/. For more information, just run path/to/br4in -h

Linux

You just have to run the following in the project directory

./premake5 gmake
make config=release

and it should work just fine.

Windows

I have not tested it on windows so far, but with a few tweaks it should work there too.

Planned features

  • Optimization

    • Move (<, >) optimization
    • Jump ([, ]) optimization
    • Inc/Dec (+, -) optimization
    • If possible, faster console output
  • Gui debugger

    • Breakpoints
    • Stepping
    • Live memory view to allow easy & rapid development of brainfuck programs