User:Pifrited/NameNeeded
Jump to navigation
Jump to search
NameNeeded is an esolang.
Introduce
─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼
A command in NameNeeded is:
head(any) name(num/str/cat/lis) [code(command/fun)] input(any) end
Codes run same when you rotate/flip it.
Codes run rotational if it meet “─┘”.
Example:
─┐┌┬┬┬┬┬┐ ┌┬┬┬┬┬ │ └┴┘││││└─┘├┼┤└┘ └┐ ├┤├┤ └┴┘ ┌┤ └┘└┘ ├┘ ├─┬┐ ├─┴┘ ├─┬┐ ├─┴┘ └┐ │ ┌┘ ├┬┐ ├┼┤ ├┴┘ ├┐ ├┘
Both equal to:
print(6);
Head
┐ ┌ └─┘ num ┬─┬ └─┘ str ┬┐┌ └┴┘ var ┐┌┬ └┴┘ fun ┬┬┬ └┴┘ lis
Name
num type
Binary:
┬┬ - start ├┤ - 1 ││ - 0 ││ - 0 ├┤ - 1 ├┤ - 1 └┘ - end (total: 25)
Or also base 2n:
┬┬┬ - start ├┤│ - 1 │││ - 0 │├┤ - 2 ├┼┤ - 3 ├┤│ - 1 └┴┘ - end (total: 301)
str type
Same as num type, but will translate to ASCII/Unicode(UTF-8).
┬┬┬┬┬┬┬┬┬┬┬┬ ││├┤││││├┤├┤ ││││││││├┤││ ││├┤├┤├┤├┤││ ├┤││├┤├┤├┤││ ││││││││││││ ││├┤├┤├┤├┤├┤ ├┤├┤├┤├┤├┤││ ││││││││││││ └┘└┘└┘└┘└┘└┘ “H e l l o !”(ASCII)
cat type
Use after fun head.
CatID + InCatID (See Defined functions)
─┐┌┬┬┬┬┬ └┴┘││││ ├┤├┤ └┘└┘ ^ ^CatID:2 fun ^InCatID:1(print)
lis type
More than one name:
┬┬┬─┬─┬┬┬┬┬┬┬┬┬┬┬┬┬─┐ ┌┬┬ └┴┘ └─┘││├┤││││├┤├┤ └─┘││ ││││││││├┤││ ├┤ ││├┤├┤├┤├┤││ ├┤ ├┤││├┤├┤├┤││ └┘ ││││││││││││ ││├┤├┤├┤├┤├┤ ├┤├┤├┤├┤├┤││ ││││││││││││ └┘└┘└┘└┘└┘└┘ “H e l l o !” 6 Note:must put “─” between items
Code
fun
Just a function.
command
If:
┌─(true code)── ─(condition)─┤ └─(false code)── (When no condition, run true code)
Yes, just if.
Input
Any num/str/lis/var.
End
┬┬ └┘
Defined functions
Examples
Hello, world!
─┐┌┬┬┬┬┬┬─┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬ └┴┘││││└─┘││├┤││││├┤││││├┤├┤││││││├┤└┘ ├┤├┤ ││││││││├┤││││││├┤├┤││││││ └┘└┘ ││├┤├┤├┤├┤├┤││├┤├┤││├┤├┤││ ├┤││├┤├┤├┤├┤││││├┤││├┤││││ ││││││││││││││├┤││├┤││││││ ││├┤├┤├┤├┤├┤││├┤├┤├┤├┤├┤├┤ ├┤├┤├┤├┤├┤││││├┤├┤├┤├┤├┤││ ││││││││││││││││││││││││││ └┘└┘└┘└┘└┘└┘└┘└┘└┘└┘└┘└┘└┘