Meetesh-Saini / biro

biro language
GNU Affero General Public License v3.0
3 stars 0 forks source link

biro

biro (pronounced as B-row and mispelling of bro) is an esoteric programming language.

Principle of biro: Don't complicate things

Rules

Features

Equivalent of Biro in other languages

Biro Python C++
loop while True while(true)
is condition ? if condition : if (condition)
donate return return
proceed continue continue
leave break break
attempt try try
arrest except catch
equals == ==
more > >
less < <
and and &&
or or |\
true True true
false False false
num float float
str str std::string
bool bool bool

How your biro works?

+-------------+                  +------------+
|             |   preprocessor   |            |
|    biro     +----------------->|  pirocode  |
|             |                  |            |
+-------------+                  +-----+------+
                                       |
                                       |  transpile
                                       |
                                       |
                                       v
 +--------------+                +------------+
 |              |    compile     |            |
 |  executable  |<---------------+    C++     |
 |   birocode   |                |            |
 |              |                +------------+
 +--------------+