GitXplorerGitXplorer
j

bfasm

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
bcab3310d155f7e2ec7d1755ed59e6207ba7c428

use inc/dec instead of add/sub where applicable

jj-jzk committed 10 months ago
Unverified
39b10e0309415bbbb68a18d504c2cb28236bb018

add dynamic memory allocation

jj-jzk committed 10 months ago
Unverified
261190d778631f07e43869f02ef1f3f9a3816685

add a flag to disable building the files

jj-jzk committed a year ago
Unverified
2b0a35fc71eece628f12424613650708b33f7a4f

add README

jj-jzk committed a year ago
Unverified
1fee2d799ea4dd6e16643b419c18de89bb23f59a

make terminal output more useful

jj-jzk committed a year ago
Verified
b6de752ae0cd7e3789b69c31cf2ae68369834246

add a basic build system and a CLI interface

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