1 Star 0 Fork 0

1-5-5-3-4 / Brainfuck Interpreter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Unlicense

Brainfuck Interpreter

介绍

  • brainfuck解释器
  • 闲着无聊写的
  • 说不定有用?

安装教程

就俩文件,不用多说吧,编译

使用说明

  1. 首先,你已经编译了BF.c和BFd.c,有了BF.exe和BFd.exe
  2. 运行其中一个程序,输入你的BF代码的最大长度(比如你要写个300多个字符的,就输入400)
  •  这样子你要写多少BF代码就用多大的数组,免得占内存
  1. 回车,然后写你的BF代码进去(一行),再回车
  2. 好啦!
  3. 等等,还没完。
  4. 运行BF时:
  • BF.exe输入字符(不回车),输出字符;
  • BFd.exe输入ASCII并回车,输出ASCII。
  1. 额外加了些东西:
  • 'c'清屏
  • 'r'重置
  • 'q'退出
  1. 运行BF用的数组只能存99个字符,指针最初指向第50个字符
  2. (0-1=255,255+1=0)
  3. boolfuck解释器:https://gitee.com/Silver_15534/BL
This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org>

简介

brainfuck解释器 闲着无聊写的 说不定有用? (0-1=255、255+1=0) 展开 收起
C
Unlicense
取消

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/Silver_15534/BF.git
git@gitee.com:Silver_15534/BF.git
Silver_15534
BF
Brainfuck Interpreter
master

搜索帮助