Expand description
J frontend: lexer and the sentence parser, lowering to the shared IR.
Word formation and sentence parsing follow the model published in the J Dictionary. Words are formed left to right; a sentence is then executed right to left by pushing words onto a stack and matching the leftmost four stack slots against the parse table after every push.
Functionsยง
- parse
- Parse a J program (one sentence per line) into IR statements.