GitXplorerGitXplorer
f

bfjq

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
21982e57376eaa5aee8b44f8cd8b4fc93ef10491

remove useless code

ffioriandrea committed 8 months ago
Unverified
ea150a4b04db954af19e20501cf72f66a47622d4

update README.md

ffioriandrea committed 8 months ago
Verified
2d56da08e2f77481e960d2f2dfe9ee0e18a3ac37

Update README.md

ffioriandrea committed 8 months ago
Unverified
33c01c5f16fbcaba11cdd34d0297a5d9980bdfa5

get rid of inefficient implementation

ffioriandrea committed 8 months ago
Unverified
fd062b24e0246a1f100ba67ec00091fec05ce71a

update program input method

ffioriandrea committed 8 months ago
Unverified
dd5d8d2bf9eadb880b0ba12a8e28caf3f6c1825c

update README.md

ffioriandrea committed 8 months ago

README

The README file for this repository.

bfjq

Implementation of Brainfuck written in jq.

Usage

The interpreter was tested on jq version 1.7.1.

# input for the comma (,) command is provided --rawfile input <filename>
./bf.jq examples/wc.b --rawfile input bf.jq
# to read from stdin
./bf.jq examples/wc.b --rawfile input /dev/stdin < bf.jq

Examples

Example brainfuck programs can be found in the examples directory. These examples were taken from brainfuck.org and are licensed under Creative Commons Attribution-ShareAlike 4.0 International License.

License

Distributed under the GPLv3 License. See LICENSE file in this repo for more information.