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.

!Мова

From Esolang
Jump to navigation Jump to search

!Мова (or !Language in English) is an esolang based on !Romanian created by User:Ractangle.

Syntax

Command Action
Пачаць Starts program
Стоп End program
Скажы (...) Prints the rest of the line next to it
Калі (...) інакш {...} Conditional
(<name>,<value>) Creates a variable
Паўтор (...) {...} Loop command
Увод Input

Comments are made in the pythonic way, kinda

Types

  • Літары - String
  • Лік - Interger/Float
  • Спісак - List

Examples

Hello, world!

Пачаць main
Скажы ("Hello, world!"+{пр})
#пр means lf (linefeed)
Стоп

A+B Problem

(a-Лік,Увод) (b-Лік,Увод)
Пачаць main
Скажы ("A:"+{a}+{пр})
Скажы ("B:"+{b}+{пр})
Скажы ("A+B:"+{a+b}+{пр})
Стоп

Truth-machine

(i-Лік,Увод)
Пачаць main
Калі (i=0) інакш {Скажы 0;Стоп}
Калі (i=1) інакш {Паўтор (1) {Скажы (1)}}