https://github.com/owlonpc/brainquack
Simple x86-64 Linux JIT compiler for the brainfuck programming language.
https://github.com/owlonpc/brainquack
brainfuck brainfuck-compiler c c99 compiler compiler-optimization jit jit-compiler
Last synced: about 1 month ago
JSON representation
Simple x86-64 Linux JIT compiler for the brainfuck programming language.
- Host: GitHub
- URL: https://github.com/owlonpc/brainquack
- Owner: owlonpc
- License: apache-2.0
- Created: 2025-03-22T15:17:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-03T15:40:15.000Z (4 months ago)
- Last Synced: 2026-02-04T04:34:31.316Z (4 months ago)
- Topics: brainfuck, brainfuck-compiler, c, c99, compiler, compiler-optimization, jit, jit-compiler
- Language: C
- Homepage:
- Size: 107 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# brainquack
Simple x86-64 Linux JIT compiler for the brainfuck programming language.
## Compiling
Simply run `make`. Optionally adjust CFLAGS and such in Makefile.
## Tests
Run `./test.py`.
Run `make test` to (re)compile and test at once.
## Usage
`./bq [file]`
## Dependencies
All you need is a C99 compiler and make.
Includes [cvector](https://github.com/eteran/c-vector) single-header library for dynamic arrays. (MIT License)
## License
Copyright 2025 owl
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
Programs in `tests` directory are made by Daniel B. Cristofani (https://www.brainfuck.org/) and are licensed under [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).