https://github.com/bhansconnect/bqn-bf
https://github.com/bhansconnect/bqn-bf
bqn brainfuck brainfuck-interpreter interpreter lexer parser tokenizer
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bhansconnect/bqn-bf
- Owner: bhansconnect
- License: bsd-3-clause
- Created: 2023-08-24T18:21:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-09T03:42:32.000Z (about 2 years ago)
- Last Synced: 2025-09-19T16:42:12.052Z (29 days ago)
- Topics: bqn, brainfuck, brainfuck-interpreter, interpreter, lexer, parser, tokenizer
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# BQN BF
A BF interpreter in BQN.
It actually does parsing and then a number of tree optimization and node folding.
This is overkill for a BF interpreter but makes it way faster.
That said, it is still not super fast cause it is running in an interpreted array language.
This is probably one of the worst kind of languages for scalar code in tight loops (like a bf interpreter).
Overall, I am quite happy with the perf and crushing some basic python impls.