Difference between revisions of "Learning resources"

From APL Wiki
Jump to navigation Jump to search
Miraheze>Adám Brudzewsky
m (36 revisions imported: Migrate from miraheze)
(13 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|{{quote | "I have long been struck by the contrast between the success with which the adventurous learn APL by simply using it, and the frequent failure of lecture courses to communicate the simplicity and applicability of the language."|[[Ken Iverson]]. ''A Working Introduction to APL'', 1981.}}
 
|{{quote | "I have long been struck by the contrast between the success with which the adventurous learn APL by simply using it, and the frequent failure of lecture courses to communicate the simplicity and applicability of the language."|[[Ken Iverson]]. ''A Working Introduction to APL'', 1981.}}
 
|}
 
|}
== Introductions ==
+
== For non-programmers ==
=== For non-programmers ===
 
  
 
Some of the best resources for somebody new to APL and programming in general are:
 
Some of the best resources for somebody new to APL and programming in general are:
 +
* APL Wiki's [[simple examples]]
 
* The [https://tryapl.org/?tab=3 Learn tab on TryAPL]
 
* The [https://tryapl.org/?tab=3 Learn tab on TryAPL]
 
* The book [https://www.dyalog.com/mastering-dyalog-apl.htm Mastering Dyalog APL] by Bernard Legrand
 
* The book [https://www.dyalog.com/mastering-dyalog-apl.htm Mastering Dyalog APL] by Bernard Legrand
Line 15: Line 15:
 
If you get stuck, don't hesitate to ask your questions in the [[APL Orchard]] chat room.
 
If you get stuck, don't hesitate to ask your questions in the [[APL Orchard]] chat room.
  
=== For non-APL programmers ===
+
== 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.
 
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.
 
<div style="column-width:20em">
 
<div style="column-width:20em">
 +
* APL Wiki's [[advanced examples]]
 
* [https://chat.stackexchange.com/rooms/info/52405/the-apl-orchard?tab=conversations APL Cultivation] (chat lessons)
 
* [https://chat.stackexchange.com/rooms/info/52405/the-apl-orchard?tab=conversations APL Cultivation] (chat lessons)
 
* [https://tryapl.org TryAPL online interpreter with lessons]
 
* [https://tryapl.org TryAPL online interpreter with lessons]
Line 36: Line 37:
 
[[Category:Lists]]
 
[[Category:Lists]]
  
=== For novice APLers ===
+
== For novice APLers ==
  
If you already have a fair grasp of APL's [[primitive functions]] and [[primitive operators|operators]], you can sharpen your skills by challenging yourself with these:
+
If you already have a fair grasp of APL's [[primitive function]]s and [[primitive operator|operators]], you can sharpen your skills by challenging yourself with these:
  
* [[Crosswords]]: Fill in APL expressions and snippets to fulfil all the clues.
+
* [https://abrudz.github.io/crosswords/5/ APL Crossword 5]: Fill in expressions and snippets to fulfil all the clues.
  
 
* [https://www.dyalog.com/2016-year-game.htm 2016 Year Game]: Find APL expressions involving exactly the digits 2 0 1 6 in that order to equal the numbers 0 to 100.
 
* [https://www.dyalog.com/2016-year-game.htm 2016 Year Game]: Find APL expressions involving exactly the digits 2 0 1 6 in that order to equal the numbers 0 to 100.
Line 48: Line 49:
 
* [https://www.dyalog.com/student-competition.htm APL Problem Solving Competition]s — Try to solve past years' problems.
 
* [https://www.dyalog.com/student-competition.htm APL Problem Solving Competition]s — Try to solve past years' problems.
  
=== For old APLers ===
+
== For old APLers ==
 +
In the last decade, several implementations have extended APL with new primitives:
 +
=== Primtives ===
 +
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]]
  
* [[Modern APL for old APLers]]
+
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]]
 +
=== Lambdas ===
 +
* [http://help.dyalog.com/16.0/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/Dynamic%20Functions%20and%20Operators.htm Intro]
 +
* [http://help.dyalog.com/16.0/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/MultiLine%20Dynamic%20Functions.htm Details]
 +
* [http://help.dyalog.com/16.0/Content/Language/Defined%20Functions%20and%20Operators/DynamicFunctions/Dynamic%20Operators.htm Operators]
 +
=== Tacit programming ===
 +
[[Dyalog APL]] documentation: [http://help.dyalog.com/16.0/Content/RelNotes14.0/Function%20Trains.htm Intro], [http://help.dyalog.com/15.0/Content/Language/Introduction/Trains.htm Details]
  
== How to's ==
+
Videos: [https://www.youtube.com/watch?v=kt4lMZbn-so Short], [https://www.youtube.com/watch?v=A2LqqBosvY0 Long]
  
=== Error trapping ===
+
=== Other features  ===
 +
* [[Keyword]]s
 +
* [[Object-oriented programming]]
 +
 
 +
== How to's for advanced APLers ==
  
 
* [[Error trapping with Dyalog APL]]
 
* [[Error trapping with Dyalog APL]]
Line 60: Line 84:
 
* [[Error trapping in Dyalog APL forms]]
 
* [[Error trapping in Dyalog APL forms]]
  
=== Graphical User Interfaces ===
+
* [[Calling APL from other languages]]
 
 
* [[Error trapping in Dyalog APL forms]]
 
 
 
=== Calling APL from other languages ===
 
 
 
=== Calling other languages from APL ===
 
  
=== Performance tuning ===
+
* [[Calling other languages from APL]]
  
=== APL on the web ===
+
* [[Performance tuning]]
  
=== Parallel computing ===
+
* [[APL on the web]]
  
=== Cryptography ===
+
* [[Parallel computing]]
  
Migrate https://aplwiki.com/CryptographyWithDyalogAndDotNet
+
* [[Cryptography]] <span style="background:yellow">← Migrate https://aplwiki.com/CryptographyWithDyalogAndDotNet</span>
  
{{APL programming language}}
+
{{APL development}}

Revision as of 15:21, 20 November 2019

"I have long been struck by the contrast between the success with which the adventurous learn APL by simply using it, and the frequent failure of lecture courses to communicate the simplicity and applicability of the language."

Ken Iverson. A Working Introduction to APL, 1981.

For non-programmers

Some of the best resources for somebody new to APL and programming in general are:

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.

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.

For old APLers

In the last decade, several implementations have extended APL with new primitives:

Primtives

Functions: Same, Right; Same, Left; Materialise, Index; Depth, Match; Tally, Not Match; Where, Interval Index; Nest, Partition

Operators: Bind, Compose; Rank; Key; Stencil; Variant

Lambdas

Tacit programming

Dyalog APL documentation: Intro, Details

Videos: Short, Long

Other features

How to's for advanced APLers


APL development [edit]
Interface SessionTyping glyphs (on Linux) ∙ FontsText editors
Publications IntroductionsLearning resourcesSimple examplesAdvanced examplesMnemonicsStandardsA Dictionary of APLCase studiesDocumentation suitesBooksPapersVideosPeriodicals
Sharing code APLcartAPLTreeAPL-Cation
Vendors APL2000DyalogGNU APL communityIBMIPSASTSC