Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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++
- Host: GitHub
- URL: https://github.com/aceinetx/bfc
- Owner: aceinetx
- Created: 2024-06-07T07:53:20.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-07T09:44:33.000Z (7 months ago)
- Last Synced: 2024-11-08T05:29:35.762Z (about 2 months ago)
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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