UnicodeLang
Jump to navigation
Jump to search
Welcome to UnicodeLang. You are free to add commands.
Rules
- No joke commands like "∆ solves the halting problem if the universe is in a black hole"
- Go in order of Unicode
- Make a new section every time you reach a new Unicode block.
- NEW RULE: Don't turn it into Unicoding by adding 5 bajillion conditional commands... 3 is quite enough.
- Have fun!
Commands
Plane 0
Basic Latin
U+0000 to U+001f are NOPS.
U+0020 ( ) is basically for style, and another NOP.
U+0021 (!) negates the next character.
U+0022 (") is the string type marker.
U+0023 (#) is the number type marker.
U+0024 ($) sets a variable called (next 4 symbols) to next symbols until %.
U+0025 (%) is a NOP, but very helpful.
U+0026 (&) is logical AND.
U+0027 (') is the character type marker.
U+0028 (() jumps to the corresponding ) if the previous value (after a %)
U+0029 ()) is a NOP, but needed with (.
U+002a (*) is the multiplication operator.
U+002b (+) does exactly what you think
U+002c (,) takes the variable string (in the form ????%, used for variables, now referred to as a varstring) and inputs a character into it and appends it to the variable.
U+002d (-) is also exactly what you think
U+002e (.) outputs a varstring or string (again, %-terminated)
U+002f (/) is division.
U+0030 to U+0039 (0 to 9) are numbers. On their own, they return themselves. But otherwise, multiply the previous value by 10 and add this number's value.
U+003a (:) is exponent (strange choice..)
U+003b (;) is root. By the way, ;2 would be square root.
U+003c (<) is less than.
U+003d (=) is equal.
U+003e (>) is greater than.
U+003f (?) is the boolean type marker.
U+0040 (@) takes the varstring's value-th character in the current line and sets the next variable to the ASCII value of it.
U+0041 (A) loops back the amount equivalent to the third topmost stack value of commands if the topmost stack value is not bigger than the second topmost stack value.
U+0042 (B) is a quantum superposition bit (its value is unknown until it is used)
U+0043 (C) creates a list of a defined amount of elements that contains numbers from 1 to x.
U+0044 (D) jumps to the next % if the top value on stack is 0.
U+0045 (E) jumps to the previous % if the top value on stack is 0.
U+0046 (F) makes the next number not print.
U+0047 (G) jumps to the last % if the top value on stack is 0.
Examples
Hello world
."Hello, world!"%
XKCD random number
.#4%
alt
.'52'%
Truth machine
G%1F0E%0