Skip to content

j-jzk/bfasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A brainfuck -> x86 assembly compiler

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages