mr-hashemi / mr-hashemi
- вторник, 31 декабря 2019 г. в 00:19:06
Java
Mr. Hashemi Programming Language https://mr-hashemi.github.io/mr-hashemi/
Other languages are just too difficult. Ask Mr. Hashemi to do the job right for you!
Mr. Hashemi is a National programming language, a fork from SimpleLanguage. We hope Mr. Hashemi get enough attention to make bilions of tomans out of this project.
example:
bebin azinja() {
i = 0;
ta (i<1) bood {
bechap("adad bede");
n = adadBekhoon();
derakht(n);
}
}
bebin derakht(n){
i = 0;
matn = "";
ta (i <n) bood {
matn = matn + "*";
i = i + 1;
bechap(matn);
}
j = 0;
ta (j<4) bood {
bechap("*");
j = j+1;
}
}bebin before function name.azinja function.azinja and derakht are defined and function derakht is called inside azinja.The usual while (condition) {code} loop is defined as ta (shart) bood {code} .
The usual if (condition) {code} conditions definition is defined as age (shart) bood {code} .
Basically like java you can find the list here .