1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//! **The enrolment grammar** (REMOTE §1.4 as amended, §4.2, §8.4) — `/enroll`'s
//! two positional words and its one flag, in its own file beside the other
//! per-family grammars ([`fan`](super::fan), [`fork`](super::fork),
//! [`tools`](super::tools)) rather than in [`verbs`](super::verbs), which took
//! it past §12's cap when the flag landed (bl-fec6). The seam is the same one
//! those three are cut on: a verb whose grammar is more than words is its own
//! file.
use ;
use crate;
/// The one flag `/enroll` reads — the address the device will dial (bl-fec6),
/// spelled once so the parser, the speller and the page cannot disagree.
const AT: &str = "at";
/// `/enroll <common-name> [foot|thrall] [--at <host:port>]` — REMOTE §1.4's
/// enrollment, typed
/// (bl-f4e3; brands read since bl-427b).
///
/// The common name is the one fact no seat's context holds: it names a machine
/// that has never connected, so nothing on this side can have it selected. The
/// workspace it seats the new client in is the seat's own, exactly as
/// `/marks`' and `/clients`' are.
///
/// **Bare is operator grade** (§4.2's default-operator, made typable): there is
/// one word to add and adding it is the demotion, so no spelling can promote a
/// foot by accident. **Two vocabularies read, one spells** (bl-427b): the
/// registry's own words (`foot`, and `operator` said outright) and the brands
/// an operator says out loud (`thrall`, `lernie`) both parse — `foot` without
/// context confused exactly the operator this verb serves — while `spell`
/// emits only the registry's word, so a spelled line round-trips in one
/// vocabulary. Anything else refuses naming the token rather than rounding to
/// either grade.
pub