https://github.com/splurf/bf2s
brainfuck to string
https://github.com/splurf/bf2s
brainfuck rust
Last synced: about 1 year ago
JSON representation
brainfuck to string
- Host: GitHub
- URL: https://github.com/splurf/bf2s
- Owner: splurf
- License: mit
- Created: 2025-04-04T05:36:57.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-04T05:36:59.000Z (about 1 year ago)
- Last Synced: 2025-04-04T05:47:08.498Z (about 1 year ago)
- Topics: brainfuck, rust
- Language: Rust
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bf2s (Brainfuck-to-string)
## Usage
```rust
fn main() {
let code = "
-[------->+<]>-.-[->+++++<]>
++.+++++++..+++.[->+++++<]>+
.------------.---[->+++<]>.-
[--->+<]>---.+++.------.----
----.-[--->+<]>.
";
let s = bf2s::bf_to_str(code);
assert_eq!(s, "Hello, World!")
}
```