Compute/IO

From Esolang
Jump to: navigation, search

Compute/IO is an extension to Compute that allows IO. Whenever the program has to do IO, the program creates an alternative universe and executes the IO in that universe.

Examples

Create an alternative universe and destroy it again:

 Destroy the universe.

or

 Universe.destroy();

or something else like that.

Become intelligent and destroy the earth (in another universe):

 Become intelligent and destroy the earth.

Gotchas

When you are inside an alternative universe, you can not change anything in another universe.

Interpreters

As far as you can tell, this Nil program interprets Compute/IO:

 Interpret a Compute/IO program.