Introducing Citrine Programming Language

45 views
Skip to first unread message

Emeka

unread,
Feb 28, 2016, 4:28:58 AM2/28/16
to nigeriaarduinogroup, jifunze-kufikiria, Ayotunde Aloba, Tosin Oguntuase, dike ekene, babatunde akinsanmi, ike ibekwe, Obinna Mbonu
Hello All,


I don't know what you're planning for Easter break , but if you really want to try something amazingly simple and exciting then Citrine programming language is for you! It is created for mere mortals and it aims to make a great programmer from ordinary folks like me. I hereby urge you to join me in my attempt to learn this great language.
I always love learning languages when they are still being actively developed so that I will have the opportunity to tap the brains of original creators before they are overwhelmed by conferences and media spotlights. Citrine is the first language I have participated in its making. I have some commits.

 Citrine feels like Ruby but with PHP simplicity  . It is pretty easy to learn and also easy to use. However, if you have ever wanted to learn how languages are made then check out Citrine's source code. It is so simple.

Finally, it is an interpreted object-oriented language without verbose static type. I will be studying it in the next few weeks, I would like to have a team of learners. I therefore invite you to me part of this. Send me a mail if you would like to be a part of this.
http://citrine-lang.org/



Regards, Emeka
--
P.S Please join our groups:  nigeriaar...@googlegroups.com
 or jifunze-...@googlegroups.com  These are platforms for learning and sharing  of knowledge.                                                                                      www.satajanus.com | Satajanus  Nig. Ltd


Emeka

unread,
Mar 6, 2016, 2:27:58 PM3/6/16
to Baiyegunhi Oluwadamilola, dawa...@gmail.com, Michael Adeyemi, jifunze-kufikiria

Hello All,

Thanks for indicating interest in  learning Citrine Programming Language with me. It is going to be exciting and fun, and we will end up with the right skill set to tackle problems in a lot of languages.

Citrine is build with unix environment at heart , so I assume that you have linux or some form of emulator. If yes, then fire up your shell and git clone https://github.com/gabordemooij/citrine.git.
And run:
./mk.bash
make install

Now you can run codes ..

Butler := Object new.
Butler on: 'greet:' do: { name |
	Pen write: 'Welcome ' + name.
}.
james := Butler new.
james greet: 'visitor'.

Run the code above
$ ctr hello.ctr

http://www.citrine-lang.org/
http://www.citrine-lang.org/docs.ctr


Once we all have achieved the above, then we can have a formal schedule and structure.

Regards, Emeka




<?. files := Array <- '../base.c' ; '../collections.c' ; '../file.c' ; '../system.c' ; '../plugins


/request/request.c'. files each: { index file | var f := File new: file. var str := f read. var commentBlocks := str split: '/**'. commentBlocks shift. (commentBlocks count) times: {\ var comment := commentBlocks shift. var lines := comment split: '\n'. lines count > 3 ifTrue: {\ #print the headline var headline := lines @ 1. Pen write: '.BR.BR.BR', brk brk. ((headline indexOf: '@internal') = -1) ifTrue: {\ Pen write: '.B ' + (headline skip: 3), brk. #print the rest Pen write: '.nf', brk. var line := ''. var n := 2. {\ line := lines at: n. ^ ((line indexOf: '*/') = -1). } whileTrue: {\ line := line replace: '\\' with: '\\\\'. Pen write: ' '+(line skip: 2), brk. n add: 1. }. Pen write: '.fi', brk. }. }. }. }. ?>
Reply all
Reply to author
Forward
0 new messages