APL Wiki:About: Difference between revisions

Jump to navigation Jump to search
1,553 bytes removed ,  10:56, 25 March 2020
link to old wiki
Miraheze>Adám Brudzewsky
No edit summary
(link to old wiki)
(40 intermediate revisions by 6 users not shown)
Line 1: Line 1:
For many years APL Wiki was maintained by Kai Jäger as a MoinMoin wiki site. In 2019, APL Wiki was reborn as a MediaWiki site with content more in the style of Wikipedia. It is now maintained by Richard Park. Migration of content from the old APL Wiki is ongoing.
'''APL Wiki''' was launched at the end of 2006 as a MoinMoin wiki. It was created and maintained by Kai Jäger of [https://aplteam.com/ APL Team Ltd], and [[APL Wiki logo|its logo]] derives from that of APL Team. In 2019, APL Wiki was reborn as a MediaWiki site, this time with content more in the style of Wikipedia. It is now maintained by Richard Park, but is not directly affiliated with any particular individuals, companies, or organisations. Migration of content from the [https://old.aplwiki.com/ old APL Wiki] is ongoing.
 
This wiki is a central repository and general information wiki for the APL programming language. There may be pages regarding other languages in the array-oriented and APL family (such as J and K), but these pages should be from the perspective of APL (as they could likely have entire wikis in their own rights).


== Contributing ==
== Contributing ==


We welcome any and all contributions to APL Wiki, as long as they adhere to the general content standard as observed in existing pages. Currently, many links lead to pages that as of yet do not exist. Creating and populating these missing pages is especially appreciated.
We welcome any and all contributions to APL Wiki, as long as they adhere to the general content standard as observed in existing pages and described in the [[APL Wiki:content guidelines|content guidelines]]. Currently, many links lead to [[Special:WantedPages|pages that as of yet do not exist]]. Creating and populating these missing pages is especially appreciated.


MediaWiki documentation applies. Especially useful for you as a contributor are:
MediaWiki documentation applies. Especially useful for you as a (new) contributor are:


* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Editing_pages Editing pages]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Editing_pages Editing pages]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Starting_a_new_page Starting a new page]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Starting_a_new_page Starting a new page]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links Links]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Links Links]
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Formatting Formatting], but please follow the below guidelines.
Keep these rules in mind:
* This wiki is for general information about the APL programming language. Pages about other programming languages should be from the perspective of APL, even if they are array-oriented, as they merit their own wikis, which e.g. [[J]] has.
* Except when about a specific dialect, articles should strive to be dialect neutral, although examples that only work in one or a few dialects are perfectly acceptable. Do not try to document a dialect; that'd require a separate wiki, which e.g. [[NARS2000]] has.
* Make sure your changes are accurate. If you think something needs explaining but you're not 100% sure what the explanation should be, mention it on the page's Discussion tab.
* Avoid "thread mode", where you simply add your thoughts to a page without taking the trouble to make the page a unified whole. Of course, this doesn't apply to Discussion and user pages.
* Follow our [[APL Wiki:formatting|formatting]] guidelines.


=== Inline APL code ===
In the discussion tab, your voice is just one of many and you are free to express yourself as you wish, but please be nice.


Inline code is used for single primitives and short expressions and uses the format
== External links ==
 
<blockquote><pre>The formula <source lang=apl inline>(2=+⌿0=N∘.|N)/N←⍳100</source> computes primes.</pre></blockquote>
which results in
<blockquote>The formula <source lang=apl inline>(2=+⌿0=N∘.|N)/N←⍳100</source> computes primes.</blockquote>
 
=== APL code blocks ===
 
For session transcripts, function definitions and lorger expressions, use code blocks like
 
<blockquote><pre>The formula
 
<source lang=apl>
(2=+⌿0=N∘.|N)/N←⍳100
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
</source>
 
computes primes.</pre></blockquote>
 
which results in
 
<blockquote>The formula
 
<source lang=apl>
      (2=+⌿0=N∘.|N)/N←⍳100
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
</source>
 
computes primes.</blockquote>
 
 
Optionally, you can indicate one or more APL dialects which are able to run the code by using a special template immediately after the source tag, like
 
<blockquote><pre>The formula
 
<source lang=apl>
      {(2=+⌿0=⍵∘.|⍵)/⍵}⍳100
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
</source>
{{Works in|[[Dyalog APL]], [[dzaima/APL]], [[GNU APL]], [[ngn/APL]]}}
 
computes primes.</pre></blockquote>
 
which results in
 
<blockquote>The formula
 
<source lang=apl>
      {(2=+⌿0=⍵∘.|⍵)/⍵}⍳100
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
</source>
{{Works in|[[Dyalog APL]], [[dzaima/APL]], [[GNU APL]], [[ngn/APL]]}}
 
computes primes.</blockquote>
 
You can also include a link to [[TryAPL]] or [[Try It Online]] right before the source tag, for example
 
<blockquote><pre>The formula
 
[https://tryapl.org/?a=%7B%282%3D+%u233F0%3D%u2375%u2218.%7C%u2375%29/%u2375%7D%u2373100&run Try it now!]
<source lang=apl>
      {(2=+⌿0=⍵∘.|⍵)/⍵}⍳100
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
</source>
 
computes primes.</pre></blockquote>
 
which results in:
 
<blockquote>The formula
 
[https://tryapl.org/?a=%7B%282%3D+%u233F0%3D%u2375%u2218.%7C%u2375%29/%u2375%7D%u2373100&run Try it now!]
<source lang=apl>
      {(2=+⌿0=⍵∘.|⍵)/⍵}⍳100
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
</source>
 
computes primes.</blockquote>


* [[Main Page|APL Wiki main page]]
* [https://aplteam.com/about-apl/apl-wiki/ About APL: APL Wiki]
* [https://old.aplwiki.com/ Archive of old APL Wiki]
{{APL community}}
{{APL community}}
=== Primitives and other built-ins ===
When creating a page for a [[primitive function]], [[primitive operator|operator]], or [[quad name]], begin the page with the following template:
<blockquote><pre>{{Primitive|⍟|Log}}</pre></blockquote>
if the primitive can have two different symbols (due to [[migration level]]), use:
<blockquote><pre>{{Primitive|↑|⊃|Mix}}</pre></blockquote>

Navigation menu