Expand description
Language frontends. Each parses its own syntax into the shared IR.
Modules§
- apl
- APL frontend: lexer and parser, lowering to the shared IR.
- j
- J frontend: lexer and the sentence parser, lowering to the shared IR.
Structs§
- Dialect
- Dialect settings supplied by the host.
- Rules
- A dialect resolved against a language: what the parser and the engine read. Copyable, and carried by every evaluation context, so a rule that only bites at run time (the index origin a key answers with, the order a grade puts complex values in) reads the same setting the parser did.
- Source
Parts - A source text with interpolation holes split out. Spans in every token
and error refer to
display, where holeireads{name_i}.
Enums§
- Complex
Order - How a grade orders complex values.
- Default
Arg - When
⍺←vevaluatesv. - DfnResult
- Which sentence of a dfn body is its result.
- First
Disclose - What
↑and⊃mean monadically. - Index
Form - What
⌷means. - Lang
- Nested
Grade - How a grade orders NESTED items.
- Nested
Model - How a nested array holds a simple scalar.
- Segment
Functions§
- compile
- Compile a plain source string (with
{name}holes) in the given language. - compile_
parts - Compile pre-split parts (the t-string path).