Template:Language: Difference between revisions
Undo revision 337588 by Tigerofdarkness (talk) Change didn't work
(I think I got rid of the whitespace) |
(Undo revision 337588 by Tigerofdarkness (talk) Change didn't work) Tag: Undo |
||
(47 intermediate revisions by 9 users not shown) | |||
Line 1:
{{infobox_begin}}{{Language/Icon}}'''{{PAGENAME}}'''<br/> This '''programming language''' may be used to instruct a computer to perform a task.
{{#if:{{{site|}}}|{{{!}}style="text-align: left; font-size: 75%; background
▲{{#if:{{{site|}}}|{{{!}}style="text-align: left; font-size: 75%; background-color: #f9f9f9;"
{{!}}-
![{{{site}}} Official website]
{{!}}}
}}
{|style="text-align: left; font-size: 75%; background
{{#if: {{{exec|}}}|{{!}}-
![[:Category:Execution method|Execution method]]:
{{!}}{{#switch: {{lc:{{{exec|}}}}}|machine = Compiled (machine code) [[Category:Execution method/Compiled/Machine code]]|interpreted = Interpreted [[Category:Execution method/Interpreted]]|bytecode = Compiled (bytecode) [[Category:Execution method/Compiled/Bytecode]]|both = Interpreted or compiled [[Category:Execution method/Interpreted]][[Category:Execution method/Compiled]]}}
{{!}}-
}}
Line 37 ⟶ 35:
}}
{{#if: {{{express|}}}|![[:Category:Typing/Expression|Type expression]]:
{{!}}{{
[[Category:Typing/Expression/{{ucfirst:{{{express}}}}}]]}}
{{!}}-
}}
Line 45 ⟶ 44:
{{!}}-
}}
{{#if: {{{untyped|}}}|!{{#ifeq: {{{untyped}}}|yes|
{{!}}
{{!}}-
}}
Line 53 ⟶ 52:
{{!}}-
}}
{{#ifeq: {{#expr: {{{LCT|0}}} or {{{bnf|0}}} or {{#ifeq: {{{hopl|yes}}} | yes | 1 | 0}} }}|0||!See Also:}}
|{{#ifeq: {{{hopl|yes}}}|yes|{{*}}{{#if: {{{hopl id|}}}|{{HOPL|id={{{hopl id}}} }}|{{HOPL}} }}|}}
|{{HOPL}}{{#if:{{{LCT|}}}|<br>[[Language Comparison Table#{{PAGENAME}}|{{PAGENAME}} compared to other languages]]}}▼
{{#if: {{{bnf|}}}|{{*}} [{{{bnf}}} BNF Grammar for {{PAGENAME}}]}}
▲
|}
Listed below are all of the tasks on Rosetta Code which have been solved using {{PAGENAME}}.
Usage:
{|class="wikitable" style="text-align: center;"
!Param
!values
!meaning
|-
|exec
|"machine", "interpreted", "bytecode", or "
|execution method
|-
Line 93 ⟶ 94:
|-
|express
|"implicit", "explicit", or "
|type expression
|-
Line 99 ⟶ 100:
|"static", "dynamic", or "both"
|type checking
|-
|untyped
|"yes" or undefined
|"yes" if the language has no type system
|-
|tags
|a list of lang tag arguments
|this language's corresponding lang tag argument
|-
|hopl
|"yes" or undefined are the same, any other value is essentially "no"
|whether there should be a link to the HOPL from this language page. If defined and non-"yes" there will be no link. If undefined there will be a link.
|-
|hopl id
|id number like "1558"
|id number from HOPL. If defined, link to HOPL bypasses search page.
|-
|LCT
|"yes" or "no"
|whether this language has an entry in the [[Language Comparison Table]]. '''Only use "yes" if you have added it to the LCT or plan to add it shortly.'''
|-
|bnf
|(URL)
|Where the BNF grammar for this language is located or may be found. This should remain undefined if there is no BNF.
|}
{{template}}</noinclude>
|