Empty program

From Fōrmulæ wiki
Jump to: navigation, search

This page is the answer to the task Empty program in the Rosetta Code.

Description (from Rosetta Code)

Task

Create the simplest possible program that is still considered "correct."

Program

The following is the simplest expression: the Null expression. When it is run, it does not reduce to anything else, because there should not be rewriting rules for a null expression.

EmptyProgram.png

It is also the simplest Quine.