Main Page: Difference between revisions
m (→Split text by delimiter: link) |
(remove bullshit) |
||
Line 7: | Line 7: | ||
[[Special:Statistics|{{NUMBEROFARTICLES}}]] articles about APL that anyone can edit | [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles about APL that anyone can edit | ||
|| | || | ||
APL is an [[wikipedia:Array_programming|array-oriented programming language]]. Its | APL is an [[wikipedia:Array_programming|array-oriented programming language]]. Its natrual, concise [[APL syntax|syntax]] lets you develop shorter programs while thinking more about the problem you're trying to solve than how to express it to a computer. | ||
|} | |} | ||
Line 20: | Line 20: | ||
<h2 style="margin:0.75em 0; background:#cedff2; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; color:#000; padding:0.2em 0.4em;>Hello world</h2> | <h2 style="margin:0.75em 0; background:#cedff2; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; color:#000; padding:0.2em 0.4em;>Hello world</h2> | ||
Taking up a new programming language can be a daunting task. While it can appear cryptic at first, | Taking up a new programming language can be a daunting task. While it can appear cryptic at first, you can learn to write and [[semantic density|read]] APL with little effort. A few introductory guides have been created to help you in the process. | ||
<p style="text-align:center">'''[[Introductions]] ∙ [[Learning resources]] ∙ [[Language overview]]'''</p> | <p style="text-align:center">'''[[Introductions]] ∙ [[Learning resources]] ∙ [[Language overview]]'''</p> | ||
Line 26: | Line 26: | ||
| style="background:#faf5ff;border:1px solid #e0cef2;padding:0 1em" | | | style="background:#faf5ff;border:1px solid #e0cef2;padding:0 1em" | | ||
<h2 style="margin:0.75em 0; background:#ddcef2; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #afa3bf; color:#000; padding:0.2em 0.4em">Who uses it?</h2> | <h2 style="margin:0.75em 0; background:#ddcef2; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #afa3bf; color:#000; padding:0.2em 0.4em">Who uses it?</h2> | ||
APL | APL is used by both hobbyists and application developers. There are active [[:Category:user groups|user groups]] all around the globe, many of these hold regular in-person meet-ups. There is also a popular online [[APL Orchard|APL chat room]]. | ||
<p style="text-align:center">'''[[Case studies]] ∙ [[Community|Community overview]]'''</p> | <p style="text-align:center">'''[[Case studies]] ∙ [[Community|Community overview]]'''</p> | ||
Line 32: | Line 32: | ||
| style="background:#fff5fa;border:1px solid #f2cee0;padding:0 1em" | | | style="background:#fff5fa;border:1px solid #f2cee0;padding:0 1em" | | ||
<h2 style="margin:0.75em 0; background:#f2cedd; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #bfa3af; color:#000; padding:0.2em 0.4em">Contributing</h2> | <h2 style="margin:0.75em 0; background:#f2cedd; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #bfa3af; color:#000; padding:0.2em 0.4em">Contributing</h2> | ||
APL Wiki is an online open-content | APL Wiki is an online open-content [[wikipedia:wiki|wiki]]; that is, a voluntary association of individuals and groups working to develop a common knowledge resource. The structure of the project allows anyone with an Internet connection to alter its content. | ||
<p style="text-align:center">'''[[Help:Contributing|How to contribute]] ∙ [[Special:NewPages|New pages]] ∙ [[Special:WantedPages| Wanted pages | <p style="text-align:center">'''[[Help:Contributing|How to contribute]] ∙ [[Special:NewPages|New pages]] ∙ [[Special:WantedPages| Wanted pages]]'''</p> | ||
|- | |- | ||
Revision as of 07:34, 2 July 2020
| |||
Running APLTraditionally a commercial language, there are now quite a few implementations available to download for free without feature limitations, and several of these can be tried online without installing anything. |
Hello worldTaking up a new programming language can be a daunting task. While it can appear cryptic at first, you can learn to write and read APL with little effort. A few introductory guides have been created to help you in the process. | ||
Who uses it?APL is used by both hobbyists and application developers. There are active user groups all around the globe, many of these hold regular in-person meet-ups. There is also a popular online APL chat room. |
ContributingAPL Wiki is an online open-content wiki; that is, a voluntary association of individuals and groups working to develop a common knowledge resource. The structure of the project allows anyone with an Internet connection to alter its content. | ||
ExamplesAPL's terseness means that substantial programs are expressible in a small space, relative to many other programming languages. Below are just a taste. Many more, and fully explained, examples are in the simple examples article. Split text by delimiterWith the introduction of tacit programming, many functions can be expressed in fewer characters than even the shortest fitting name. For example ','(≠⊆⊢)'comma,delimited,text' ┌─────┬─────────┬────┐ │comma│delimited│text│ └─────┴─────────┴────┘ Works in: Dyalog APL
Now read the full explanation… Conway's "Game of Life"John Scholes is famous for the following implementation of Conway's Game of Life: ⎕←world←2 2 2 2⊤0 12 5 2 4 1 0 1 0 0 0 0 0 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 {↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵} world 1 1 0 1 0 0 0 1 1 1 0 0 0 1 0 1 1 0 0 0 1 0 0 0 Works in: Dyalog APL, ngn/apl
Now read the full article… |