Inspecting kind/beacon · the kinds · the language · the modules
kind/beacon
- id
- kind/beacon
- kind chain
- kind/beacon → record
- owner
- wiki
- made by
- wiki
- version
- 5
- pin
- kotap-talis
- state
- 252 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.
| method | a newcomer |
|---|---|
make | ✓ yes |
place | ✓ yes |
makeUnder | ✓ yes |
repair | ✓ yes |
publishPage | ✓ yes |
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 form, the law, the head, the voice, what it is or the body; anyone makes, 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(form))) and (unchanged(law))) and (unchanged(head))) and (unchanged(voice))) and (unchanged(about))) and (unchanged(body)))) - law kind kinds's law holds
under "kinds"
Its Bend
what it runs: its entry module 16 lines
layer over ./Kind.obend
edition ObjectiveBend 1
import ./Abi.obend as Abi
import ./List.obend as Lists
import ./Form.obend as Form
import ./Rows.obend as Rows
type State = Super.State
form make:
light: text 1..80
def make(state: State, input: MakeInput, context: Abi.Context) -> Activity<Super.Done>:
Super.making(state, Lists.List.cons({head: {name: "light", value: input.light}, tail: Lists.List.nil()}), "", context)
form place:
light: text 1..80
id: text 1..64
def place(state: State, input: PlaceInput, context: Abi.Context) -> Activity<Super.Done>:
Super.making(state, Lists.List.cons({head: {name: "light", value: input.light}, tail: Lists.List.cons({head: {name: "id", value: input.id}, tail: Lists.List.nil()})}), "", context)
Its fields
- owner
- wiki
- ownerHandle
- wiki
- name
- beacon
- of
- record
- form
- light: text 1..80
- law
- law maker "only its maker writes": request.subject == new.maker
- head
- empty
- voice
- empty
- about
- empty
- body
- empty
- made
1 rows
- object
- beacon/1
- n
- 1
- about
- empty
- count
- 1