Learning resources: Difference between revisions
m (→For old APLers) |
|||
Line 50: | Line 50: | ||
In the last decade, several implementations have extended APL: | In the last decade, several implementations have extended APL: | ||
* New primitive functions: <source lang=apl inline>⊢</source> [[Identity|Same]], [[Right_identity|Right]]; <source lang=apl inline>⊣</source> [[Identity|Same]], [[Left_identity|Left]]; <source lang=apl inline>⌷</source> [[Materialise]], [[Squad indexing|Index]]; <source lang=apl inline>≡</source> [[Depth]], [[Match]]; <source lang=apl inline>≢</source> [[Tally]], [[Not Match]]; <source lang=apl inline>⍸</source> [[Where]], [[Interval Index]]; <source lang=apl inline>⊆</source> [[Nest]], [[Partition]] | |||
<source lang=apl inline>⊣</source> [[Identity|Same]], [[Left_identity|Left]]; | |||
<source lang=apl inline>⌷</source> [[Materialise]], [[Squad indexing|Index]]; | |||
<source lang=apl inline>≡</source> [[Depth]], [[Match]]; | |||
<source lang=apl inline>≢</source> [[Tally]], [[Not Match]]; | |||
<source lang=apl inline>⍸</source> [[Where]], [[Interval Index]]; | |||
<source lang=apl inline>⊆</source> [[Nest]], [[Partition]] | |||
* New primitive operators: <source lang=apl inline>∘</source> [[Bind]], [[Compose]]; <source lang=apl inline>⍤</source> [[Rank operator|Rank]]; <source lang=apl inline>⌸</source> [[Key]]; <source lang=apl inline>⌺</source> [[Stencil]]; <source lang=apl inline>⍠</source> [[Variant]] | |||
<source lang=apl inline>⍤</source> [[Rank operator|Rank]]; | |||
<source lang=apl inline>⌸</source> [[Key]]; | |||
<source lang=apl inline>⌺</source> [[Stencil]]; | |||
<source lang=apl inline>⍠</source> [[Variant]] | |||
* Lambdas ([[dfns]]): [http://help.dyalog.com/16.0/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/Dynamic%20Functions%20and%20Operators.htm Intro]; [http://help.dyalog.com/latest/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/MultiLine%20Dynamic%20Functions.htm Details]; [http://help.dyalog.com/latest/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/Dynamic%20Operators.htm Operators]; [https://dfns.dyalog.com/n_contents.htm The dfns workspace] (collection of categorized utilities with extensive comments and notes) | |||
* [[Tacit programming]]: [[Dyalog APL]] documentation: [http://help.dyalog.com/16.0/Content/RelNotes14.0/Function%20Trains.htm Intro]; [http://help.dyalog.com/latest/Content/Language/Introduction/Trains.htm Details]; [https://www.youtube.com/watch?v=kt4lMZbn-so short video]; [https://www.youtube.com/watch?v=A2LqqBosvY0 long video]; [https://chat.stackexchange.com/rooms/52405/conversation/lesson-23-transcribing-to-and-reading-trains APL Cultivation lesson] | |||
* Other features: [[Keyword]]s; [[Object-oriented programming]] | |||
== How to's for advanced APLers == | == How to's for advanced APLers == |
Revision as of 11:26, 20 April 2020
|
For non-programmers
Some of the best resources for somebody new to APL and programming in general are:
- APL Wiki's simple examples
- The Learn tab on TryAPL
- The book Mastering Dyalog APL by Bernard Legrand
- The Zark APL Tutor
- APL a Day: Introduction, Functions, Arrays, Values, Arrays have Shape
Follow one or a couple of these tutorials through and play around a bit. To learn APL the advice is similar to that for learning other languages: have a goal (something you want to accomplish) and try to do it. Along the way you are sure to come across the pitfalls and gotchas of the language, and with time you may come to understand what APL thinking means.
If you get stuck, don't hesitate to ask your questions in the APL Orchard chat room.
For non-APL programmers
This is a list of tutorials and other resources of interest to someone who knows about programming or is familiar with another programming language, but wants to learn more about APL.
- APL Wiki's advanced examples
- APL Cultivation (chat lessons)
- TryAPL online interpreter with lessons
- Learn X in Y minutes
- Let's Learn A Programming Language
- APLWiki list of Books and Publications ← Migrate https://old.aplwiki.com/BooksAndPublications
- Mastering Dyalog APL
- GitHub repository
- Zark tutorial
- Trying APL
- Artificial Neural Networks
- FizzBuzz
For novice APLers
If you already have a fair grasp of APL's primitive functions and operators, you can sharpen your skills by challenging yourself with these:
- 2016 Year Game: Find APL expressions involving exactly the digits 2 0 1 6 in that order to equal the numbers 0 to 100.
- 2017 Code Golf Challenge: Find the shortest possible APL expression that evaluates 1…52 without using any number or character literals.
- APL Problem Solving Competitions — Try to solve past years' problems.
- APL-eusis: A game for honing your ability to "think in APL".
For old APLers
In the last decade, several implementations have extended APL:
- New primitive functions:
⊢
Same, Right;⊣
Same, Left;⌷
Materialise, Index;≡
Depth, Match;≢
Tally, Not Match;⍸
Where, Interval Index;⊆
Nest, Partition
- Lambdas (dfns): Intro; Details; Operators; The dfns workspace (collection of categorized utilities with extensive comments and notes)
- Tacit programming: Dyalog APL documentation: Intro; Details; short video; long video; APL Cultivation lesson
- Other features: Keywords; Object-oriented programming
How to's for advanced APLers
APL development [edit] | |
---|---|
Interface | Session ∙ Typing glyphs (on Linux) ∙ Fonts ∙ Text editors |
Publications | Introductions ∙ Learning resources ∙ Simple examples ∙ Advanced examples ∙ Mnemonics ∙ ISO 8485:1989 ∙ ISO/IEC 13751:2001 ∙ A Dictionary of APL ∙ Case studies ∙ Documentation suites ∙ Books ∙ Papers ∙ Videos ∙ APL Quote Quad ∙ Vector journal ∙ Terminology (Chinese, German) ∙ Neural networks ∙ Error trapping with Dyalog APL (in forms) |
Sharing code | Backwards compatibility ∙ APLcart ∙ APLTree ∙ APL-Cation ∙ Dfns workspace ∙ Tatin ∙ Cider |
Implementation | Resources ∙ Open-source ∙ Magic function ∙ Performance ∙ APL hardware |
Developers | Timeline of corporations ∙ APL2000 ∙ Dyalog ∙ IBM ∙ IPSA ∙ STSC |