8 ms·
Sanskrit and Lisp (2011)
- sravfeyn 13y agoHere's the Google Cache http://webcache.googleusercontent.com/search?q=cache:XaBQEvNdzwEJ:ifacethoughts.net/2011/03/15/sanskrit-and-lisp/+&cd=1&hl=en&ct=clnk&gl=in&client=ubuntu http://webcache.googleusercontent.com/search?q=cache:XaBQEvN...
- contingencies 13y agoSanskrit is a festidious language that agglutinates huge numbers of tenses and forms in to a festival complexity that is a classical feature of the Indo-European language family. It might be great if you feel like being really damn specific, but it might also suck. It depends what you want to do with it. I would posit that Sanskrit is more like assembly language (for its unique combination of specificity, table-thumping traditionalism, and verbosity). On the other hand, classical Chinese, which presents a roughly similar vintage literature, is a more fluid and combinatory system for type-indistinct component thoughts ... sort of like an extreme version of perl.
- kaka189 13y agoSanskrit isn't verbose. I haven't seen any English translation that is very much lesser in size compared to original sanskrit text. I have to agree with author's comparison to lisp, very powerful ,very systematic (in fact the alphabets are arranged in the order in which tongue and palate interact to make that sound http://www.sanskritsounds.com/about-sanskrit/46/index.html http://www.sanskritsounds.com/about-sanskrit/46/index.html) but lacks adoption of masses.
- contingencies 13y agoSanskrit isn't verbose. I haven't seen any English translation... Sure! Long multi-phoneme words with all the tense built in... the wordcount will be low. I meant semantically verbose, roughly: "average minimum unit of well-formed expressible information". In this facet, I found Sanskrit far worse than even Latin.
- ajuc 13y agoI recently noticed similar diffrence between Polish and English. Usually Polish text is shorter in written form (less words, and often less letters), but English text is shorter when spoken (less syllables). Polish has also a little more redundancy because word endings must agree. It almost seems like Polish was optimized for reading/writing and correctness, and English for talking and speed.
- contingencies 13y agoIt's late here so I'm not going to research this before responding. It is my impression from some previous reading that the closest European language to Sanskrit is German, with certain words such as luft (Lufthansa, Luftwaffe, etc.) being directly traceable to a common ancestor. With all of the Prussian-style border-shifting in the Germano-Polic region over time (the German History museum in Berlin is absolutely amazing illustrating it with maps!), I wonder if perhaps Polish shares some of that - for wont of a more informed phrase - 'old school Indo-European' quality? The answer is probably on Wikipedia, which also distinguishes betwen many types of Polish: https://upload.wikimedia.org/wikipedia/commons/1/15/Languages_of_CE_Europe-3.PNG https://upload.wikimedia.org/wikipedia/commons/1/15/Language...
- ajuc 13y agoStrange, I think Polish share much more with Sanskrit than German. Not that it makes it somehow better or worse, just my opinion. For example we have flexion system working smilary to that in sanskrit (you glue up pre and postfixes to the word to change the tense, mark the gender of the actor (mandatory), or depending on the case of the noun). German has sth similar only in a few places (past tense), and in concatenating nouns together. Most of the time word order and "keywords" decides on the tense, like in English. Polish have 7 cases (1 rarely used), sanskrit has 8 (1 rarely used), German has 4 IIRC. Polish only recently (a few centuries ago) lost dual plurality that exists in sanskrit, and we still have relicts of that in many places, like proverbs, names for body parts, the way nouns change with numerals, etc. And these all things aren't specific to Polish - almost all Slavic languages share them. I've also heard Lithuanians say their language are even more similar to sanskrit.
- arnsholt 13y agoYour view of Sanskrit is probably skewed by a few things. First of all, nearly the entire corpus of Sanskrit literature was written after (and in many cases long, long after) it was used as a day-to-day language. It was probably already losing ground at the time of Panini, roughly 500 BCE. Second, what Sanskrit literature we have is highly artistic and edited literary text, replete with hard-to-get cultural references, not ordinary spoken language. Finally, it's probably just plain different from whatever language you're used to, not intrinsically harder or more complicated.
- contingencies 13y agoIMHO Sanskrit is both harder and more complicated than Latin, which I spent years on before coming to a dalliance with Sanskrit and Pali. Then again, other than Latin (which I aced), I've never had much success with Indo-Europeans (except basic French, through drink).
- gngeal 13y agoI've never had much success with Indo-Europeans Did you compose this text with the help of Google Translate, then?
- anuraj 13y agoNot really, there is no evidence of Sanskrit being used for conversation other than in learned circles. Most of the Upanishads, Aranyakas and Puranas and the last two vedas were written after 500 BC. Kalidasa - arguably the greatest litterateur in Sanskrit lived after 500 BC. Bhasa - the playwright lived after 200BC. Most of the Sanskrit oeuvre has been produced after 1st AD and prolific works continued till 16th century.
- pattisapu 13y agoMore of one's working knowledge is loaded into the specifics of vocabulary in classical Chinese, whereas more of one's working knowledge is loaded into grammar in classical Sanskrit. At least it seems so at first. Wrestling with the complexities of compounds in Sanskrit and syntax in Chinese blurs this distinction though. The animating morphologies transcend the vocabulary/grammar distinction in highly modular languages. At bottom both Chinese and Sanskrit, like many other classical languages (Latin, Greek, Arabic), are quite modular. While Chinese's phanopoetic menagerie may not at first glance appear as RISC-y as Sanskrit's lexis (comparing radicals to roots may not be fair anyway), basically it's rare in both languages to stumble across a word that is just a black box, whose etymology you can't pull apart so as to guess what it means. Rarer, at least, than modern languages, which seem more atomized and dictionary dependent, as opposed to the classical languages, which by their systematic modularity were able to function as universalist languages of empire.
- Jd 13y agoI know both Classical Chinese and Sanskrit and have no idea what you are talking about. "It's rare in both languages to stumble across a word that is just a black box, whose etymology you can't pull apart so as to guess what it means." Err, yeah I guess you can guess from the morpheme of a Chinese character that a particular character is a type of tree or has something to do with trees, but that's about it. Similarly with Sanskrit, because of sandhi rules often times you can't even figure out what the word is in advance, and I'm not sure how you are suppose to "guess" the meaning absent looking it up in Monier Williams (unless you are guessing backwards from other Indo-European languages, in which case your potential guessable vocabulary will be quite small).
- contingencies 13y agoGlad my post survived the glance of a pro! (PS. Saw your evr.gr: please send me an email, I am working on ~LETS stuff tangentially and would like to share info.)
- pattisapu 13y agoJd, how do the sandhi rules keep you from finding out what the word is? They make it easier to find out. The rules are just that -- rules -- that bring order out of the chaos. As to how you guess, yes, you infer from the etymology. The fact that it's guessing doesn't mean it's easy, or that guessing gives you as much information as actually looking it up, parsing it, etc.
- deleted 13y ago[deleted]
- eksith 13y agoVery apt comparison considering I have the same problem with Lisp (and Erlang) as Sanskrit https://news.ycombinator.com/item?id=5452038 https://news.ycombinator.com/item?id=5452038
- lcedp 13y ago> Here is what I came up with during our discussion... You are looking for reasons where there is none. * Why Brazil speaks Portuguese? * Why do we speak English now? * Why do people in Ukraine speak Russian instead of Ukrainian? Not because Russian is more expressive. But because they were killed for doing otherwise. It's not about language features, it's about politics, wars, colonization, economics.
- Sven7 13y agoWhen kids ask why, parents are at their creative best. The difference these days, is they blog about it.
- temp453463343 13y agoPeople primarily speak Russian in Ukraine not because they were afraid of being killed but because it was the lingua franca of the region and it was taught in Soviet schools. There was a lot less literature available in Ukrainian because Ukrainian was a language spoken primarily by serfs (educated people spoke a mixture of French and Russian).
- lcedp 13y agoMaya people in America primarily speak Spanish not because they were afraid of being killed but because it was the lingua franca of the region. Oh, wait...!
- vadman 13y agoSources? I'm really interested to learn who has been killed for speaking Ukrainian.
- lcedp 13y agoJust overall scope of history: [1] https://en.wikipedia.org/wiki/Chronology_of_Ukrainian_language_bans https://en.wikipedia.org/wiki/Chronology_of_Ukrainian_langua... [2] https://www.youtube.com/watch?v=CDeujOxl3jc https://www.youtube.com/watch?v=CDeujOxl3jc (they are talking about this in the video: [3] https://en.wikipedia.org/wiki/Bykivnia https://en.wikipedia.org/wiki/Bykivnia ) [4] https://en.wikipedia.org/wiki/Vinnytsia_massacre https://en.wikipedia.org/wiki/Vinnytsia_massacre As the policies of Ukrainisation were halted (1931) and replaced by massive Russification approximately four-fifths of the Ukrainian cultural elite, intellectuals, writers, artists and clergy, had been "eliminated", executed or imprisoned, in the following decade. The term was coined for this - Executed renaissance. Many would argue that Holodomor (1932-33, 2-10 millions of Ukrainian speaking people died) was a part of Russification campaign.
- redofrac 13y agoMuch like Latin, a good deal of the regularity is because Sanskrit is only a written language.
- statictype 13y agoNot sure what you mean but I believe Sanskrit was a spoken language, written down in each region's local script before being formalized in Devanagari.
- joiguru 13y agoSanskrit was not a natural spoken language. I was created as a language for worship. Although Sanskrit was spoken among the educated circles in India, but not in a natural setting. The example that our language teacher gave us, was of couple of students speaking French (say) who are learning it as a foreign language.
- anuraj 13y agoSanskrit was only used for scholarly conversation between learned people - Ordinary folks always conversed in Prakrits (unrefined tongues)
- anuraj 13y agoAnd there is no formalization of Sanskrit in Devanagari - We (Keralites) still use Grantha script to write Sanskrit - And a lot of late Sanskrit works have their origin in Kerala. Infact Malayalm script was invented to write Sanskrit with ease on palm leaves.
- gngeal 13y agoI think what he means is that what people actually spoke every day was as different from our bookish notions of what Sanskrit is as the language of a poor farmer or a slave in Ancient Rome was from the writings of Cicero. You really can't equate the two things.
- yati 13y agoI completely agree here. The moment common people start speaking a language - any language - there will be irregularities and native elements introduced into the spoken variant. This will especially be true if the language is as tough to learn as Sanskrit or even Classical Chinese and Latin.
- mathattack 13y agoOne could take the analogy further - for the same reason people choose C versus LISP. :-) Sometimes structure isn't the best (or quickest) solution for the problem at hand.
- Jd 13y agoSo there are several things in this article that are flat out wrong: (1) "No wonder so many languages are derived from it." Not sure what he is referring to exactly, but Sanskrit itself is a descendent of proto Indo-European, from which many other Western languages were derived. So it is a near cousin to the original language of the Indo-European people, but not the direct ancestor of Western languages (this was a misconception of the 19th century linguists that "discovered" Sanskrit). (2) "It is more expressive" I assume by this he means you can do more with less. To a certain extent this is true. (3) Very systematic This is only true to a certain degree. Classical Sanskrit is itself not the original language, and probably the largest single pain point is the "sandhi" rules, in which words are combined together. Although someone eventually wrote down a large number of rules that shows how these changed together, they are more the product of slurring of speech over time, rather than "design" per se. (4) "Excellent grammar" Is a lot of grammar "excellent grammar" ? In Sanskrit, it does allow certain structures that are not available elsewhere (like the existence of a dual case), which presumably facilitate density, and, consequently, presumably also facilitates efficiency. If so, one could argue that the grammar of Attic Greek is more "excellent" than that of English. However, to me "excellence" is something that depends more on the specific use case -- a language that someone can speak and use is better than one that one cannot.
- pavanky 13y ago> Not sure what he is referring to exactly, but Sanskrit itself is a descendent of proto Indo-European, from which many other Western languages were derived. So it is a near cousin to the original language of the Indo-European people, but not the direct ancestor of Western languages (this was a misconception of the 19th century linguists that "discovered" Sanskrit). OP never says Western Languages descended from Sanskrit, you are making that part up. The fact is that many Indian languages descended from it (or rather from the natural form, Prakrit, as opposed to the classical form). This is similar to how Romance languages (Spanish, French, Italian and Portugese) evolved from Vulgar Latin.
- tty 13y ago>OP never says Western Languages descended from Sanskrit, you are making that part up. The fact is that many Indian languages descended from it (or rather from the natural form, Prakrit, as opposed to the classical form). This is similar to how Romance languages (Spanish, French, Italian and Portugese) evolved from Vulgar Latin. He's not necessarily :making it up_. It's quite common for Indians, and even Indian linguists to spread ridiculous ideas about Sanskrit, including it being "perfect", "better than other languages", "holy", and quite commonly "all other languages descending from it" as well as the claim of Sanskrit being "the first language". There's a lot of things in that blogpost that would make most linguists facepalm (especially the part about Sanskrit being "more expressive" and "more systematic"). The idea that Sanskrit is an ancestor language for other languages (far away from the Indo-Aryan group) goes quite hand in hand with these ridiculous notions.
- pramalin 13y agoSanskrit is an artificial language. No wonder why it resembles programming languages.
- zeckalpha 13y agoIt's quite likely that natural Sanskrit did not have those properties, and all that has survived is the well documented formalizations of its grammar. EDIT: By natural, I meant Vedic. Speaking as a linguist, I doubt that all of Sanskrit was accounted for when it was formalized.
- anuraj 13y agoThere is nothing called natural Sanskrit(refined) - Sanskrit is a specialized language built and used for only scholarly purposes - ordinary people always used to communicate in Prakrit(unrefined)
- FlyingSnake 13y agoI doubt that is the case. Panini wrote Sanskrit grammer in around 4th century B.C. and it is still the base of Sanskrit education.
- scotty79 13y agoExpressive, systematic, powerful - it looks atractive but none of that counts. What counts is ease of being copied and easy assimilation of unprecise copies. That's why PHP rules the web and DNA rules the life and english rules the world despite their messines.
- yati 13y agoEnglish is not popular because it is "easy to copy" or any nonsense like that. As already mentioned, people who didn't speak English were killed. Likewise in the PHP boom, people who did not write PHP were underpaid(not all, but you get my point) - and BTW, the Web is not all a programmer has to/can hack on. Not sure why you put DNA in there, but I think the DNA is pretty expressive, powerful(packs a lot in a lot less) and Darwin has helped us understand evolution as a pretty systematic process. At least do some basic homework before making bold claims.
- gngeal 13y agoEnglish is not popular because it is "easy to copy" or any nonsense like that. English may not be easy to copy but it's comparatively "bland". "Bland" in this case means "has a smaller number of marked features". For example, it has no tones. It's always easier for someone speaking a tonal language to learn a toneless language than the other way round. Sanskrit has a complex system of synthetic inflection, which is a rather marked feature, and all speakers of analytic languages would hate your guts for forcing it onto them if you tried to make them learn it. In many ways, Sanskrit is like Ancient Greek. You spend a year learning something that other languages can do without (and do so without muddling the meaning of the text), and even if you learn it, you'll still be doing mistakes quite a lot of the time. Such a language would never have a chance of spreading as an international medium of communication.
- scotty79 13y agoNon PHP web devlopers underpaid? PHP devlopers are the bottom feeders. I know. I'm one. They are paid lowest because there's a lot of them. There are a lot of them because they are most abundant. They are most abundant not because PHP is well desinged language but because ability to use PHP is easy to copy. As for DNA read about non-coding sequences, telomers, pleiotropy and such. I'll state again. DNA is the pretty dumb chaotic stuff, built out of the most common intersting chemical element, carbon. It's everywhere not because it's well designed but because it copies well. It has 4bln years of incremental chaotic patches and cruft all around. I don't think any system that suffered through such history would be admired by any software architect.
- dkeskar 13y agoSanskrit is considered a "refined" language, implying serious effort to systematize phonemes, grammar, declension and even verb classification distinguishing recipient of actions (1-10 ganas, PP/AP padas, etc.). Refinement can give subtlety, accuracy, concision etc. but does not automatically and objectively mean "universal", "perfect" or "excellent", even though proponents conflate those aspects. IMO, Sanskrit persisted as the language of metaphysical and scientific treatises for a long time because of practical advantages. A large library of concepts, allowed easy reuse and concision [1]. Being trained in Vedanga (phonetics, metre, grammar, etymology, etc.) allowed practitioners to compose new sutras easily, much like PhD students using mathematical notations and proofs in papers. It was used conversationally, at least in courts and debates. Its decline into a quasi-venerated read-only language over the last 1000 years would be an interesting (and contentious) topic for dissertation. [1] Patanjali Yoga Sutras http://www.arlingtoncenter.org/Sanskrit-English.pdf http://www.arlingtoncenter.org/Sanskrit-English.pdf