brainfuck-interpreter

所属分类:人工智能/神经网络/深度学习
开发工具:Haskell
文件大小:0KB
下载次数:0
上传日期:2019-04-12 02:51:24
上 传 者sh-1993
说明:  脑力编程语言的口译员,
(An Interpreter for the brainfuck programming language,)

文件列表:
LICENSE (35149, 2019-04-11)
brainfuck.hs (3704, 2019-04-11)
tests/ (0, 2019-04-11)
tests/input1.txt (787, 2019-04-11)
tests/input2.txt (2050, 2019-04-11)
tests/input3.txt (171, 2019-04-11)
tests/input4.txt (724, 2019-04-11)
tests/input5.txt (759, 2019-04-11)
tests/input6.txt (146, 2019-04-11)
tests/input7.txt (1023, 2019-04-11)

# brainfuck-interpreter An interpreter for the brainfuck programming language. # requirements Install the `haskell-stack` package from your favorite package manager. f.e MacOs -> `brew install haskell-stack` # running sample brainfuck code `stack runhaskell brainfuck.hs < tests/input{X}.txt` where X is the test name index (1 - 7) # running custom brainfuck code `stack runhaskell brainfuck.hs < {input location}` To run your `brainfuck` code dump it in a text file and put your input string on the first line,followed by the symbol `$`. Parsing ignores any character except for the official brainfuck commands ( > < . , + - [ ]) and whitespace, so you can easily write comments. See the test cases for more info.

近期下载者

相关文件


收藏者