User guessed
Jump to navigation
Jump to search
Inspired by User programmed and Guess, everybody are welcomed to add commands, but implicitly. Created by User:I am islptng.
Rules
To add a command:
- Write an example using it.
- Add a row in the "Commands" and remember to put your name!
To guess:
- Make your guess in the "Commands" chart.
- Remember to put your name.
To grade a guess:
- Highlight the correct part green, and strike the incorrect part.
To ask for an example program:
- Create a new section in the "Examples".
- Describe the program, and leave both your name and who you want to write the program.
Reserved characters
- Tab, Space: Keyword separator.
- Semicolon and newline: Command separator.
- Brackets: Code block.
- Parentheses: String literal. Can be nested.
/*and*/: Comment.
Commands
| Command | Created by | Guess |
|---|---|---|
> |
User:I am islptng | User:Helpeesl : Assignment |
# |
User:I am islptng | User:Helpeesl : Declaration |
\? |
User:I am islptng | User:Helpeesl : Boolean type |
>> |
User:I am islptng | User:Helpeesl : Input/Output |
? |
User:I am islptng | User:Helpeesl : While loop |
&&[...]@(...) |
User:PrySigneToFry | User:PrySigneToFry's hint: It is about loop. |
🧀 |
User:Esolangist | User:PrySigneToFry: Output the entire program's source code.
User:I am islptng: |
\2 |
User:PrySigneToFry | User:Hammy: Number type |
b @ a : c |
User:PrySigneToFry | User:Hammy If b, then do a, otherwise do c If b is true, evaluates into a, otherwise evaluates into c. |
⯑~[a],[b](where a, b ∈ Z) |
User:PrySigneToFry | User:↑: Random integer generator range a to b |
` [a] [b] [c] |
User:↑ | |
´ [a] [b] [c] |
User:↑ | |
↷ [a] [b] [c] |
User:↑ | User:↑ Hint: It is not related to loops. |
\1 |
User:↑ | |
! |
User:None1 | |
$ [a] [b] |
User:None1 | |
_ [a] |
User:None1 | |
. |
User:None1 |
Examples
Truth machine
# \? 0;>> > 0
0 ? { 0 > >> };0 > >>
Quine
Do you like cheese? I do. 🧀
Another quine
❂ > >>
Even or Odd?
Written by PrySigneToFry.
# \2 x;>> > x
x ÷ 2 == 0 @ {(Even!) > >>} : {(Odd!) > >>};
Hello, World!
(ဟလို ကမ္ဘာလောက!) > >>
Encoding: UTF-8
FlipShift
# \1 x;>> > x # \1 y;>> > y # \1 z;>> > z ↷ [x] [y] [z] ` [x] [y] [z] ` [x] [y] [z] ` [x] [y] [z] ´ [x] [y] [z] ` [x] [y] [z] ´ [x] [y] [z] ´ [x] [y] [z] > >>
Nope.
!;$ 14 3;_ 5;.
Throw dice
⯑~1,6 > >>