Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lleyton/bfc
A naive Brainfuck compiler frontend for QBE.
https://github.com/lleyton/bfc
brainfuck brainfuck-compiler compiler qbe rust
Last synced: 9 days ago
JSON representation
A naive Brainfuck compiler frontend for QBE.
- Host: GitHub
- URL: https://github.com/lleyton/bfc
- Owner: lleyton
- License: gpl-3.0
- Created: 2024-10-28T01:46:15.000Z (11 days ago)
- Default Branch: main
- Last Pushed: 2024-10-28T01:47:07.000Z (11 days ago)
- Last Synced: 2024-10-28T05:39:59.328Z (10 days ago)
- Topics: brainfuck, brainfuck-compiler, compiler, qbe, rust
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bfc
A naive [Brainfuck](https://brainfuck.org/) compiler frontend for [QBE](https://c9x.me/compile/)... since I wanted to play around with it.
## Usage
```sh
cargo run source.b > source.sse
qbe -o source.s source.sse
cc source.s
./a.out
```