A Program optimized for fast mapping of Operator to Operand.
- Interpretation
- A Program is interpreted as a Lexicon by treating it as a sequence of Operator and Operand pairs that map Operators to Operands as follows:
- Normalization
- A Program is normalized as a Lexicon as follows:
- Each Separator is removed, and a line Separator is inserted between each Operator and Operand pair.
- In the case of duplicate mappings for an Operator, earlier mappings are disregarded and removed from the normalized form.
- Implementation
- Om::Language::Lexicon