Easy
From Esolang
Easy is an esoteric programming language based on Brainfuck. Unlike most programming languages, all actual code-writing is done at runtime, hence the author's joke that "it is extremely easy to write programs in Easy".
The instructions are mostly the same as those in Brainfuck (actually, input and output are switched), but with an added instruction, :, which lets you add code to the end of the program. The : itself cannot be added to a program, and there is always only one, at the end of the program.
: supplies the only way to end a program: if you type anything that is not a valid Brainfuck instruction (: is not considered valid), the program ends immediately.
The input is the program, which contains both instructions and data interwined. When executing, the interpreter reads one symbol or whole block from the input and executes it. . reads another symbol and puts it into the current cell. , writes a symbol from the current cell to the output.
Contents |
[edit] Examples
[edit] Hello world example
[edit] The same as in Brainfuck
>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-] <.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.
Note that, of course, this is not actual "source code" but rather the input to the program which will produce the output "Hello World!"
[edit] Another way
+[.,]Hello, world!
Here the + and [.,] are read and starts to execute. On each iteration in the loop, . reads another symbol (H and ahead), then , prints it. When the loop is finished (e.g. EOF is read), it tries to execute the next instruction. But since it has already exhausted the input, there is no more instructions, and the program terminates.
[edit] A third way
.H,.e,.l,.l,.o,.,,.w,.o,.r,.l,.d,.!,
Similar to the previous, but without a loop. Input needs to be provided after each . if executed at the top level.
[edit] Quine
+[->.[,>.]<[<]>[,>]]+[->.[,>.]<[<]>[,>]]
(by User:MizardX)

