OxL Reference

1.4 Keywords

Reserved (cannot be used as names):

actor as atomic await blocking break cluster comptime config const continue data defer dep dynamic else embed enum export extern fail false fn for if impl import in interface is lazy let loop match mock move msg none op operator override pipeline policy provide pub respond return rpc saga scope select self Self service spawn static super test topic true type undo unsafe use var while yield

Contextual (keywords only in the stated construct, otherwise ordinary names):

WordWhere
ita step of a chain or pipeline (§8.4, §10.6)
within, retry, backoffchain suffixes (§8.4)
on, durable, best_effort, on_errorpipeline steps (§10.6)
sharded, byactor declaration (§12.5), topic declaration (§10.5)
from, where, order, desc, asc, take, skip, load, groupquery expression (§5.9)
allow, deny, if, unlesspolicy (§13.4)
role, serves, hosts, runs, replicas, needs, expose, seeds, assign, journal, shards, replication, authcluster declaration (§12.1)
profileconfig declaration (§14.1)
once, times, then, alwaysmock (§18.3)
seeds, variant, split, metric, guardtests (§18)

Additionally reserved: assert attr dyn fixture init open. More contextual words:

WordWhere
pure, io, net, db, time, randthe effect list after the return type (§6.2)
invariantbody of data (§4.2)
requires, ensures, old, resultfunction contracts (§6.7)
literalcomptime literal fn (§15.3)
escapingfunction type (§5.7)
inlinebefore for (§15.1)
recv, send, to, afterselect branches (§8.7)
activate, passivateon … in an actor (§12.5)
withtest header (§18.1)
wheregeneric constraints, refinements, the for filter, queries
infixl, infixr, infix, prefixoperator declaration (§5.3)

See also

Source: docs/spec/oxl-standard.en.md