The do table.

Generated from the language definition for language 1.0.

Effects

Every do verb has a row; a verb without one is a compile error. A statement-shaped verb carries a DAL statement as its payload; the others take the arguments the grammar lists. do raw { … } writes an action or a binding verbatim.

VerbCompiles toPayload
appendtransitions[].actions[] with action type DAL_EXECa DAL statement
updatetransitions[].actions[] with action type DAL_EXECa DAL statement
deletetransitions[].actions[] with action type DAL_EXECa DAL statement
transitiontransitions[].actions[] with action type DAL_EXECa DAL statement
spawntransitions[].actions[] with action type BATCH_SPAWNarguments
webhooktransitions[].actions[] with action type WEBHOOKarguments
runtransitions[].actions[] with action type WASM_EXECUTEarguments
algorithmtransitions[].actions[] with action type ALGORITHM_EXECUTEarguments
recomputetransitions[].actions[] with action type ROLLUP_RECOMPUTEarguments
notifyprimitive_bindings[] for fastyoke.notifierarguments
scheduleprimitive_bindings[] for fastyoke.schedulerarguments
infertransitions[].actions[] with action type INFERarguments
classifytransitions[].actions[] with action type INFERarguments
extracttransitions[].actions[] with action type INFERarguments
summarizetransitions[].actions[] with action type INFERarguments

classify, extract, and summarize compile to the same INFER action as infer. The name after the verb is the capability. The prompt is not in the workflow. do infer "…" is the form that carries a prompt string.

  • Engine action types in the outbox today: UPDATE_ENTITY, BATCH_SPAWN, ALGORITHM_EXECUTE, WASM_EXECUTE, WEBHOOK, INVENTORY_RECEIPT
  • Action types the language introduces: DAL_EXEC, ROLLUP_RECOMPUTE, LEDGER_APPEND, INFER
  • Registered primitives: fastyoke.notifier, fastyoke.scheduler, fastyoke.cross_entity_transition, fastyoke.record_spawner, fastyoke.field_mutator, fastyoke.field_compute, fastyoke.aggregator