https://github.com/vtan/brainzag
An interpreter and JIT compiler for the Brainfuck programming language, written in Zig
https://github.com/vtan/brainzag
brainfuck interpreter jit-compiler zig
Last synced: about 1 year ago
JSON representation
An interpreter and JIT compiler for the Brainfuck programming language, written in Zig
- Host: GitHub
- URL: https://github.com/vtan/brainzag
- Owner: vtan
- Created: 2023-10-30T22:22:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T15:46:25.000Z (over 2 years ago)
- Last Synced: 2025-02-15T08:37:50.879Z (over 1 year ago)
- Topics: brainfuck, interpreter, jit-compiler, zig
- Language: Zig
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# brainzag
An interpreter and JIT compiler for the Brainfuck programming language, written in Zig.
JIT compilation is implemented for the x86-64, ARM64 and 64-bit RISC-V CPU architectures.
```console
$ zig build run -- -o test/hello.bf # interpret with optimizations
$ zig build run -- -jo test/hello.bf # compile with optimizations
```