Implementation resources: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(Created page with "This page lists some resources for learning how to implement array languages. == Interpreting == * [https://mathspp.com/blog/tag:lsbasi-apl#body-wrapper Let's build a simple...")
 
(→‎Interpreting: Add dfns.parse)
Line 4: Line 4:


* [https://mathspp.com/blog/tag:lsbasi-apl#body-wrapper Let's build a simple interpreter for APL] series (currently incomplete) on Mathspp Blog
* [https://mathspp.com/blog/tag:lsbasi-apl#body-wrapper Let's build a simple interpreter for APL] series (currently incomplete) on Mathspp Blog
* [https://dfns.dyalog.com/n_parse.htm parse] commentary in the [[dfns workspace]]
* [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



Revision as of 16:04, 5 February 2021

This page lists some resources for learning how to implement array languages.

Interpreting

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.