1
0
Fork
You've already forked bjit
0
JIT-compiler for Brainfuck
  • C 99.4%
  • CMake 0.6%
2026年04月07日 18:17:13 +02:00
examples Add mandelbrot example 2026年04月07日 18:17:13 +02:00
include Directly expose module structs 2026年04月07日 18:17:13 +02:00
src s390(x): Add jit implementation 2026年04月07日 18:17:13 +02:00
.clang-format "Initial commit" 2026年04月07日 18:13:37 +02:00
.clang-tidy "Initial commit" 2026年04月07日 18:13:37 +02:00
.gitignore "Initial commit" 2026年04月07日 18:13:37 +02:00
CMakeLists.txt "Initial commit" 2026年04月07日 18:13:37 +02:00
LICENSE "Initial commit" 2026年04月07日 18:13:37 +02:00
README.md s390(x): Add jit implementation 2026年04月07日 18:17:13 +02:00

bjit

bjit is a JIT-compiler for Brainfuck.

Platform support

bjit currently supports:

  • i386 and x86_64 on Linux (or any other POSIX-compliant OS using the System-V calling convention).
  • aarch64 on any POSIX-compliant OS following the aarch64 procedure call standard.
  • S/390(X) on Linux.

Compiling

Required tools:

  • A C-Compiler (gcc, clang, etc.)
  • CMake
  • make or Ninja
mkdir build
cd build # Create and go into build directory
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .. # "Ninja" can be replaced with "Makefile"
cmake --build -j $(nproc) # Build