Giter Club home page Giter Club logo

bf's Introduction

BF

练习用简易brainfuck解释器
关于brainfuck,请参见wikipedia-https://en.wikipedia.org/wiki/Brainfuck

基础命令

BF_0_0.exe code.bf
从code.bf内以文本模式读入源代码并以标准输出流输出

命令行参数

-30 -100 -300 -1000

分别将cell数量指定为30、100、300、1000
默认为-30

-left -middle

分别将初始ptr位置设置为0位、cell数量/2-1位
默认为-left

-i ifilename

将标准输入流修改为ifilename文件流

-o ofilename

将标准输出流修改为ofilename文件流

源代码特性

支持//样式注释
即使[]中含有非bf符号,若代码允许则跳过
未经过中文测试,请勿使用中文

bf's People

Contributors

uleang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.