OMKOV Brainfuck Compiler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jake Wakeling a437b4374b Add more extensible code generation module 1 month ago
build Add base project files 1 month ago
ext Add external libraries 1 month ago
src Add more extensible code generation module 1 month ago
.gitignore Add base project files 1 month ago
CMakeLists.txt Add base project files 1 month ago
LICENCE Add base project files 1 month ago
README.md Add base project files 1 month ago

README.md

OBFC

OMKOV Brainfuck Compiler

The OMKOV Brainfuck Compiler (OBFC) is an optimising compiler for the Brainfuck language written in C.

OBFC outputs assembly that can be assembled with NASM for elf64 with the command nasm -felf64 out.asm, and then linked into an executable with ld out.o.

Implementation Details

  • OBFC uses single byte cells, and arithmetic wraps around.
  • OBFC provides 30000 cells.

Build Instructions

OBFC uses CMake to build.
Binaries will be located in the bin directory.

UNIX Build

Run buildUNIX.sh in the build directory, or

cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make

Meta

Copyright (C) 2020, Jakob Wakeling
All rights reserved.
OMKOV Permissive Licence