Expand description
APL frontend: lexer and parser, lowering to the shared IR.
APL sentences read right to left: the rightmost expression is the right
argument of the function to its left, and a function is dyadic exactly
when an operand ends immediately to its left. Operators bind tighter than
that: f/ and f⍤r are folded into derived functions before the
sentence is parsed.
Functions§
- parse
- Parse an APL program (sentences separated by newlines or
⋄) into IR statements.dis the dialect, resolved:⎕IO,⎕CTand the lineage settings the parser reads.