Must set minsize, maxsize, used by compiler to evaluate display size.
For symbols having data larger than maxsize, data should be lazily split up to each threshold (to enable previous screens same as initial). Can be defined by byte markers (not substring copies).
Total capacity for mapping is cumulative maxsize. Next param in execution has available up to net capacity after consume.
May define ONE sink, which consumes all remaining data.
Compiler must croak if:
- parameter has not been loaded in tree
- symbol is not handled by any of the translations.
should generate warnings if sink cannot render a single enrry (of list)
MAP <symbol> <maxsize> <minsize>
SINK <symbol>
---
Display
matched with this node id. node ids must be unique. should contain only letters and numbers.
ID <identifier string>
compile displays with menus.
---
Compiler croaks:
- Render larger than display size (using maxsize)
- Parameter duplicates between branches
- Parameter mapped outsize context
- Unhandled parameter mappings
- Duplicate navigation selectors in a menu
- Parameter loads exceeding global capacity limit
---
All code execution symbols only take state object as input and return it as output.