Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/aceinetx/bfc

Brainf*ck compiler written in C++
https://github.com/aceinetx/bfc

Last synced: 4 days ago
JSON representation

Brainf*ck compiler written in C++

Awesome Lists containing this project

README

        

BFC
-
Brainf*ck compiler written in C++, with compiler optimizations

Compiles bf code directly to NASM assembly, which provides extermely fast compile and execution time

Uses 32-bit linux system calls

## Tested copy.sh examples
yapi.bf - Segmentation fault

hellom.bf - Works perfectly

numwarp.bf - Does not work

beer.b - Almost works

quine505.b - Does not work

char.bf - Works perfectly

pi16.bf - Segmentation fault

dbf2c.b - Almost works

mandelbrot.b - Segmentation fault

dquine.b - Works, but not terminates

oobrain.b - Segmentation fault

bockbeer.b - Almost works

rot13.b - Does not work

wc.b - Does not work

triangle.bf - Just Works

squares.b - Does not work

calculator.bf - Almost works

cellsize.bf - Does not work

Also copy.sh text generator works too

A lot of the examples straight up just don't work, that's because I have little experience with nasm assembly, or copy.sh uses it's own brainf*ck, which is different from mine