by munaf on 1/14/13, 9:56 PM with 73 comments
by mahmud on 1/15/13, 12:16 AM
My biggest obstacle has so far been language itself: I think I'm too much of an Arabic snob to settle for simple, dictionary translation of some technical terms. I also hate transliterating, so I got distracted by months long process of compiling a dictionary.
To give you an example, Qlb replies with "letter is unexpected" when it really means "symbol". حرف vs رمز. A Lisp evaluator operates on expressions, of which symbols are a subset.
Even within technical English, words like letter and character do NOT mean the same thing, though they are similar.
Most of computational concepts one wants to expound either exist or have strong counterparts in the classical Arabic linguistic, rhetoric and logical traditions. Though not a strict requirement, the Arabic PL designer would benefit greatly from familiarity with the Classical, very abstract and deductive, byt often non-secular, works.
One of my favorite games is to read a passage out, say, a type-theoretic paper and try to translate it to Arabic :-)
[Edit:
It is an excellent hack this, but Arabic side of things could use more polishing. قول is not a verb, but قُل is. قول or مقولة means "utterance", not the very "say" as you might intend. لقوله، قم الليل الا قليلا
]
by DanBC2 on 1/15/13, 12:35 AM
Everyone knows about algorithm, right?
From Wikipedia:
> The word "Algorithm", or "Algorism" in some other writing versions, comes from the name al-Khwārizmī, pronounced in classical Arabic as Al-Khwarithmi. Al-Khwārizmī (Persian: الخوارزمي, c. 780-850) was a Persian mathematician, astronomer, geographer and a scholar in the House of Wisdom in Baghdad, whose name means "the native of Khwarezm", a city that was part of the Greater Iran during his era and now is in modern day Uzbekistan. He wrote a treatise in the Arabic language during the 9th century, which was translated into Latin in the 12th century under the title Algoritmi de numero Indorum. This title means "Algoritmi on the numbers of the Indians", where "Algoritmi" was the translator's Latinization of Al-Khwarizmi's name.
by saidajigumi on 1/14/13, 11:52 PM
Unfortunately, I understand that Diwali takes sufficient liberties with the forms of written Arabic that it's often very hard to comprehend even for those highly literate in Arabic.
[1] http://islamic-arts.org/2012/arabic-calligraphy-and-type-des... [2] http://www.typotheque.com/images/articles/thuraya/02.jpg
by munaf on 1/14/13, 10:06 PM
Here's Conway's Game of Life: http://twitpic.com/bv2cra
by leviathan on 1/14/13, 11:04 PM
by jlgreco on 1/14/13, 10:54 PM
This looks very neat but I'm afraid I don't entirely understand it.
by philhippus on 1/14/13, 11:37 PM
by killahpriest on 1/14/13, 11:33 PM
(قول "مرحبا يا عالم!")
قول = say
مرحبا = hello/welcome
يا = oh
عالم = world
by il_demente on 1/15/13, 12:59 AM
Kalimat كلمات –meaning Words translated from Arabic– was designed and built as a programming language that teaches children programming in Arabic as a part of facilitating the process of bringing Computational Thinking to schools in Egypt and allowing children to practice what the've learnt using a powerful programming language.
With children on the mind of the language designer, he made sure that every feature to be added won't add complexity to learning the language but rather empower children to explore more about programming languages.
Kalimat is written in C++ using the QT Framework, and it runs on a virtual machine written by the author of this programming language called SmallVM (proving names can be deceiving :D). Both Kalimat and SmallVM are open source, you can checkout the code repository here: https://code.google.com/p/kalimat/source/checkout
Although Kalimat is written for children, that doesn't mean that it is weak or to be considered as a toy language, it's quite the contrary actually. Under this seemingly cuddly language, there's a small beast growing as the author packs the language with features that appear in professional languages.
I am not the author of the language, so I am not familiar with all features of this language, for more details you can:
1. Checkout the language's website http://www.kalimat-lang.com.
2. Usage guide http://www.kalimat-lang.com/wiki/%D8%AF%D9%84%D9%8A%D9%84_%D...
3. The author's blog under label Kalimat http://iamsamy.blogspot.com/search/label/kalimat
4. To begin learning the language, you can check Kalimat By Example tutorial here: http://www.kalimat-lang.com/wiki/%D9%83%D9%84%D9%85%D8%A7%D8...
Side Note: Unfortunately the language website, usage guide and the blog are written in Arabic.
However, these are some of the features I'm aware of:
- Destructuring
- Tail Call Elimination
- Lambda Expression
- Parallel Procedures
- Green Threads
- CSP Channels
- Callbacks in FFI (similar to Java's JNI, Python's ctypes and C#'s P/Invoke') which enables using external libraries and frameworks like OpenGL http://iamsamy.blogspot.com/2012/12/opengl-in-kalimat.html
Along with primitive features like
- Events
- Defining classes with fields, Signals and Slots
- Defining Modules
by mulligan on 1/14/13, 11:55 PM
one nit in the description: "The name قلب is pronounced 'alb "
in standard arabic, it is actually "qalb", some dialects happen to drop the q sound
by christiangenco on 1/14/13, 11:29 PM
by shaunxcode on 1/15/13, 12:59 AM
It has multiple levels of authentication - highest is:
user: elohim pass: melk
It is essentially a port of a toy lisp (soy) I wrote a while back so deseret keys map straight to their ascii equivalent (as that is what deseret itself really did).
QLB is much cooler in that it seems to be make semantic sense.
by NelsonMinar on 1/14/13, 11:33 PM
by pointernil on 1/14/13, 11:38 PM
by bamdadd on 1/15/13, 12:02 AM
https://github.com/nasser/---/blob/master/public/lib/amthila...
by hfahim on 1/15/13, 12:15 AM
by Issam on 1/15/13, 10:31 AM