Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Specification

This section provides the detailed specification for the MICAL language.

  • Syntax & Structure: File encoding, line processing, comments, directives, and the overall structure of a MICAL file.
  • Keys: Word keys and quoted keys, their syntax rules, and error cases.
  • Values: Type determination algorithm, each value type, and the fallback behavior.
  • Block Strings: Multi-line string syntax, the base indent detection algorithm, line classification, styles, and chomping indicators.
  • Prefix Blocks: Block syntax, opening/closing rules, prefix concatenation, and nesting.