bf_ruby

所属分类:人工智能/神经网络/深度学习
开发工具:Ruby
文件大小:0KB
下载次数:0
上传日期:2021-03-27 01:23:10
上 传 者sh-1993
说明:  Brain Fuck ruby解释器,
(Brain Fuck interpreter in ruby,)

文件列表:
.rspec (53, 2021-03-26)
.rubocop.yml (457, 2021-03-26)
Gemfile (379, 2021-03-26)
Gemfile.lock (2266, 2021-03-26)
Guardfile (1610, 2021-03-26)
LICENSE.txt (1078, 2021-03-26)
Rakefile (208, 2021-03-26)
bin/ (0, 2021-03-26)
bin/console (375, 2021-03-26)
bin/run (219, 2021-03-26)
bin/setup (131, 2021-03-26)
brain_fuck.gemspec (1549, 2021-03-26)
exe/ (0, 2021-03-26)
exe/brain_fuck (42, 2021-03-26)
lib/ (0, 2021-03-26)
lib/brain_fuck.rb (303, 2021-03-26)
lib/brain_fuck/ (0, 2021-03-26)
lib/brain_fuck/debug.rb (145, 2021-03-26)
lib/brain_fuck/instruction_handler.rb (1153, 2021-03-26)
lib/brain_fuck/interpreter.rb (1070, 2021-03-26)
lib/brain_fuck/processor.rb (1444, 2021-03-26)
lib/brain_fuck/runner.rb (381, 2021-03-26)
lib/brain_fuck/version.rb (72, 2021-03-26)
programs/ (0, 2021-03-26)
programs/hello_world.bf (118, 2021-03-26)
spec/ (0, 2021-03-26)
spec/brain_fuck/ (0, 2021-03-26)
spec/brain_fuck/interpreter_spec.rb (4703, 2021-03-26)
spec/brain_fuck/processor_spec.rb (2715, 2021-03-26)
spec/brain_fuck/runner_spec.rb (444, 2021-03-26)
spec/brain_fuck_spec.rb (145, 2021-03-26)
spec/spec_helper.rb (390, 2021-03-26)

# BrainFuck A brain fuck interpreter in ruby. Because it sounded like cool and to learn and practice some things. ## Installation No ever intended to be published, so you shouldn't be installing it. You can clone this repo and play with the code if you like. ## Usage Run a program like this: ``` ./bin/run programs/hello_world.bf ``` To experiment ``` bin/console ``` Then run programs like this: ``` BrainFuck.run('+++++[:-]:') ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. Run `rake rubocop` to get free advice. You can also run `bin/console` for an interactive prompt that will allow you to experiment. Run `rake guard` to get rspec and rubocop to run after every code change. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

近期下载者

相关文件


收藏者