An open API service indexing awesome lists of open source software.

https://github.com/swz-git/rsbf

Quick optimizing brainfuck interpreter and C transpiler
https://github.com/swz-git/rsbf

brainfuck interpreter rust transpiler

Last synced: about 1 year ago
JSON representation

Quick optimizing brainfuck interpreter and C transpiler

Awesome Lists containing this project

README

          

# Fast (JIT & non-JIT) brainfuck interpreter and "compiler" written in rust

Rsbf includes 2 binaries, rsbfi and rsbfc. Rsbfi is a fast (both JIT and non-JIT) optimizing brainfuck interpreter. Rsbfc is a brainfuck to C transpiler that compiles the transpiled C code using clang to a binary executable.

## Runtime dependencies (rsbfc)

- [clang](https://clang.llvm.org/) (make sure it is in [PATH](https://en.wikipedia.org/wiki/PATH_(variable)))

## Install
`cargo install --git https://github.com/swz-git/rsbf`

## Usage
`rsbfc --help` or `rsbfi --help`

## Future plans

- [ ] Custom [cranelift](https://cranelift.dev/)-powered compiler