



Non-English Programming Languages? 191
jjohnson asks: "As a coder I've been exposed to a lot of programming languages, big and small, and they're all in (pseudo) English, reflecting their invention and development in English speaking countries (or to gain traction in English speaking countries, such as Ruby). Of course, there's no reason a programming language couldn't be developed in Russian, using a cyrillic character set; or Chinese, using kanji; or Japanese, using hiragana. All three of those nations have big/advanced enough developer communities to justify the development of native-tongue programming languages, which have the obvious benefit of not requiring their developers to learn/code in a foreign language. What non-English programming languages exist, and how do they compare?"
Google (Score:4, Informative)
http://www.sciencedaily.com/encyclopedia/non_engl
Re:Google (Score:4, Informative)
Re:Google (Score:2)
Re:Google (Score:3, Insightful)
It's not wisdom, it's knowledge. Indexed and searchable, but still only knowledge. Wisdom is knowing which information is relevant to context at hand, AND what to do with this knowledge.
Re:Google (Score:2)
It's not wisdom, it's knowledge. Indexed and searchable, but still only knowledge. Wisdom is knowing which information is relevant to context at hand, AND what to do with this knowledge.
Well, if you want to get so nit picky about it, knowledge and information aren't interchangable either...
Re:Google (Score:2)
I'm often reminded of a comment by the instructor in a CompSci class I took back in the 60's, when there were still IBM punch cards easily on hand. He held up two of them, one with lots of holes punched out, and the other one without any holes. He commented that both contain exactly the same amount of "information". 960 bits of information, to be precise.
This did a lot to get across to the class just
lots o' dupes today (Score:2, Informative)
Many of them... (Score:4, Insightful)
When you mention lisp (Score:2)
I heard that car and cdr are are artifacts of machine code mnemomics, which I assume are English. But when you look at the functions, they are now cryptic and esoteric enough that they do not appear language specific. How many languages use cons as an abbreviation for the local equivalent of construct?
Re:When you mention lisp (Score:4, Informative)
CAR [wikipedia.org] (Contents of Address Register) and CDR [wikipedia.org] (Contents of Decrement Register) are effectively mnemonics for what we call nowadays (in ML or Haskell) the hd (head) and the tl (tail) of a list.
But, since in Latin head is caput and tail is cauda, you could say that CAR stands for CApite Regesta (literally, "what's written at the head") and CDR for CauDa Regesta ("what is written at the tail")! The Classicist purists among you will probably find that a better non-etymology would be "CApitis Recensio" and "CauDae Recensio", but who's worrying anyway. Then of course, you have that CONS [wikipedia.org] is also Latin for "CONStruo".
What do you want, universe? (Score:5, Interesting)
Klingon Var'aq [geocities.com].
Example:
Michael. [michael-forman.com]
brainfuck (Score:2, Funny)
Re:brainfuck (Score:2, Funny)
Translated Visual Basic (Score:3, Informative)
Ah, apparently the submitter hasn't heard of the horror that is (was, I hope) translated VBA. If you had a Dutch version of Office, your Visual Basic was Dutch as well. That is, the language itself. A FOR..NEXT loop was something like a VAN..NAAR loop (I have only seen this stuff, not coded in it).
I can't find the right Google keywords at the moment to find an example, but it was horrible, and of course totally incompatible with other versions...
Re:Translated Visual Basic (Score:3, Interesting)
That's not true - it's totally compatible, and in fact even translates itself. If you make your Excel document using a French version of Office, and then open the same document in an English version, all the code has miraculously become the standard VBA that we all know and (possibly) love.
Re:Translated Visual Basic (Score:2)
I could be have the spanish version of Office (urgh), found a nice macro in some web site, try to paste it in a document and found that it don't work because the keywords are all wrong.
Or worse, think I already know vbs and try to write a macro, then who of the alternate translations of "print" (or whatever uses vb to display text, to put a very basic example) i should use i
Re:Translated Visual Basic (Score:2)
Compatability is probably impossible in modern VB or any other language, for two reasons: first there is new syntax rules where the parser cannot use context to figure out if a word is a keyword or a variable name. Second is that everything is stored as text so that formatting by the programmer can be preserved, so there is no tokenized version that
None English programming languages? (Score:5, Informative)
The reason is pretty simple. English is probably the most commonly spoken language for business and science on the earth today. Before someone says that there are x billion Chinese yes they are but there are many dialects of Chinese and also of Hindi. Also a very large percentage of the Computer industry is centered in the US. I just do not think that there is any other language that has so many educated speakers. If you want to be an Airline pilot in any country in the world you must speak english. Yes a Russian airline pilot landing in Germany will speak to the towner in english. Or back in the 1800s French was the language of Science. For now it is English that is more or less the universal language.
Re:None English programming languages? (Score:4, Funny)
Yup, French was pretty universal, at least in the west, hence the phrase 'lingua franca' which practically means 'the language that you can use everywhere' but literally means 'the French language,' (in Latin, no less..). I think..
Anyway, speaking of French, I knew a guy in college who had programmed C in French. All you need to do is fiddle with where the keywords are defined in the compiler. So he was writing 'durant' and 'pour' loops, along with 'si' statements. Pretty whacky..
In French, though, 'C++' is 'Ç++'. Cool huh? :)
Re:None English programming languages? (Score:2, Informative)
Why would they do that? The letter "C" in French is pronounced much like the word "say" in English. The only point of the cedilla is to soften what would otherwise be a "hard c," such as in façade and François. "C" by itself already has a soft sound.
Re:None English programming languages? (Score:4, Funny)
Duh. Anyone knows that a C followed by a + in French takes on a hard sound unless mollified by a cedilla. Je suis sic+ et tired de votre nonsense.
Re:None English programming languages? (Score:2)
Have you ever listened to a brit, a southener, and a Carribean speaker have a conversation??
And they're all speaking english!
Re:None English programming languages? (Score:2)
Actually, the sources I've checked [reference.com] suggest that the term is Italian for (second and apparently original definition) "A mixture of Italian with Provençal, French, Spanish, Arabic, Greek, and Turkish, formerly spoken on the eastern Mediterranean coast.". The etymology I can find suggests that it's Italian for "language of the Franks" (by
Re:None English programming languages? (Score:5, Insightful)
Explained the developer: Well, just like an "allegro" or "pianissimo" is just the historical way music is annotated, "switch" and "if" are, for historical reasons, the way code is written.
Re:None English programming languages? (Score:2)
I'd never thought of it that way before, but it makes sense now (IAAM (I Am A Musician)). "Da Capo" to GOTO the "head" of the musical piece, etc.
I've always thought that music and mathematics were two universal languages; perhaps programming could be the third?
Someone else also mentioned that French used to be th
Re:None English programming languages? (Score:3, Interesting)
As others have pointed out, Frankish (not to be confused with French) was a lingua franca. For several centuries, if you wanted to study the sciences or mathematics, you did it in Arabic (from whence came our numerals). Swahili has served a similar "common language" role in Africa, and I'm sure there are others from the pre-Columbian Americas, Asia, and other regions.
Plenty of 'em (Score:3, Interesting)
There have been, and continue to be, lots of linguae francae.
Re:None English programming languages? (Score:2)
Another would be "love" (or "sex").
Unnecessary (Score:3, Interesting)
The 52 letters, 10 digits, and handful of special characters in ASCII are easy for them to both read and type on local keyboards, and keywords like "if" and "while" are already familiar to most Japanese older than about 10 or so.
I'm not saying they speak English well. In general, they don't. I'm saying that
Re:None English programming languages? (Score:3, Interesting)
Perhaps had Grace Hopper been German she would have coined the phrase 'Computerwanze' instead of 'Computer Bug'.
Re:None English programming languages? (Score:2)
Actually I've always read it was German, but your main point still stands.
Re:None English programming languages? (Score:3, Interesting)
Compare that to, say, Slavic languages -- you'd pretty much have to know all relevant "attributes" o
Re:None English programming languages? (Score:2)
How many educated people in India read, write, and speak English?
You have to play the persentages I would still say that English is the most common language on earth right now.
I am not sure about that writing systems used in China. I know that there are a couple used in Japan.
The main point is a programing language is sucsessful if it is popular. The more people that use it the more libraries that it will have the more useful it becomes. Mo
Re:None English programming languages? (Score:2)
May not speak it well, but you will be able to get across your general ideas. I attribute this not to anything the Americans have done, but mostly to the British attempted colonization of just about any flat dry land area over the previous two or three centuries.
Re:None English programming languages? (Score:3, Funny)
Re:None English programming languages? (Score:2)
The dismiss what the US has done in since WWII is really just anti-american bias. The US did a lot to rebuild many of the countries in the current EU.
Re:None English programming languages? (Score:2)
Re:None English programming languages? (Score:2)
Re:None English programming languages? (Score:2)
Re:None English programming languages? (Score:2)
English is such a bastardization of a language it shouldn't really be considered a "language." More of a compilation of languages. It continuously adds foreign words to itself, takes rules for characters in other alphabets and uses them, and then allows rap stars (or surfers) to come up with their own words which t
Re:None English programming languages? (Score:2)
What on earth makes the abstract concept of "electric brain" superior to the more descriptive and accurate phrase "computer", which literally describes what the device is actually doing (i.e. computing)? I don't believe or even pretend that my computer is or has a brain, and I know the meaning of the word compute, just as I understand that the "er" ending is a way of indicating that the object so-named performs the acti
Re:None English programming languages? (Score:2)
Fucking anime nerds [slashdot.org]. Diediedie.
Re:None English programming languages? (Score:3, Funny)
Fucking anime nerds [xmission.com]. Diediedie.
forgot the http in the link, fixed
Not too difficult... (Score:5, Funny)
Re:Not too difficult... (Score:3, Interesting)
Actually as a side project in college I wrote a Pascal to C compiler (wrote it in Pascal) as a hack to get my way through all those pesky C coding homework problems in a hurry. I was a long time Pascal coder and fairly new to C, didn't particularly care for the syntax of C. I would do the C homework in Pascal, run it rhrough my pre-processor to convert the Pascal versions of the homework to C, compile the output in TurboC and Voila! I was done in half the time.
I have hence learn
Re:Eubonicode (Score:2)
Bad Idea (Score:4, Insightful)
With the internet and the "global economy" it makes NO sence to have a localized language, unless your a proprietary developer that doesn't want you code to have the longest life it could
You may think I am just saying this because I speak english so of course I think english should be the most used, but I honestly can tell you I would be quite happy to learn another language as best I could if english weren't the primary communication language for programming (and most anything really). I would obviously be severely inconvienenced, but no more so that maybe people whose software I use now.
Maybe the best choice would be to have translatable keywords for a language, because the syntax really doesn't match english in all cases anyway. Of course translatable keywords would become a nightmare quickly due to the severe limitation on variable names etc, for instance how could you ever choose a word and be sure the language wouldn't end up need that for "if" in some language you never heard of?
As far as different character sets, this becomes a non-issue as all software moves towards unicode and UTF-8 (or equivalent) encoding. Once that happens you can for get about worring about character sets (and its happening fast).
Re:Bad Idea (Score:3, Insightful)
Have you ever seen Visual Basic for Applications in a localized version of MS Office? It really hurts the eye. If you have ever coded an advanced hello world programm in nearly any language, you know what a FOR loop looks like. If you look at VBA with translated keywords, you can't see anything but bla bla because of the translated keywords.
English is very helpful for keywords because you can understand english sentences no matter
Re:Bad Idea (Score:2)
What, precisely, constitutes an advanced "Hello, world" program???
Re:Bad Idea (Score:2)
Won't happen in our lifetime. If you're a non-native english writer, how many encoding tricks did you learn in your lifetime? in my everyday activities, I have to know at least:
I agree, and I speak Finnish as my mother tongue. (Score:2)
The trouble really is, since most CS related research has been released in English, any developers nee
Re:Bad Idea (Score:2)
LOGO (Score:2, Insightful)
So what if it was interpreted rather than compiled, and it was a very limited program made for children, it was a programming language, so stop laughing, all of you.
Re:LOGO (Score:2)
Avance 10
Tourne 90
It was a really good initiation to what programming is like...
Perl ... (Score:4, Funny)
How about K? (Score:2)
Re:Perl ... (Score:2)
Back in the 70's, I learned a language (whose name I've forgotten) whose syntax was entirely in the punctuation. You could use letters however you liked, with an interesting rule: Only upper-case letters were noticed by the compiler. Lower-case letters were stripped out (except inside quoted strings).
This had two interesting effects. One was that the language didn't n
Re:Perl ... (Score:3, Interesting)
Completely without letters? Slacker. How about a method for removing all those unsightly printable characters [cpan.org]?
And if that's too much for you, and you just want to smoothe o
Translated Hebrew Basic (Score:2, Interesting)
5 TO 1 = X FOR 10
"HELLO" PRINT 20
NEXT 30
(sorry for lack of right-alignment - I couldn't get this to work in the comment window. Just assume the lines above are right aligned).
substitute the regular keywords with the equivalent hebrew words in a hebrew font, and you get the idea.
Notice that unlike the keywords here which are left-to-right, the hebrew keywords
Re:Nope. (Score:2)
Re:Nope. (Score:2)
Seems to me that this just puts everything in (left to right) order of decreasing magnitude. Rather sensible compared the bi-polar European (hh:mm:ss dd.mm.yyyy) or haphazard American (hh:mm:ss mm/dd/yyyy) standards, IMHO.
In Russian (Score:3, Interesting)
Just the same I am generally having big problems with localized Excel -- I once saw my mothers excel worksheet (Russian version) and could not figure out half of the formulas!
relevant paper (Score:2)
[ how ironic that
Rob Pike & Ken Thompson
<a href="http://plan9.bell-labs.com/sys/doc/utf.html " >http://plan9.bell-labs.com/sys/doc/utf.html</a>
Re:relevant paper (Score:2)
it's ironic because the topic is about non english languages and the entity refs say the equivalent of "Hello World" in two non-english languages using utf-8.
Re:relevant paper (Score:2)
C ? (Score:5, Interesting)
#define if hvis
#define do gjør
#define while sålenge
#define return returner
#define void ingenting
#define char karakter
#define const konstant
typedef int tall;
tall lengde(konstant karakter *p){
tall i = 0;
sålenge(*p){
i++;
p++;
}
returner i;
}
Re:C ? (Score:2)
Re:C ? (Score:2)
Actually ... (Score:2)
Would this really work?
APL (Score:2)
http://www.acm.org/sigapl/
Re:APL (Score:2)
Re:APL (Score:2)
Care to try programming in C with it?
I didn't think so.
Saw a Finnish one in the 1980's (Score:2)
English is the language of computers (Score:2)
Just like Italian is the language used in music notation, Latin in medical and botanical terms, English is the de facto language of computers.
Java? (Score:2)
For those masochistic enough, Java supports Unicode for symbol names. Imagine a project that has been outsourced at various times to Russia, India, Mexico, and China, whose developers decided to make full use of the Java Language Specification (not using features is wasteful, right?).
Latin (Score:2)
Perl in Latin [monash.edu.au]
I guess it was intended as a toy but it could be used as a model for other languages.
Small problem (Score:2)
Accent marks.
Lexical Analyzer (Score:2)
I saw someone else say this, but the score was 0!!! I hope that wasn't uninformed moderation. :\ Anyway...
... you can change most compilers to accept any variation of strings as the tokens by changing the lexer! If you would like C in Finnish, it's a very strait forward task once you settle on words that you want to use. Even change the file format from ASCII to UTF-8! It's just bytes that go into the lexer and then everything is a token.
Writting a wholey new language doesn't make much sense if you
APL (Score:2)
Re:APL (Score:2)
Programming in Latin (Score:2)
French COBOL (Score:2)
AppleScript and Perl (Score:2)
AppleScript had the concept of "dialects" which were AppleScript terms written in different languages (they had French, Japanese, Japanese (romanji), German, and Italian working). It was intriguing, I remember actually submitting an AppleScript in French for an assignment in French class in high school circa 1995.
English:
the first character of every word whose style is bold
French:
le premier caractère de tous les mots dont style est gras
Above in PDF [utexas.edu]
Sample of an AppleScript in English and Jap [fpu.ac.jp]
English: de facto standard (Score:2, Insightful)
While in college, I had to work with graduate students from India and China. We couldn't understand each other all the time, but we could read each other's code. I'm now in industry, but my company does work all over the world. It's pretty normal in my industry to
TI-89 calculators (Score:2)
Usually, the interface and all commands are in English, but TI offers language packs for some other languages. I once loaded the german language pack and realized that I'd have to rewrite all programs because it expected the commands to be in German.
I am not sure whether this qualifies as a programming language because it's interpreted and not compiled.
Programming in a Mother Tongue (Score:3, Informative)
If I remember correctly, Mitarou Namiki [tuat.ac.jp] wrote a paper exploring this. The reference seems to be:
See his 1991 papers listing [tuat.ac.jp] and his lab's website [tuat.ac.jp].
I talked with him about it ten years ago. I have a copy of the paper or maybe a similar one somewhere, but it's in japanese and I never allocated the hours I need to read it.
Language controls how we think. (Score:2)
Some mathematicians are very interested in one native language here in BC (almost dead). Apparently, they have two different number systems, and mathematicians are interested in what's different in the concepts of the two, and what it may be able to teach them.
Perligata (Score:4, Interesting)
How does Latin Perl [monash.edu.au] sound to you?
And you too can do this ! [cpan.org]
Actually, Perligata is more serious than it may seem.
On one level, it uses Latin -- which packs much of the meaning of sentences into word endings rather than word order -- as a case study for a programming language that doesn't enforce a particular mandatory word order on language statements. That is, in English, "boy chases dog" has a much different meaning than "dog chases boy", but in Latin you could write it either way because the inflection on the words controls the meaning. Likewise, in most programming languages, x = y has a different meaning than y = x, but if you had a language that was agnostic about "sentence order" then you could write it either way. Using Latin allowed him to demonstrate this in practice.
Why would anyone care? Well, when Perligata was written, Perl6 was just starting to be considered, and Damian was wondering what core concepts had to be maintained and which were open to revision. Among the assumptions he wanted to consider was word order, and Perligata is a case study in how you can throw it out the window without breaking anything.
Coming down to Earth, this technique could have other applications as well. For example, the techniques used in Perligata could be applied in a source filter to convert VBScript to Perl [mail-archive.com] at run time. There are issues to consider [mail-archive.com], of course, but it could work, if you wanted it badly enough. To cite a real example, one of the core plans for Perl6 is that it should be able to run existing Perl5 code, and the techniques demonstrated in Perligata will probably be used to make that possible.
Likewise, the object framework for Perl 6 [perl.com] is very flexible, allowing people to hand-roll almost any style of OO programming they are comfortable with. If you pair this with things like the built in Unicode support (and, allegedly, no obstacles to using Unicode symbols directly in Perl6 code for things like variables, functions, overridden operators, etc), there's no reason why people couldn't prepare "localized" versions of Perl6. It'll be interesting to see if this ends up happening, but I wouldn't be surprised at all if
Unlambda (Score:2)
Clickez ici. [eleves.ens.fr] It's based on S,K,I combinators and "abstraction elimination."
C (Score:2)
Ampere WS1 (Score:2)
An APL laptop from the bizarro world. I have just spent as many as several minutes on Google trying to find some evidence that this weird thing I vaguely remembered from the distant past actually exists. I've seen one, even tried to use it. Didn't get anywhere. I'm gonna chase that puppy up and learn me some APL. Oh yeah. Welcome to so many wasted weekends and sleepless nights. Happy days.
The Welsh Basic (Score:2)
Owing to growing up in Wales (that's the bit sticking out to the left of England, for Americans; and certainly not 'Wales, England'), I did my first Computer Studies courses there in the late 70s/early 80s. Around that time there was a very strong push for equality of Welsh and English, so much so that a Welsh version of BASIC, called BASEG was produced. Sadly, the passage of time seems to have wiped it from the web (though a Google Groups search [google.com] for 'welsh basic programming' throws up some references).
W
old basics in french (Score:2)
Those were extremely annoying to code with, since you had to guess what could be the translation for "gosub" or "on error resume next". (or nag the owner/school for a basic manual they usually didn't know existed.)
It's weird though. Nowadays, programmers compete for jobs on a global scale. It seems backward to start using localized programming languages usable only by a small fraction of the global workf
Already done a long time ago; see Algol 68 (Score:2)
knows that the language as defined there consists of the
set of production trees of the grammar of the language.
Each production tree needs to be represented in a
representation language, which is the form we usually
seen when we think about programming languages.
However, back then machines had such wildly differing
wordsizes and character sets that this distinction was
necessary. After publication of the Revised Report, with its
included representation meant pub
Re:Swedish Chef BASIC - optimized! (Score:3, Interesting)
20 GOTO 10
See - 1/3 reduction in code!
Re:Swedish Chef BASIC - reoptimized! (Score:2)
Another 50% reduction!
Re:Swedish Chef BASIC - optimized! (Score:2)
You might even say it's BORKalicious!
BORK!BORK!
Re:Swedish Chef BASIC - optimized! (Score:4, Funny)
10 DRUCKENJORGESPORGE "BORK!"
20 GEHENJASUREj00BECHA 10
Re:Swedish Chef BASIC - optimized! (Score:2)
10 SKRIV "BORK!"
20 GÅTILL 20
Something like that. I guess a single Aring isn't quite as exotic as something using Japanese glyphs would be.
Re:Swedish Chef BASIC - optimized! (Score:2)