项目
在 GitHub 查看
thiagopnts/groot
关于
:deciduous_tree: The Groot Programming Language
编程语言与运行时实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文The Groot Programming Language
Groot is an esoteric programming language, which uses the language of an extraterrestrial plant from Planet X called Groot as its syntax.
Commands
There are eight commands like Brainfuck:
| phrase | meaning |
|---|---|
i am groot |
increment the byte at the data pointer. |
I am Groot |
decrement the byte at the data pointer. |
I AM GROOOT |
output the byte at the data pointer. |
I AM GROOT |
increment the data pointer. |
I am groot |
decrement the data pointer. |
I am grooot |
accept one byte of input. |
I'm Groot |
if the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command, jump it forward to the command after the matching We are Groot command. |
We are Groot |
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 I'm Groot command. |
Building
To build, run:
$ cargo build
Running
To run:
$ cargo run helloworld.groot
The Rust version used to build this:
rustc 1.0.0-nightly (dfc5c0f1e 2015-02-18) (built 2015-02-19)
It will probably work with any nightly build.
探索相关项目
加载中…