/Numbairy

Numbairy, a new simple programming language made for fun which only consists and work for numbers.

Primary LanguagePythonMIT LicenseMIT

Copyright Black Thunder (BT)

Numbairy:

Numbairy is a new simple programming language made for fun which only consists and work for numbers.
Version : 1.1

Description:

"Numbairy" is a language consisting of numbers only. It is tough to use.

Commands:

--} 000  :  exit
--} 001  :  help
--} 002  :  version
--} 003  :  copyright
--} 004  :  clear
--} 123  :  sum
--} 111  :  subtraction
--} 135  :  multiplication
--} 975  :  division
--} 963  :  floor division
--} 010  :  modulus
--} 789  :  power
--}  =   :  used for seperation`
--}  :>  :  bracket (
--}  <:  :  bracket )
--}  >>  :  comment

Usage:

Open Numbairy.exe(The terminal).
Note:

--} numbers should be seperated by `
--} there should be equal(=) sign between each numbers and commands
--} numbers without ` will result in error
--} spaces will be dismissed
--} everything after comment (>>) will be dismissed

Examples:

--} `1`=123=`2`  >> returns 3
--} `2`=123=`2`  >> returns 4
--} :>=:>=`1`=123=`2`=<:=111=`2`=<:=123=`4`  >> returns 5 because ((1+2)-2)+4 = 5
--} :>=`2`=123=`2`=<:=135=`3`  >> returns 12 because (2+2)*3 = 12

Examples with comparison:

           Numbairy                 |         Real
`1`=123=`2`                         |    1+2
`5`=111=`3`                         |    5-3
`5`=135=`2`                         |    5*2
`2`=789=`2`                         |    2^2
`2`=975=`2`                         |    2/2
`2`=963=`2`                         |    2//2
`3`=010=`2`                         |    3%2
:>=`2`=<:                           |    (2)
:>=`1`=123=`2`=<:                   |    (1+2)
:>=`1`=111=`2`=<:                   |    (1-2)
:>=:>=`1`=123=`2`=<:=111=`3`=<:     |    ((1+2)-3)
:>=:>=`10`=975=`2`=<:=123=`1`=<:    |    ((10/2)+1)

Commands name:

Addition
Subtraction
Multiplication
Division
Floor Division
X^power  (Power of a number X)
Modulus

Screenshot of Terminal:


First Release!
Please star and watch this repo.
For bugs or features, please contact me on this repo.

Upcoming command: variables