!Мова

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 good'ol hashly way

Examples

Hello, world!

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

A+B Problem

Since !Мова doesn't have interger conversion. We will have to make variable a and b

(a,7) (b,3) (c,a+b)
Пачаць main
Скажы "A:" a {пр}
Скажы "B:" b {пр}
Скажы "Result:" c {пр}
Стоп

Truth-machine

This esolang doesn't have conversion to interger command

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