Main Page: Difference between revisions
Miraheze>RikedyP |
Miraheze>RikedyP |
||
Line 26: | Line 26: | ||
APL's terseness means that substantial programs are expressable in a small space, relative to many other programming languages. Here are some 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 === | === Split text by delimiter === | ||
<pre class=apl> | |||
','(≠⊆⊢)'comma,delimited,text' | |||
┌─────┬─────────┬────┐ | ┌─────┬─────────┬────┐ | ||
│comma│delimited│text│ | │comma│delimited│text│ | ||
└─────┴─────────┴────┘ | └─────┴─────────┴────┘ | ||
</pre> | |||
{{Works in|[[Dyalog APL]], [[dzaima/APL]], [[NARS2000]], [[ngn/apl]]}} | {{Works in|[[Dyalog APL]], [[dzaima/APL]], [[NARS2000]], [[ngn/apl]]}} | ||
=== Conway's "Game of Life" === | === Conway's "Game of Life" === | ||
{{pre apl|{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵} }} | {{pre apl|{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵} }} |
Revision as of 12:04, 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' ┌─────┬─────────┬────┐ │comma│delimited│text│ └─────┴─────────┴────┘
Conway's "Game of Life"
Template:APL programming language