Content deleted Content added
Cobalt pen (talk | contribs) No edit summary |
|||
(20 intermediate revisions by 12 users not shown) | |||
Line 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
{{Uses Wikidata|P856}}
== Syntax ==
{{
|name=''name'' |logo={{{logo}}} |logo caption |screenshot={{{screenshot}}} |screenshot caption
|paradigm=''paradigm'' {{smaller|or}} ''paradigms''
Line 10 ⟶ 11:
|developer={{nowrap|''developer'' {{smaller|or}} ''developers''}}
|released |latest release version |latest release date |latest preview version |latest preview date
|typing | memory management | scope |programming language |platform |operating system |license |file ext
|file format=''file format'' {{smaller|or}} ''file formats''
|website |implementations |dialects |influenced by |influenced |wikibooks={{{wikibooks}}}
}}
<syntaxhighlight lang="
{{Infobox programming language
| name =
| logo =
| logo caption =
|
| screenshot = <!-- Filename -->
| screenshot caption =
|
| paradigm = <!-- or: | paradigms = --> | family =
| designer =
| developer =
| released = <!-- or: | year = --> <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| latest release version =
| latest release date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
Line 31 ⟶ 34:
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| typing =
| memory management =
| scope =
| programming language =
| discontinued =
| platform =
| operating system =
Line 39 ⟶ 43:
| file ext =
| file format = <!-- or: | file formats = -->
| website =
| implementations =
| dialects =
Line 53 ⟶ 57:
{{Infobox programming language
| name = Python
|
print("Hello, World!")
</syntaxhighlight>
| sampleCode caption = Hello
| logo = Python logo and wordmark.svg
| paradigm = [[Multi-paradigm programming language|Multi-paradigm]]: [[object-oriented programming|object-oriented]], [[imperative programming|imperative]], [[functional programming|functional]], [[procedural programming|procedural]], [[reflective programming|reflective]]
Line 64 ⟶ 69:
| latest_preview_version = 3.5.0b3 / {{Start date and age|2015|07|05|df=yes}}
| typing = [[Duck typing|Duck]], [[dynamic typing|dynamic]], [[strong typing|strong]], [[gradual typing|gradual]] (as of Python 3.5)
| memory management = [[Garbage collection (computer science)|garbage collected]]
| implementations = [[CPython]], [[IronPython]], [[Jython]], [[PyPy]]
| dialects = [[Cython]], [[RPython]], [[Stackless Python]]
| influenced_by = [[ABC (programming language)|ABC]], [[ALGOL 68]], [[C (programming language)|C]], [[C++]], [[Dylan (programming language)|Dylan]], [[
| influenced = [[Boo (programming language)|Boo]], [[Cobra (programming language)|Cobra]], [[D (programming language)|D]], [[F Sharp (programming language)|F#]], [[Go (programming language)|Go]], [[Groovy (programming language)|Groovy]], [[JavaScript]], [[Julia (programming language)|Julia]], [[Nim (programming language)|Nim]], [[Ruby (programming language)|Ruby]], [[Swift (programming language)|Swift]]
| license = [[Python Software Foundation License]]
Line 74 ⟶ 80:
}}
<
{{Infobox programming language
| name = Python
Line 85 ⟶ 91:
| latest_preview_version = 3.5.0b3 / {{Start date|2015|07|05|df=yes}}
| typing = [[duck typing|duck]], [[dynamic typing|dynamic]], [[strong typing|strong]], [[gradual typing|gradual]] (as of Python 3.5)
| memory management = [[Garbage collection (computer science)|garbage collected]]
| implementations = [[CPython]], [[IronPython]], [[Jython]], [[PyPy]]
| dialects = [[Cython]], [[RPython]], [[Stackless Python]]
| influenced_by = [[ABC (programming language)|ABC]], [[ALGOL 68]], [[C (programming language)|C]], [[C++]], [[Dylan (programming language)|Dylan]], [[
| influenced = [[Boo (programming language)|Boo]], [[Cobra (programming language)|Cobra]], [[D (programming language)|D]], [[F Sharp (programming language)|F#]], [[Go (programming language)|Go]], [[Groovy (programming language)|Groovy]], [[JavaScript]], [[Julia (programming language)|Julia]], [[Nim (programming language)|Nim]], [[Ruby (programming language)|Ruby]], [[Swift (programming language)|Swift]]
| license = [[Python Software Foundation License]]
Line 94 ⟶ 101:
| wikibooks = Python Programming
}}
</syntaxhighlight>
{{
===Parameters===
Line 120 ⟶ 127:
"type": "string",
"required": false,
"description": "Filename for the image; e.g., '
},
"logo size": {
Line 273 ⟶ 280:
"required": false,
"description": "Specifies the typing discipline implemented, used, or mandated"
},
"memory management": {
"label": "Memory management",
"type": "string",
"required": false,
"description": "Specifies the memory management model"
},
"scope": {
Line 400 ⟶ 413:
"latest preview date",
"typing",
"memory management",
"scope",
"implementations",
|