Langlang

From Esolang
Jump to navigation Jump to search

langlang is an esolang which just does what you tell it to do, similar to English.

note that there are alot of ways to do the same thing.

Examples

Hello World

say "Hello, World!" to the console.

golfed:

say "Hello, World!".

slightly more golfed:

say Hello, World!

Cat

get input and say it to the console.

Truth-Machine

get input, if it is 0 then say 0 to the console. If it is one however, say 1 to the console an infinite amount of times.

Golfed:

Run say 0, say 1 forever at the input index, 0-indexed.

R cat

You can find R cat on Hex

get input, reverse it and say it to the console.

calculator

ask for an equation and calculate the answer and print it to the console.

golfed:

calculate the input and say it.

halting problem solved

research the halting problem, solve it.