프로젝트
GitHub에서 보기
thiagopnts/groot
소개
:deciduous_tree: The Groot Programming Language
프로그래밍 언어 및 런타임측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalThe 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.
관련 프로젝트 살펴보기
불러오는 중…