Anarchysm

From Esolang
Jump to navigation Jump to search

The Anarchysm language is based on anarchism, meaning that this language doesn't have rules.

How to use it

The program, of course, has complete free will and can do as it pleases. Programming in Anarchysm is mostly about encouraging it to do what you want.

Examples

Hello world

If the program wants, the next code will output "Hello, World!".

please, oh gracious program, output the text "Hello, World!".

Cat program

If the program wants, the next code will do the cat program.

copy the input to the output forever, please.

99 Bottles of beer on the wall

If the program wants, the next code will output the 99 Bottles of beer song.

please output the "99 bottles of beer" song.

An accurate real life simulator with nice graphics

If the program wants, the next code will simulate an accurate real life simulator with nice graphics.

can you please simulate a universe accurately with graphics? thanks.

Turing-completeness proof

Why this is Turing-complete? Because it can simulate a Turing machine (if it wants to).

Source code

The next code will simulate a Turing machine (If the program wants)

Can you simulate a turing machine, please? Thanks!

Warning

This is anarchysm! So, if the program wants to shut down your computer, or install various malware, it will.

Implementation

List of implementations:

  • 2b2t Minecraft server