diff options
| author | eunhhu <[email protected]> | 2026-09-25 13:34:43 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-25 13:34:43 +0100 |
| commit | a459632cbb93b46c013556465a9e69b0baad745a (patch) | |
| tree | 05ef189a3eebb7c954a348f6501403d9d60cabf9 /Makefile | |
| parent | b4ec5eeaab82ee7c876f7d02e6430997f7240899 (diff) | |
| download | aup-a459632cbb93b46c013556465a9e69b0baad745a.tar.gz aup-a459632cbb93b46c013556465a9e69b0baad745a.zip | |
Add records, lists and indices
A record declares named number and text fields with defaults. A list of a
record is runtime-owned state, and an index of a list always names one of
its items: it follows its item across inserts and removes and stops at the
ends. Items are read and changed by field (tasks[at].title), appended or
inserted as record values whose missing fields take defaults, and removed
by index. Using an index of another list is a compile error.
examples/tasks.aup matches a Python reference model over 4,800 random steps,
including events that fail on an empty list. Replacing it with a module
whose record gained and reordered fields keeps every item.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
