Welcome to Esolang, the esoteric programming languages wiki!

From Esolang
Jump to navigation Jump to search

Brief Intro

Welcome to Esolang, the esoteric programming languages wiki! is an esolang, WtE,teplw! for short.

Operations

There are 8 words you can use for programming:

  • Welcome: Print "Hello, World!" and a new line
  • to: Print the website of Esolang Wiki, a.k.a. https://esolangs.org/wiki/Main_Page and a new line
  • Esolang: Print the name of Esolang Wiki and a new line.(Just "Esolang Wiki")
  • the: Print the code and a new line.
  • esoteric: Print how many words there are in the code and a new line.
  • programming: Print how many words there are in the code in ASCII.CAUTION: If you want to use this command, you should make sure your code is longer than 31 words.
  • languages: Print the code in backward order and a new line.
  • wiki: NOP

The code needs to seperate the words with a space.

Example

Hello World

Welcome

Quine

the

Interpreters

Python

import sys
code=sys.stdin.read()
reverselist=list(code)
reverselist.reverse()
reversecode=''.join(reverselist)
for i in code.split():
    if i=='Welcome':
        print('Hello World!')
    if i=='to':
        print('https://esolangs.org/wiki/Main_Page')
    if i=='Esolang':
        print('Esolang Wiki')
    if i=='the':
        print(code)
    if i=='esoteric':
        print(len(code.split()))
    if i=='programming':
        print(chr(len(code.split())),end='')
    if i=='languages':
        print(reversecode)

External Resources