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.

Do not

From Esolang
Jump to navigation Jump to search

When you run code, it tells you "Do NOT:" and the code

Do NOT: program

(literally nothing don't put anything)

Don't eat program

eat

Quine

Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
Do NOT:
... (this would go forever)

Implementation

An implementation in the Common Lisp programming language shall be furnished:

(defun interpret-Do-not (code)
  "Interprets the piece of Do not source CODE and returns no value."
  (declare (type string code))
  (format T "~&Do NOT: ~a" code)
  (values))