Content deleted Content added
m →Languages: added a note. |
Citation bot (talk | contribs) Removed URL that duplicated identifier. Removed access-date with no URL. Removed parameters. | Use this bot. Report bugs. | Suggested by Headbomb | Linked from Wikipedia:WikiProject_Academic_Journals/Journals_cited_by_Wikipedia/Sandbox | #UCB_webform_linked 314/967 |
||
(46 intermediate revisions by 26 users not shown) | |||
Line 3:
{{Infobox website
| name = Rosetta Code
| screenshot = [[File:
| screenshot_alt = Front page of rosettacode.org
| caption = Front page of rosettacode.org
| url = {{URL|https://www.rosettacode.org}}
| language = English
| content_license = [[GNU Free Documentation License|GFDL]]
| programming_language = [[PHP]], [[MediaWiki]]
| launch_date = {{Start date and age|df=no|2007|01|01}}
| current_status = Online
}}
'''Rosetta Code''' is a [[wiki]]-based programming [[chrestomathy]] website with implementations of common [[algorithms]] and solutions to various [[computer programming|programming]] problems in many different [[programming languages]].<ref>Ralf Lämmel. "Software chrestomathies". {{doi|10.1016/j.scico.2013.11.014}}. 2013.</ref><ref name="ieee">{{Cite book|title=A Comparative Study of Programming Languages in Rosetta Code|date=2015 |doi=10.1109/ICSE.2015.90 |arxiv=1409.0252 |s2cid=2570311 |last1=Nanz |first1=Sebastian |last2=Furia |first2=Carlo A. |pages=778–788 |isbn=978-1-4799-1934-5 }}</ref> It is named for the [[Rosetta Stone]], which has the same text inscribed on it in three languages, and thus allowed [[Egyptian hieroglyphs]] to be deciphered for the first time.<ref name="RCA">{{Cite web|url=http://www.rosettacode.org/wiki/Rosetta_Code:About|title=Rosetta Code:About - Rosetta Code|website=www.rosettacode.org|date=8 August 2010 }}</ref>
==Website==
Rosetta Code was created in 2007 by Michael Mol.<ref name="RCA"/> The site's content is licensed under the [[GNU Free Documentation License]] 1.2, though some components may be dual-licensed under more permissive terms.<ref>{{cite web|url=http://rosettacode.org/wiki/Rosetta_Code:Copyrights|title=Rosetta Code:Copyrights|
The Rosetta Code web repository illustrates how desired functionality is implemented very differently in various [[Programming_paradigm|programming paradigms]],<ref>Neil Walkinshaw. Chapter One: "Reverse-Engineering Software Behavior". [https://books.google.com/books?id=zvNvk-1OuBoC "Advances in Computers"]. 2013. p. 14.</ref><ref>Geoff Cox. [https://books.google.com/books?id=wgnSUL0zh5gC "Speaking Code: Coding as Aesthetic and Political Expression"]. MIT Press, 2013. p. 6.</ref> and how "the same" task is accomplished in different programming languages.<ref>Nick Montfort [http://tropetank.mit.edu/TROPE-13-03.pdf "No Code: Null Programs"]. 2013. p. 10.</ref>
{{As of|
In August 2022, Rosetta Code migrated from independent hosting to [[Miraheze]].
===Data and structure===
The Rosetta Code site is organized as a browsable cross-section of tasks (specific programming problems or considerations) and computer programming languages.<ref name="ieee"/> A task's page displays visitor-contributed solutions in various computer languages, allowing a viewer to compare each language's approach to the task's stated problem.
Task pages are included in per-language listings based on the languages of provided solutions; a task with a solution in the [[C (programming language)|C]] programming language will appear in the listing for C. If the same task has a solution in [[Ruby (programming language)|Ruby]], the task will appear in the listing for Ruby as well.
===Languages===
Some of the computer programming languages found on Rosetta Code (which have Wikipedia descriptions) include: <ref>{{cite web|url=
{{columns-list|colwidth=15em|
* [[Ada (programming language)|Ada]]
Line 43 ⟶ 42:
* [[AWK]]
* [[AutoHotKey]]
* [[BASIC]] <small> (58
* [[C (programming language)|C]]
* [[C Sharp (programming language)|
* [[C++]]
* [[Ceylon (programming language)|Ceylon]]
* [[Clojure]]
* [[COBOL]]
* [[Common Lisp]]
* [[D (programming language)|D]]
* [[Delphi_(software)|Delphi]]
* [[Erlang (programming language)|Erlang]]
* [[F Sharp (programming language)|
* [[Factor (programming language)|Factor]]
* [[Forth (programming language)|Forth]]
Line 58 ⟶ 59:
* [[Elixir (programming language)|Elixir]]
* [[Go (programming language)|Go]]
* [[Apache Groovy
* [[Haskell (programming language)|Haskell]]
* [[Icon (programming language)|Icon]]
Line 66 ⟶ 67:
* [[Julia (programming language)|Julia]]
* [[Kotlin (programming language)|Kotlin]]
* [[Lua (programming language)|Lua]]
* [[Maple (software)|Maple]]
* [[Mathematica]]
Line 72 ⟶ 74:
* [[OCaml]]
* [[GNU Octave|Octave]]
* [[Object REXX|ooRexx]]
* [[PARI/GP]]
* [[Pascal (programming language)|Pascal]]
Line 79 ⟶ 82:
* [[PL/I]]
* [[PowerShell]]
* [[Prolog]]
* [[PureBasic]]
* [[Python (programming language)|Python]]
* [[R (programming language)|R]]
* [[Racket (programming language)|Racket]]
* [[Raku (programming language)|Raku
* [[Red (programming language)|Red]]
* [[REXX (programming language)|REXX]]
* [[Ruby (programming language)|Ruby]]
Line 94 ⟶ 99:
* [[Tcl]]
* [[Unicon (programming language)|Unicon]]
* [[V (programming language)|V (Vlang)]]
* [[XPL0]]
}}
A complete list of the computer programming languages that have examples (entries/solutions to the Rosetta Code tasks) is available.<ref>{{Cite web|url=
Some of the tasks found on Rosetta Code include:<ref>{{cite web|url=http://rosettacode.org/wiki/Special:MostCategories|
{{columns-list|colwidth=18em|
* "[[99 Bottles of Beer]]" (song)
Line 135 ⟶ 141:
* [[Look-and-say sequence]]
* [[Lucas numbers]]
* [[
* [[Mandelbrot set]] (draw)
* [[Mersenne primes]]
* [[
* [[Morse code]]
* [[Numerical integration]]
Line 144 ⟶ 150:
* [[Perfect numbers]]
* [[Permutations]]
* [[Prime numbers]] (102 tasks)
* [[Primorial numbers]]
* [[Quaternions]]
Line 158 ⟶ 164:
* [[Semiprimes]]
* [[Sierpinski triangle]] (draw)
* [[Sorting algorithms]] (41)
* [[Square-free integers]]
* [[Statistics]]
Line 165 ⟶ 171:
* [[Sudoku]] (solve)
* [[Taxicab numbers]]
* [[
* [[Tic-tac-toe]] (noughts and crosses)
* [[Tower of Hanoi]] (solve)
Line 183 ⟶ 189:
==External links==
* {{Official website
[[Category:Programming languages]]
[[Category:Programming language comparisons]]
[[Category:Wikis about programming]]
|