shibafu:Shibafu编程语言wwwwwwwwwww

  • Q2_181345
    了解作者
  • 11.5KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-01 05:02
    上传日期
芝风编程语言 在日本的网上,人们一直使用“ w”来自“ warau”(笑う)或“ warai”(笑い),日语是笑或笑的意思。 他们称“ w”为“ kusa”(草),意为草。 如果您想了解这种文化的更多细节。 请参阅“ ” 当这种草聚集时,被称为草坪(芝生,芝Shi)。 该语言被称为shibafu因为该编程语言将逐渐发展。 该语言的语法基于 。 您可以使用这些令牌。 代币 意义 www 递增数据指针(指向右边的下一个单元格)。 WWW 递减数据指针(指向左侧的下一个单元格)。 wWw 将数据指针处的字节增加(增加1)。 WwW 将数据指针处的字节减一(减一)。 Www 在数据指针处输出字节。 wwW 接受一个字节的输入,并将其值存储在数据指针的字节中。 wWW 如果数据指针处的字节为零,则与其将指令指针向前移至下一个标记,而WWw其向前跳转至匹配的WWw标
shibafu-master.zip
  • shibafu-master
  • .circleci
  • config.yml
    1.2KB
  • token
  • token.go
    358B
  • etc
  • token_gen.go
    893B
  • example
  • hello_world.w
    560B
  • evaluator
  • evaluator.go
    2.9KB
  • evaluator_test.go
    2.7KB
  • lexer
  • lexer.go
    2.1KB
  • lexer_test.go
    4KB
  • cmd
  • shibafu
  • main.go
    2.1KB
  • bin
  • .gitkeep
    0B
  • go.mod
    44B
  • go.sum
    0B
  • LICENSE
    1KB
  • README.md
    4.7KB
  • Makefile
    198B
  • .goreleaser.yml
    648B
  • .gitignore
    12B
内容介绍
# Shibafu Programming Language [![CircleCI](https://circleci.com/gh/Code-Hex/shibafu.svg?style=svg&circle-token=42af5120e1edd375241967a09e303d2a4064b840)](https://circleci.com/gh/Code-Hex/shibafu) <p align="center"> <img width="460" src="https://user-images.githubusercontent.com/6500104/59754663-7fae8d00-92c1-11e9-9b11-a9a3ec172967.jpg"> </p> Online in Japan, people have been using "w" is from "warau" (笑う) or "warai" (笑い), the Japanese word for laugh or smile. they call "w" "kusa" (草) which means grass. If you want to know more details of this culture. See "[In Japan, People Do Not LOL. They wwww.](https://kotaku.com/in-japan-people-do-not-lol-they-wwww-5986170)" When this grass (草) gathers it is called lawn (芝生, Shibafu). This language is named `shibafu` because this programming language will be growing many grasses. The syntax of this language is based on [Brainfuck](https://en.wikipedia.org/wiki/Brainfuck). you can use these tokens. | Token | Meaning | |---------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `www` | increment the data pointer (to point to the next cell to the right). | | `WWW` | decrement the data pointer (to point to the next cell to the left). | | `wWw` | increment (increase by one) the byte at the data pointer. | | `WwW` | decrement (decrease by one) the byte at the data pointer. | | `Www` | output the byte at the data pointer. | | `wwW` | accept one byte of input, storing its value in the byte at the data pointer. | | `wWW` | if the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next token, jump it forward to the token after the matching `WWw` token. | | `WWw` | if the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command, jump it back to the command after the matching `wWW` command. | ## See - Shibafu Playground - https://play.shibafu.dev/ - [examples](https://github.com/Code-Hex/shibafu/tree/master/example). - [grass](http://blue.sky.or.jp/grass/doc_ja.html) language. It is awesome :D
评论
    相关推荐