card

+$  card  info

a card encodes a command to a page


the most common card is the empty card: [~ ~]

which means:
“something that this page cares about has changed you may want to re-render”

when you save a file in hawk, code.page is overwritten, then an empty card is poked to it.


the system will pre-populate cards with standard data.

/sys/src     p/~migrev-dolseg
/sys/our     p/~migrev-dolseg
/sys/now     da/~2024.1.1
/sys/eny     uv/0v...
/sys/from    t/'/path/to/originator'

by convention, the root dime of the card (the dime at / in the info) is the 'kind' of the command. ie. the identifier for the intended behaviour.

so for a todo list the following cards might be used for adding and deleting.

/       tas/%add-todo
/todo   t/'finish writing the manual'
/       tas/%delete-todo
/index  ud/3

in your hawk-500 subject, the +iu (info utilites) engine is bound to the c face for the card.

(rib:c /sys/our)  ::  p/~migrev-dolseg
(pib:c /sys/our)  ::  "~migrev-dolseg"