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.

/src     p/~migrev-dolseg
/our     p/~migrev-dolseg
/now     da/~2024.1.1
/eny     uv/0v...
/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 /our)  ::  p/~migrev-dolseg
(pib:c /our)  ::  "~migrev-dolseg"

system commands

coming soon

/sys/peek /sys/oust /sys/cull /sys/copy /sys/move /sys/mock