There's actually a Japanese programming language (created around 2005) that is highly readable and natural - Nadesiko. Here's the first tutorial in Japanese, with executable snippets:
「こんにちは」と表示
Display 「Konnichiwa」
5に6を掛けて5を足して7で割って表示。
Multiply 5 by 6, then add 5, then divide by 7, then display it.
Sample program:
「身長は何センチですか」と尋ねる。
Ask "What is your height in cm?"
身長Mはそれ÷100
heightM is that divided by 100.
標準体重は22×身長M×身長M
optimalWeight is 22 x heightM x heightM.
「標準体重は、{標準体重}kgです。」と表示。
Display "Your optimal weight is {optimalWeight} kg."
Since it's basically natural language, it's a really nice language for introducing Japanese speakers to programming!
吾有一數。曰三。名之曰「甲」。
We have a number. It is 3. Its name is n.
為是「甲」遍。
Done n times:
吾有一言。曰「「問天地好在。」」。書之。
We have a phrase. It is "問天地好在". Write it.
云云。
End.
Equivalent JavaScript:
var n = 3;
for (var i = 0; i < n; i++) {
console.log("問天地好在。");
}
https://nadesi.com/v3/doc/index.php?%E3%83%81%E3%83%A5%E3%83...
Sample program: Since it's basically natural language, it's a really nice language for introducing Japanese speakers to programming!====
There's also this language, Wenyan-lang, that imitates classical Chinese: https://github.com/LingDong-/wenyan-lang Sample:
Wenyan:
Equivalent JavaScript: