brainfog

所属分类:人工智能/神经网络/深度学习
开发工具:Brainfuck
文件大小:0KB
下载次数:0
上传日期:2021-04-20 07:50:01
上 传 者sh-1993
说明:  内置(并以)C为目标的智能编译器和解释器,
(A brainfuck compiler and interpreter, built in (and targeting) C,)

文件列表:
LICENSE (744, 2021-04-20)
bottle1.bf (2677, 2021-04-20)
bottles.txt (11849, 2021-04-20)
callosum.c (2558, 2021-04-20)
fog.c (2427, 2021-04-20)
makefile (363, 2021-04-20)
makefile_fog (216, 2021-04-20)
output.c (28037, 2021-04-20)
test/ (0, 2021-04-20)
test/input/ (0, 2021-04-20)
test/input/1_helloworld.bf (305, 2021-04-20)
test/input/2_randotext.bf (2428, 2021-04-20)
test/input/3_bottles.bf (2719, 2021-04-20)
test/input/4_oo.bf (66205, 2021-04-20)
test/input/5_hanoi.bf (46230, 2021-04-20)
test/input/6_quine_8780.bf (9008, 2021-04-20)
test/input/7_reverse.bf (13, 2021-04-20)
test/output/ (0, 2021-04-20)
test/output/1_helloworld.bf (13, 2021-04-20)
test/output/2_randotext.bf (236, 2021-04-20)
test/output/3_bottles.bf (11849, 2021-04-20)
test/output/4_oo.bf (230, 2021-04-20)
test/output/5_hanoi.bf (19090, 2021-04-20)
test/output/6_quine_8780.bf (8780, 2021-04-20)
test/output/7_reverse.bf (5, 2021-04-20)
test_all.sh (171, 2021-04-20)

# Brainfog This is my first attempt at a brainfuck interpreter. It's pretty messy atm. It can handle oobrain and towers of hanoi, two very large files from [here](https://github.com/fabianishere/brainfuck/tree/master/examples). ## Demo Just type `make run`. You will need to type "lmfao" and then press enter when it says it's processing `4_reverse.bf`, as that test verifies user input. The "correct output" (in `test/output/4_reverse.bf`) is hardcoded to the reverse of "lmfao", which is "oafml". So if you don't type "lmfao" in, the test will fail.

近期下载者

相关文件


收藏者