Module key

Module key 

Source
Expand description

Parsing of UPPERCASE inference keys used in AIM prompts and responses.

Keys are UCIDs ([A-Z_][A-Z0-9_]*) with one of three suffix patterns:

  • key_colon_eol: UCID ':' optional whitespace, then end-of-line → multi-line body follows.
  • key_eol: UCID optional whitespace, then end-of-line → delimiter/marker line.
  • key_colon: UCID ':' → inline value on same line.

Enums§

Suffix
Suffix patterns that follow an inference key.

Functions§

parse_key
Parse an inference key and classify its suffix.
parse_ucid
Parse an uppercase identifier UCID = [A-Z_][A-Z0-9_]*.