Is Dyalog APL Fully Parsable by Bunda-Gerth?

General APL language issues

Is Dyalog APL Fully Parsable by Bunda-Gerth?

Postby baingeenej on Sun Mar 12, 2023 2:03 am

In the Introduction to the Programming Reference, there's a section on Binding Strengths. I understand that this defines a token binding affinity table for Bunda-Gerth parsing.

A wizard on APL Orchard pointed me to this much more complete chart in the dfns namespace: https://dfns.dyalog.com/s_parse.htm. However, I notice that some things, such as error guards, are missing.

So, I have a few questions:

  1. Is Dyalog APL fully parsable by Bunda-Gerth?
  2. If so, does a complete binding chart for Dyalog 18.2 exist somewhere?
  3. How does ← interact with BG? I.e. IIUC, the left-hand arguments are treated as names instead of having the type of whatever underlying object they reference.
baingeenej
 
Posts: 4
Joined: Fri May 13, 2022 9:33 am

Return to Language

Who is online

Users browsing this forum: No registered users and 1 guest