Skip to content

Latest commit

 

History

History

brainfuck

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Brainfuck Interpreter

This project is a small interpreter for the Brainfuck programming language written entirely in x86-64 assembly. It makes syscalls to read code from standard input and write results to the standard output. As such, it will only work on x86-64 Linux systems.

Since it expects code to be passed on stdin, users cannot give input via standard input. As such, the , Brainfuck command is ignored.

The project was made as an example use case for QuickServ. Despite this, it has no security features built in whatsoever. A malicious user can write whatever they want to the stack, can print whatever they want to the standard output, and is free to create infinite loops.

Requires a C compiler with a built-in assembler. Tested with gcc.

Code from: https://github.com/jstrieb/brainfuck