Quire
Ruby
Ruby
ParadigmalariMulti-paradigmali: funksional, imperativ, obyektga yoʻnaltirilgan
MuallifiYukihiro Matsumoto
Tuzilgan yili1995
Operatsion tizimKross-platformali
LitsenziyaRuby License
Fayl kengaytmalari.rb
Vebsaytruby-lang.org
Bunga asos boʻlgan tillar
Ada,[1] Basic,[2] C++,[1] CLU,[3] Dylan,[3]
Eiffel,[1] Lisp,[3] Lua, Perl,[3] Python,[3] Smalltalk[3]
Buning asosida tuzilgan tillar
Clojure, CoffeeScript, Crystal, D, Elixir, Groovy, Julia,[4] Mirah, Nu,[5] Ring,[6] Rust,[7] Swift[8]

Ruby (talaffuzi: ['ru:bɪ]; tarjimasi „yoqut“) koʻplab dasturlash paradigmalarini qoʻllab-quvvatlaydigan interpretatsiyalanadigan yuqori pogʻonali dasturlash tilidir. 1990-yillar oʻrtalarida Yukihiro Matsumoto tomonidan yaratilgan.

Versiyalar xronologiyasi#edit

VersiyaEng oxirgi versiyasiChiqarilgan sana
1.0—1996-12-25[9]
1.81.8.7-p375[10]2003-08-04[11]
1.91.9.3-p551[12]2007-12-25[13]
2.02.0.0-p648[14]2013-02-24[15]
2.12.1.10[16]2013-12-25[17]
2.22.2.10[18]2014-12-25[19]
2.32.3.8[20]2015-12-25[21]
2.42.4.10[22]2016-12-25[23]
2.52.5.8[24]2017-12-25[25]
2.62.6.6[26]2018-12-25[27]
2.72.7.2[28]2019-12-25[29]
3.03.0.0[30]2020-12-25[31]
Izoh:
Eski versiya
Eski versiya (qoʻllab-quvvatlanadi)
Eng oxirgi versiya
Kelgusidagi reliz

Misollar#edit

puts 'Hello World!'
# Everything, including a literal, is an object, so this works:
−199.abs # => 199
'ice is niceʼ.length # => 11
'ruby is cool.'.index('u') # => 1
„Nice Day Isnʼt It?“.downcase.split('').uniq.sort.join
# => „ '?acdeinsty“
print 'Please type name >'
name = gets.chomp
puts „Hello #{name}.“
puts 'Give me a number'
number = gets.chomp
puts number.to_i
output_number = number.to_i + 1
puts output_number.to_s + ' is a bigger number.'


Manbalar#edit

  1. ^ a b c Cooper, Peter. Beginning Ruby: From Novice to Professional, 2nd, Beginning from Novice to Professional, Berkeley: APress, 2009 — 101-bet. ISBN 978-1-4302-2363-4. „To a lesser extent, Python, LISP, Eiffel, Ada, and C++ have also influenced Ruby.“ 
  2. ^ „Reasons behind Ruby“. Ruby Conference 2008. Confreaks TV. 2020-yil 15-yanvarda asl nusxadan arxivlangan. Qaraldi: 2019-yil 25-iyun.
  3. ^ a b c d e f Bini, Ola. Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java. Berkeley: APress, 2007 — 3-bet. ISBN 978-1-59059-881-8. „It draws primarily on features from Perl, Smalltalk, Python, Lisp, Dylan, and CLU.“ 
  4. ^ „Julia 1.0 Documentation: Introduction“. 2018-yil 16-avgustda asl nusxadan arxivlangan. Qaraldi: 2018-yil 6-oktyabr.
  5. ^ Burks, Tim „About Nu™“. Programming Nu™. Neon Design Technology, Inc.. 2011-yil 24-iyulda asl nusxadan arxivlangan. Qaraldi: 2011-yil 21-iyul.
  6. ^ Ring Team. „Ring and other languages“. ring-lang.net. ring-lang (2017-yil 3-dekabr). 2018-yil 25-dekabrda asl nusxadan arxivlangan. Qaraldi: 2023-yil 20-iyun.
  7. ^ „Influences - The Rust Reference“. The Rust Reference. Qaraldi: 2023-yil 18-aprel.
  8. ^ Lattner, Chris „Chris Lattner's Homepage“. Chris Lattner (2014-yil 3-iyun). — „The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.“. Qaraldi: 2014-yil 3-iyun.
  9. ^ „The Ruby Community's Christmas Releases“. www.rubyinside.com.
  10. ^ „A Patch in Time: Securing Ruby“.
  11. ^ „ruby-1.8.0 released!“. www.ruby-lang.org.
  12. ^ „Ruby 1.9.3-p551 Released“. www.ruby-lang.org.
  13. ^ „Ruby 1.9.0 Released“. www.ruby-lang.org.
  14. ^ „Ruby 2.0.0-p648 Released“. www.ruby-lang.org.
  15. ^ „Ruby 2.0.0-p0 is released“. www.ruby-lang.org.
  16. ^ „Ruby 2.1.10 Released“. www.ruby-lang.org.
  17. ^ „Ruby 2.1.0 is released“. www.ruby-lang.org.
  18. ^ „Ruby 2.2.10 Released“. www.ruby-lang.org.
  19. ^ „Ruby 2.2.0 Released“. www.ruby-lang.org.
  20. ^ „Ruby 2.3.8 Released“. www.ruby-lang.org.
  21. ^ „Ruby 2.3.0 Released“. www.ruby-lang.org.
  22. ^ „Ruby 2.4.10 Released“. Ruby Programming Language (2020-yil 31-mart). Qaraldi: 2020-yil 1-aprel.
  23. ^ „Ruby 2.4.0 Released“. www.ruby-lang.org.
  24. ^ „Ruby 2.5.8 Released“. Ruby Programming Language (2020-yil 31-mart). Qaraldi: 2020-yil 1-aprel.
  25. ^ „Ruby 2.5.0 Released“. www.ruby-lang.org.
  26. ^ „Ruby 2.6.6 Released“. Ruby Programming Language (2020-yil 31-mart). Qaraldi: 2020-yil 1-aprel.
  27. ^ „Ruby 2.6.0 Released“. www.ruby-lang.org.
  28. ^ „Ruby 2.7.2 Released“. Ruby Programming Language (2020-yil 2-oktyabr). Qaraldi: 2020-yil 2-oktyabr.
  29. ^ „Ruby 2.7.0 Released“. www.ruby-lang.org.
  30. ^ „Ruby 3.0.0 Released“. Ruby Programming Language (2020-yil 25-dekabr). Qaraldi: 2020-yil 25-dekabr.
  31. ^ „Ruby 3.0.0 Released“. www.ruby-lang.org.

Adabiyotlar#edit

Havolalar#edit


This article is mirrored from “Ruby” on Oʻzbekcha Wikipedia, revision 6227110, written by Wikipedia's contributors and licensed CC BY-SA 4.0. Editing it here creates a Quire copy with its own history.

Synced with Wikipedia revision 6227110 · just now