Localized Programming Language
0.9.1 Van Leydenhof
Citrine is the world's first* embeddable**, general purpose, localized programming language, designed to allow every man to write code in his mother tongue. Hopefully, by doing so, Citrine will make coding accessible to a wider audience. * Development started in 2009 ** Citrine can be used as serverless/FAAS language
0.9.1 Van Leydenhof
Changelog & Roadmap
☞ greeting := ' Hello country! '. greeting country: 'England'. ✎ write: greeting.
☞ groet := 'Hallo land!'. groet land: 'Nederland'. ✎ schrijf: groet.
☞ salut := 'Bună țară!'. salut țară: 'România'. ✎ scrie: salut.
☞ sveikinimas: = 'Sveika šalis!'. sveikinimo šalis: 'Lietuva'. ✎ atspausdinti: sveikinimas.
Allows everyone to code in their native language. Making code more accessible and expressive.
True, Smalltalkish, Object Oriented Programming: the way it was meant to be.
Very simple, minimalistic grammar. Easy to learn and remember.
Extremely powerful dynamic scoping, just like good old BASIC and some LISPs.
International teams? Automatically Translate code from one language into another.
Languages & Manuals
The community is working to improve language support, but it takes time. Citrine currently supports the following languages:
- English (Full Manual)
- Nederlands (Volledige handleiding)
- Romanian (Translation table)
- Lithuanian (Translation table)
- Hindi (Translation table)
Is your language not (fully) supported yet?
Help us to create a version of Citrine for your language or translate one
of the manuals into your language!
ADD YOUR LANGUAGE
The following Citrine versions are currently in progress:
- Russian (preliminary file received)
- Turkish (preliminary file received)
- Urdu (preliminary file received)
- Albanian (awaiting response)
- Chinese (help wanted!)
For a full reference guide in man-format of the complete Citrine Programming Language, please consult the Reference Guide (English only).
Citrine is being tested continously using Travis/CI, read the latest test reports.
If you don't like to compile the source yourself, I can
create a binary for your platform and language of choice for
a small fee (Citrine translators get it for free, of course).
ORDER CUSTOM BUILD
Do you want development support for Citrine? Do you want to
integrate the Citrine Programming Language into your cloud service,
online platform or business application?
Why localized programming?
Citrine allows you to write code in your native language. Thus leaving more brain capacity to deal with your actual work. Coding in a localized language has been proved to have a positive impact on learning outcomes1 and quality2. 1. Learning to Code in Localized Programming Languages (MIT) 2. Effects of localization on Exceptions in Java
Because of its simple yet flexible grammar, Citrine plays well with any human language. Citrine can also translate code from one human language into another, similar to approaches conducted by Stanford University3. 3. Human Languages in Source Code: Auto-Translation for Localized Instruction (Stanford University)
What are the other features?
Citrine is a pure object oriented programming language, attempting to follow the Kayan philosophy4. It uses Smalltalkish object messaging. Other features include: classless, prototypal inheritance, dynamic scoping, extremely late binding, fully malleable objects and mark and sweep garbage collection. Citrine does not support comments, forcing authors to write self-documenting code. 4. After the Philosophy of American Computer Scientist Dr. Alan Kay (regarded as inventor of Object Oriented Programming)
Can I contribute?
Sure, Citrine is open source and we can share code using e-mail or Github. See the plug-in wishlist for a start! Citrine is written in C.
Why is this page in English?
As a developer, you have to know some English. Nobody is going to change that anytime soon. Writing complex logic in a foreign language is something different though. Citrine allows you to put your thoughts into the words of the language you know best: your mother tongue. That being said, if you want to translate a manual page, feel free to help!
Why icons in the language?
Abstract, yet frequently used concepts are represented as icons in Citrine. For example, to declare a new variable in a Citrine program you use a pointing finger (☞). The inspiration for this approach comes from Smalltalk-705. Apart from pictograms, Citrine also allows the use of thin space to separate words in object names and message parts to avoid CaMelCase and snake_case. 5. Smalltalk-72 Manual
What are the use cases?
Citrine can be embedded into serverless cloud or FAAS* platforms as a localized scripting language or localized DSL to lower adoption barriers and reach new audiences. Citrine can also be used to teach programming in a language agnostic way. * Function as a service
Consult the Full FAQ >.
About the author
My name is Gabor de Mooĳ, I am a cognitive psychologist
and software developer living
in the Netherlands. Since 2016, I run my own business as a
freelance developer specializing in
Company website (Dutch).
feel free to contact me anytime: gabordemooij at gaborsoftware dot nl
Special thanks to:
Aavesh Jilani, Twiggler, MadcapJake, DennisCGc, Takano32, LeoTindall, Janus, Shinriyo, Sean Eshbaugh, Georgel Preput, Lina Dapkute & Marianne.