Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/j-jzk/bfasm

A brainfuck -> x86 assembly compiler
https://github.com/j-jzk/bfasm

assembly brainfuck brainfuck-compiler

Last synced: 25 days ago
JSON representation

A brainfuck -> x86 assembly compiler

Awesome Lists containing this project

README

        

# bfasm
_Run your Brainfuck programs **blazingly fast**_

An optimizing Brainfuck compiler into x86 assembly.

## Usage
Generates an assembly source for the program and a supporting C main file, then builds them with `nasm` and `gcc`.
(The build step can be disabled by `-n`)

```
Usage: main []

Options:
-d, --build-dir= directory for the generated files (default .)
-t, --tape-size= the nuber of tape cells to allocate (default 256)
--dynamic-tape allocate the tape on the heap
-n, --no-build only generate ASM & C source files, don't build them
-h, --help Show this message and exit
```