Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibara/bfc
Compile Brainfuck to multi-platform assembly.
https://github.com/ibara/bfc
amd64 assembly bfc brainfuck bsd c compiler i386 i80 i8080 openbsd unix x86-64 z80
Last synced: 14 days ago
JSON representation
Compile Brainfuck to multi-platform assembly.
- Host: GitHub
- URL: https://github.com/ibara/bfc
- Owner: ibara
- License: isc
- Created: 2020-08-08T06:48:38.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-01T06:04:24.000Z (over 3 years ago)
- Last Synced: 2024-10-03T18:54:11.533Z (about 1 month ago)
- Topics: amd64, assembly, bfc, brainfuck, bsd, c, compiler, i386, i80, i8080, openbsd, unix, x86-64, z80
- Language: C
- Homepage: https://briancallahan.net/blog/20210425.html
- Size: 36.1 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
bfc
===
bfc is a multi-platform compiler that compiles Brainfuck to assembly.Typical usage is as follows:
```
$ bfc hello.bf | cc -x assembler -
$ ./a.out
```Why?
----
Read my
[blog post](https://briancallahan.net/blog/20210425.html)
about this codebase.Building
--------
Run `./configure` to detect your native CPU.
Then run `make`.Supported backends
------------------
* amd64 (x86_64)
* i386 (i486, i586, i686, i786)
* 8080/Z80 (8080, i80, z80)
* Generic C (for all other CPUs)Please feel free to add additional CPU support.
License
-------
ISC License.
See `LICENSE` for details.