GitXplorerGitXplorer
j

bfasm

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
f5a39fbea8d70c3620fca26f0da614167bc784ee

initial implementation

jj-jzk committed a year ago

README

The README file for this repository.

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>] <inputfile>

Options:
  -d, --build-dir=<path>  directory for the generated files (default .)
  -t, --tape-size=<int>   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