We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

localhost

From Esolang
Jump to navigation Jump to search

localhost is a language based on English but it's code.

Examples

Print "Hello World!"

say("Hello World!")

Truth machine

executeMachine(normal, ifStdinEqualTo(1).SayInfinitely(1), ifStdinEqualTo(0).Say(0))

Quine

say(this.Code)

Computiational class

Turing complete, since it can simulate a two register Minsky machine:

executeMachine(minsky, this.Registers(2))

Computability

Uncomputable, since it can solve the halting problem:

solveProblem(halting)