Nya~*kwrgsfish+-HQ9`:'"rbtAzxdi8
Jump to navigation
Jump to search
Nya~*kwrgsfish+-HQ9`:'"rbtAzxdi8, or Nya~Τούρινγκ-r%23kc锟斤拷d#T大个b彁jSV\d\\\\zESGmcdips is designed by PSTF.
Language Overview
Nya~*kwrgsfish+-HQ9`:'"rbtAzxdi8 is turing complete, uses an accumulator, a tape with 114514 cells, a stack, a buffer, and variables.
It is simply extended from nya~.
Its file extension is ".nyatc".
You're free to edit this Esolang, but:
- No joke commands.
- Make sure your command is implementable.
- It is not (and should not) be submitted to protected orders (basic areas, supplementary areas and protected areas) that new commands, deletions or modifications of existing commands are made.
- The use of standard Arabic numerals as commands is forbidden because it represents numbers, as is the case in other languages, using the decimal system.
- You must not add commands that are represented by characters written from right to left. This means that the Arabic alphabet, Hebrew alphabet, etc., are disabled.
Basic command
n y a [x] ~
- Negates the accumulator.
- No operation.
- Push a value to accumulator.
- Reset the accumulator.
Supplement
idso w [x] ><+-[],. A [x] [y] S [x] [y] M [x] [y] D [x] [y] E [x] [y] % [x] [y] R [x] [y] L [x] [y] N [x] [y] O [x] [y] X [x] [y] l [x] [y] r [x] [y]
- Same as Deadfish.
- Output x as an character. Leave x blank to output stack top. Trying to output from empty stack makes outputs 0th character.
- Same as Brainfuck. Whole line of brainfuck commands needn't be seperated.
- x <- x + y
- x <- x - y
- x <- x × y
- x <- x ÷ y
- x <- xy
- x <- x mod y
- x <- x1/y
- x <- logy(x)
- x <- x AND y
- x <- x OR y
- x <- x XOR y
- x <- x × 2y
- x <- x ÷ 2y
Protected
P [x] p [x] j [x] → [x] "" ± ↕ ⇋ (cond)?{block}[:(cond2)?{block2}...:{blockN}] (cond)?-{block}- ; ↑ [x] ↓ [x] ⍠ [x] x[(type)] ← [y] U
- Push x to stack. If x is a string, then push from left to right.
- Pop stack top and store into x. Leave x as blank to discard top of stack.
- Join x to the buffer.
- Output the value of x.
- String literal.
- Duplicate stack top.
- Reverse whole stack.
- Swap the top two element of stack.
- If-else statement. All operation sign are also imported from Python.
- Conditional Loop.
- Seperates commands.
- Rounds away from 0.
- Rounds towards 0.
- Rounds as usual.
- Assign x to y. Leave y blank to assign nothing to x. If x doesn't exist, then you must contain type to initialize the variable. If x is ⎕, then output y to screen. If y is ⎕, input a string, parse by the x's type and assign to x. If y is ⍞, Raw input a string to x.
- If there is two U's, then jump back to 1st U when arrived second U, otherwise do nothing.
Extension A
From here, commands can be added via contributions. There are 64 to 256 commands per area.
Example
Hello, world!
--<-<<+[+[<+>--->->->-<<<]>]<<--.<++++++.<<-..<<.<+.>>.>>.<<<.+++.>>.>>-.<<<+.
Alternated
⎕ ← "Hello, world!"
A+B
a(int) ← ⎕ b(int) ← ⎕ ⎕ ← (a + b)
Truth Machine
t(int) ← ⎕ (t≠0)?-{⎕ ← t}- ⎕ ← 0
Infinitely output null characters
UwU