Main Page: Difference between revisions
Miraheze>RikedyP |
Miraheze>RikedyP No edit summary |
||
Line 28: | Line 28: | ||
<pre class="language-apl">','(≠⊆⊢)'comma,delimited,text'</pre> | <pre class="language-apl">','(≠⊆⊢)'comma,delimited,text'</pre> | ||
{{Works in|[[Dyalog APL]], [[dzaima/APL]], [[NARS2000]], [[ngn/apl]]}} | {{Works in|[[Dyalog APL]], [[dzaima/APL]], [[NARS2000]], [[ngn/apl]]}} | ||
=== Test function === | |||
{{aplpre| | |||
','(≠⊆⊢)'comma,delimited,text' | |||
','(≠⊆⊢)'comma,delimited,text' | |||
|[[Dyalog APL]], [[dzaima/APL]], [[NARS2000]], [[ngn/apl]]}} | |||
=== Conway's "Game of Life" === | === Conway's "Game of Life" === | ||
<pre class="language-apl">{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}</pre> | <pre class="language-apl">{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}</pre> |
Revision as of 11:50, 19 September 2019
This wiki is all about APL, an array-oriented programming language that will change the way you think about problems and data. With a powerful, concise syntax, APL lets you develop shorter programs that enable you to think more about the problem you're trying to solve rather than how to express it to a computer.
Running APL
Main article: Running APL
Traditionally a commercial language, there are now quite a few APL dialects available to download for free without feature limitations, and most of these can be tried online without installing anything.
Who are you?
I am a programmer but new to APL
I want to learn intermediate APL
I'm an old APLer who wants to learn modern APL
Who uses APL?
There are many case studies of both hobby and real-world APL applications.
There is a popular APL chat room on Stack Exchange.
There are active user groups all around the globe, many of these hold regular in-person meet-ups.
Examples
APL's terseness means that substantial programs are expressable in a small space, relative to many other programming languages. Here are some examples:
Split text by delimiter
','(≠⊆⊢)'comma,delimited,text'
Test function
Conway's "Game of Life"
{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}
Template:APL programming language