Programming in a language other than English

I discussed Twitter about adding Ruby's ability to use λ instead of lambda and, more generally, about Unicode support. I realized that all the languages ​​that I know only work with English reserved words and basically accept the us-en keyboard (for example, using $ instead of £ or ¥). Although some languages ​​are now starting to support Unicode in string functions, there are so many conventions based on a character set in English or Latin. For example, Ruby requires class names to start with an uppercase letter, but upper and lower case are not glyphs in most scripts.

So the question is: "Are there programming languages ​​that work on a large set of languages ​​and how do they do it?"

+7
source share
4 answers

You can see ant APL , for example.

+2
source

Some languages ​​define very simple syntaxes and do little or no work. For example, LISP and languages ​​that function like them (Tcl, etc.), Where is all the "arg1 ... argn command". These languages, since there are no keywords as such, are agnostics of the language.

For example, in Tcl, you can rename various commands to use whatever language you want, and everything should work fine.

+2
source

Python 3 is completely Unicode-based, so identifiers can be built from any Unicode letters / numbers, etc.

It is still not recommended to use characters for function names that programmers from other countries do not have easy access to their keyboards.

+1
source

In the 3.0.0 release in Parrot VM, they added support for the language, Ωη;) XD , which is called using unicode, which caused all kinds of breakdowns for the virtual machine. Perhaps worth a look at.

0
source

All Articles