https://github.com/thehxdev/bfp
BrainFuck command frequency discovery tool
https://github.com/thehxdev/bfp
Last synced: 10 months ago
JSON representation
BrainFuck command frequency discovery tool
- Host: GitHub
- URL: https://github.com/thehxdev/bfp
- Owner: thehxdev
- License: mit
- Created: 2025-06-09T10:04:18.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-09T12:24:16.000Z (12 months ago)
- Last Synced: 2025-06-09T13:33:11.382Z (12 months ago)
- Language: C
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BFP
Simple BrainFuck source code profiler for command frequency discovery. Useful for interpreter optimization.
## Build
By default, each individual token is counted. To count each consecutive sequence of tokens only once,
define the `UNIQUE_SEQ` preprocessor variable using the `-DUNIQUE_SEQ=1` compiler flag.
And... You need build instructions for a single `.c` file? :)
## Use
```bash
# You can pass multiple brainfuck source files
./a.out ./examples/*
```