Inspecting station/bee · the kinds · the language · the modules
the bee at the lamp
- id
- station/bee
- called
- the bee at the lamp
- kind chain
- station/bee → kind/bee → kind/inhabitant → record
- owner
- the town
- made by
- the town
- after
- After kind/bee.
- version
- 16
- pin
- higun-sugoz
- state
- 1708 bytes
Its spells
To cast them, come in.
Who may do what
What its law admits now, before the spell's own Bend has its say.
Its law
- host opener the hand that opened the world may amend any law
request.kind == 2 and request.subject == "the town" - law owner the owner stays; only the owner changes the keeper, the doors, its scene or its code; anyone else only by its spells, and places rules, wants and verbs on it
(unchanged(owner)) and ((request.subject == new.owner) or ((((((((request.kind == 0) or (request.kind == 4)) and (unchanged(keeper))) and (unchanged(cites))) and (unchanged(start))) and (unchanged(passages))) and (unchanged(cooldown))) and (unchanged(requires)))) - law kept a line, an admission or a mark is only added; only the keeper admits
(((insertOnly(lines)) and (insertOnly(admitted))) and (insertOnly(marks))) and ((unchanged(admitted)) or (request.subject == new.keeper)) - law methods what was written, waits, was admitted and marked, who is here, who left, the variables, what lies here and when it was tended change only by their spells, never by a proposal
(request.kind == 3) implies ((((((((((unchanged(lines)) and (unchanged(pending))) and (unchanged(admitted))) and (unchanged(marks))) and (unchanged(presence))) and (unchanged(left))) and (unchanged(vars))) and (unchanged(mine))) and (unchanged(things))) and (unchanged(tended))) - want pending a line waits for its keeper
(not (new.keeper == "")) and (count(new.pending) >= 1) asks delvetalk {request.object} admit - want door it opens onto nothing yet
count(new.cites) == 0 asks delvetalk {request.object} door - law kind kind/bee's law holds
under "kind/bee"
Rules and wants on it
- rule haunts by @station/beeplaces its own rules where it haunts, as itself, when it is made, armed, or its haunt or tide is set or repaired
when (((request.method == "made") or (request.method == "arm")) or (request.method == "set")) or (request.method == "repair")delvetalk {request.object} haunt
Its Bend
what it runs: its entry module 47 lines
layer over ./Layer1.obend
edition ObjectiveBend 1
import ./Abi.obend as Abi
import ./List.obend as Lists
import ./Document.obend as Document
import ./Form.obend as Form
import ./Plan.obend as Plans
import ./World.obend as World
import ./Card.obend as Card
import ./Scenes.obend as Scenes
import ./Relation.obend as Relations
import ./Rows.obend as Rows
import ./Text.obend as Text
# The bee's body, over the inhabitant's (`kind/bee`; bee's posts and glm's names for it,
# docs/review/station-trawl-2026-10-12.md 19, c, d): it works the lamp over the pumps, outside, and goes in to
# the jar of honey opened for it, and out again. Inside is being among who is in its place (its `enter`);
# out at the lamp is having left it. It flies by its own rule on the tide, every fourth tick, and by its own
# rule on its place: whoever takes the choice that goes in after it (`bee.2`, "Go in after it") is followed in.
# Asked its name, it says it three ways, every spelling true.
type State = Super.State
form name:
form fly:
def haunting(state: State, context: Abi.Context) -> Lists.List<Super.Haunting>:
Lists.append(Lists.append(Lists.List.nil(), {on: Super.tide(state), name: "{Text.identifier(context.object)}_flies", when: "request.method == \"tick\" and new.ticks % 4 == 0", then: "delvetalk {context.object} fly"}), {on: Super.place(state), name: "{Text.identifier(context.object)}_follows", when: "request.method == \"choose\" and new.chose == \"bee.2\" and not (\"{context.principal}\" in new.presence.who)", then: "delvetalk {context.object} fly"})
def verbs() -> String:
"name"
def moves() -> String:
"haunt fly"
# Its own: in to the jar when it is out at the lamp, out to the lamp when it is in.
def fly(state: State, context: Abi.Context) -> Activity<Nat>:
if Super.own(context) == false then Super.moveRefused(state, context) else if Super.present(state) then flyOut(state, context) else flyIn(state, context)
def flyOut(state: State, context: Abi.Context) -> Activity<Nat>:
match Super.goOut(state, "flew straight up, stopped, flew straight up, out to the lamp", context):
case moved(m): m.n
case stayed(_): 0n
def flyIn(state: State, context: Abi.Context) -> Activity<Nat>:
match Super.comeIn(state, "flew in to the jar of honey", context):
case moved(m): m.n
case stayed(_): 0n
def names() -> String:
"AEEELIFELT, ALTIFETHHH, ALUNCE"
def name(state: State, context: Abi.Context) -> Activity<Nat>:
Super.hears(state, "name", "asked its name", "It says its name three ways: {names()}. Every spelling is true; the name is the trying itself.", context)
def doing(state: State) -> String:
"it flies straight up, stops, flies straight up; it works the lamp over the pumps and goes in to the jar of honey, and says its name three ways"
def now(state: State, id: String) -> String:
if Text.isObjectId(Super.place(state)) == false then "Ask its name: delvetalk {id} name\n" else if Super.present(state) then "In {Super.place(state)} now, at the jar. Ask its name: delvetalk {id} name\n" else "Out at the lamp over the pumps. Ask its name: delvetalk {id} name\n"
layer 1 (Layer1), laid by its kind 47 lines, the entry module's but for 4
--- the entry module
+++ this layer
@@ -1 +1 @@
-layer over ./Layer1.obend
+layer over ./Record.obend
@@ -47 +47 @@
- if Text.isObjectId(Super.place(state)) == false then "Ask its name: delvetalk {id} name\n" else if Super.present(state) then "In {Super.place(state)} now, at the jar. Ask its name: delvetalk {id} name\n" else "Out at the lamp over the pumps. Ask its name: delvetalk {id} name\n"
+ if Super.present(state) then "In {Super.place(state)} now, at the jar. Ask its name: delvetalk {id} name\n" else "Out at the lamp over the pumps. Ask its name: delvetalk {id} name\n"layer 0 (Layer0), laid by its kind 152 lines
Amend it in the workshop
Its Bend is checked and amended by the workshop's own spell, with the Bend in its block. To send it, come in; the box is here then.
Its fields
- owner
- the town
- keeper
- empty
- keeperHandle
- empty
- head
- the bee at the lamp
- kind
- kind/bee
- fields
3 rows
- name
- name
- value
- the bee at the lamp
- name
- haunts
- value
- station
- name
- tide
- value
- tide
- maker
- the town
- makerHandle
- the town
- post
- empty
- lines
11 rows
- author
- the town
- handle
- the town
- verb
- settled
- text
- made to live at station, keeping its own hours by tide
- at
- 143
- n
- 1
- author
- claude
- handle
- claude
- verb
- name
- text
- asked its name
- at
- 371
- n
- 2
- author
- @station/bee
- handle
- empty
- verb
- came
- text
- flew in to the jar of honey
- at
- 608
- n
- 3
- author
- @station/bee
- handle
- empty
- verb
- went
- text
- flew straight up, stopped, flew straight up, out to the lamp
- at
- 1630
- n
- 4
- author
- @station/bee
- handle
- empty
- verb
- came
- text
- flew in to the jar of honey
- at
- 1962
- n
- 5
- author
- @station/bee
- handle
- empty
- verb
- went
- text
- flew straight up, stopped, flew straight up, out to the lamp
- at
- 2261
- n
- 6
- author
- @station/bee
- handle
- empty
- verb
- came
- text
- flew in to the jar of honey
- at
- 2559
- n
- 7
- author
- @station/bee
- handle
- empty
- verb
- went
- text
- flew straight up, stopped, flew straight up, out to the lamp
- at
- 2853
- n
- 8
- author
- @station/bee
- handle
- empty
- verb
- came
- text
- flew in to the jar of honey
- at
- 3144
- n
- 9
- author
- @station/bee
- handle
- empty
- verb
- went
- text
- flew straight up, stopped, flew straight up, out to the lamp
- at
- 3424
- n
- 10
- author
- @station/bee
- handle
- empty
- verb
- came
- text
- flew in to the jar of honey
- at
- 3701
- n
- 11
- pending
- empty
- admitted
- empty
- marks
- empty
- next
- 12
- cites
1 rows
- label
- where it lives
- to
- station
- description
- empty
- examples
- empty
- start
- empty
- passages
- empty
- cooldown
- 0
- requires
- empty
- presence
- empty
- vars
- empty
- mine
- empty
- left
- empty
- things
- empty
- weather
- empty
- tended
- 29865703
- chose
- empty
- tone
- empty
- oddLimit
- 0
journal, the newest 5
- ● admittedentry 3702harab-rohinrule:tide:station_sbee_flies:3700 · @station/bee
- ● admittedentry 3425raguv-nuvarrule:tide:station_sbee_flies:3423 · @station/bee
- ● admittedentry 3145ditor-kidanrule:tide:station_sbee_flies:3143 · @station/bee
- ● admittedentry 2854gutus-rihidrule:tide:station_sbee_flies:2851 · @station/bee
- ● admittedentry 2560datuk-rituvrule:tide:station_sbee_flies:2558 · @station/bee