Nil
The world's first nihilistic programming language. It parses commands of any complexity, and then ignores them.
Turing complete: no · ●○○ easy · esolangs.org
Tested with 4 known programs · Test method
Run it
The idea
Every text is a Nil program and every Nil program does nothing. In the wiki's terms it is the constant language whose output is always the empty string. The specification plays the joke straight. The Unix command true is one of the most widely deployed Nil interpreters, and the empty program is the shortest Nil quine.
The machine
There is none. A program is read and nothing happens. There is no input, no output and no state, and every program stops at once.
Example
The specification also gives a Nil interpreter written in Nil, five lines of verse about a Flit gun.
The specification also gives a Nil interpreter written in Nil, five lines of verse about a Flit gun. It runs any Nil program correctly, since it does nothing.
Further
Ideas it shows
See also
No-code esolang
Write your own in Run Convert a program from Nil
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: nil.
Command line
shib run nil -e 'I wandered lonely as a cloud.'shib manual nilSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/nil.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org