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

https://github.com/saecki/brainfuck

A somewhat optimizing brainfuck interpreter and compiler
https://github.com/saecki/brainfuck

brainfuck compiler

Last synced: over 1 year ago
JSON representation

A somewhat optimizing brainfuck interpreter and compiler

Awesome Lists containing this project

README

          

# brainfuck
A somewhat optimizing brainfuck interpreter and compiler

## Usage

```
brainfuck []

modes
format pretty print brainfuck code
ir print the intermediate representation
run interpret the ir
compile generate an ELF64 x86-64 system-v executable
help print this help message

options
-v,--verbose change verbosity level via number of occurences [0..=3]
-u,--print-unoptimized-ir print the ir before optimizations are applied
-d,--debug disable all optimizations
--no-optimize-zeros disable zeroing optimization
--no-optimize-arithmetic disable arithmetic optimizations
--no-optimize-jumps disable redundant jump elmination
--no-optimize-dead-code disable dead code elmination
--no-optimize-init disable state initialization optimization
--no-optimize-simplify disable code simplification
```