Implementation resources

From APL Wiki
Revision as of 18:32, 11 September 2021 by Marshall (talk | contribs) (→‎Interpreting: Combine the two Bunda-Gerth bullet points)
Jump to navigation Jump to search

This page lists some resources for learning how to implement array languages. See also the list of open-source array languages, which links to implementations in a wide variety of styles and languages.

Interpreting

The J Incunabulum is a small implementation of an extremely simple APL, and worth a thorough read.

Compiling

Because traditional APL does not have a context-free grammar, the language must be modified or restricted in some way to allow it to be compiled. K and BQN have context-free grammars, making them immediately suitable for compilation.