Main Page: Difference between revisions
Miraheze>Adám Brudzewsky |
Miraheze>Adám Brudzewsky |
||
Line 52: | Line 52: | ||
=== Conway's "Game of Life" === | === Conway's "Game of Life" === | ||
[[John Scholes]] is famous for the following implementation of Conway's | [[John Scholes]] is famous for the following implementation of ''[[wikipedia:Conway's Game of Life|Conway's Game of Life]]'': | ||
[https://tryapl.org/?a=%u22A2world%u21902%202%202%202%u22A40%2012%205%202%204%201&run&a=%7B%u21911%20%u2375%u2228.%u22273%204%3D+/%2C%AF1%200%201%u2218.%u2296%AF1%200%201%u2218.%u233D%u2282%u2375%7D%20world&run Try it now!] | [https://tryapl.org/?a=%u22A2world%u21902%202%202%202%u22A40%2012%205%202%204%201&run&a=%7B%u21911%20%u2375%u2228.%u22273%204%3D+/%2C%AF1%200%201%u2218.%u2296%AF1%200%201%u2218.%u233D%u2282%u2375%7D%20world&run Try it now!] |
Revision as of 16:40, 4 November 2019
| |||
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. |
Introduction to APLTaking up a new programming language can be a daunting task. While it can appear cryptic at first, APL is actually very easy to learn and read. A few introductory guides have been created to help you in the process. | ||
Who uses APL?APL has gained traction among both hobbyists and and real-world 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 collaborative knowledge base; 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. How to contribute ∙ New pages ∙ Wanted pages ∙ What is a wiki? | ||
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 main examples article. Split text by delimiterWith the introduction of tacit programming, many functions can be expressed in fewer characters that even the shortest fitting name. For example ','(≠⊆⊢)'comma,delimited,text' ┌─────┬─────────┬────┐ │comma│delimited│text│ └─────┴─────────┴────┘ Works in: Dyalog APL
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
|