NoCode

From Esolang
Jump to navigation Jump to search

NoCode is an esoteric programming language written by User:Dominicentek. It doesn't have any source code.

How it works

This programming language has no syntax. It depends on the interpreter of what program it wants to run.
It can choose between those following programs:

Programs

Hello World

Prints out the phrase "Hello, World!"

Truth Machine

Takes input from the user. If it's a 0, it prints 0 and terminates. If it's a 1, it prints 1 indefinitely

Cat Program

Takes input from the user and prints it out

Fizz Buzz

Works like a counter. It outputs numbers from 1 to 100. However, if a number is divisible by 3, it gets replaced with "Fizz". If it's divisible by 5, it gets replaced with "Buzz", if it's divisible by both 3 and 5 (15), its replaced with "FizzBuzz"

99 Bottles of Beer

It prints the lyrics to the song 99 Bottles of Beer

Factorial

Takes input from the user as a number. That number is then multiplied by every possible non-decimal numbers less than the number and bigger than 0.

Quine

Prints the program source code. Since there is no source code, this program does nothing.

Infinite counter

Counts up indefinitely with step size of 1

Interpreter

Download

Arguments

  • --hello-world (-h) - Executes Hello World
  • --truth-machine (-t) - Executes Truth Machine
  • --cat-program (-c) - Executes Cat Program
  • --fizz-buzz (-fb) - Executes Fizz Buzz
  • --99-bottles-of-beer (-b) - Executes 99 Bottles of Beer
  • --factorial (-f) - Executes Factorial
  • --quine (-q) - Executes Quine
  • --infinite-counter (-i) - Executes Infinite counter