Implementation resources: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(APL In Exposition link)
(added J Incunabulum)
Line 9: Line 9:
* [https://www.jsoftware.com/help/dictionary/dicte.htm Parsing and Execution] in the [[J]] dictionary
* [https://www.jsoftware.com/help/dictionary/dicte.htm Parsing and Execution] in the [[J]] dictionary
* [http://www.softwarepreservation.org/projects/apl/Papers/197201_APL%20In%20Exposition_320-3010.pdf APL In Exposition], from page 54 down
* [http://www.softwarepreservation.org/projects/apl/Papers/197201_APL%20In%20Exposition_320-3010.pdf APL In Exposition], from page 54 down
The [https://code.jsoftware.com/wiki/Essays/Incunabulum J Incunabulum] is a small implementation of an extremely simple APL, and worth a thorough read.


== Compiling ==
== Compiling ==

Revision as of 14:53, 11 September 2021

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.