on 492ae2f help sign in
44 lines 571 B history raw
1### `++bass`
3Parser modifier: LSB
4ordered `++list` as atom of a `++base`.
6Accepts
7-------
9`wuc` is an atom.
11`tyd` is a `++rule`.
13Produces
14--------
16A `++rule`.
18Source
19------
21 ++ bass
22 |* {wuc/@ tyd/rule}
23 %+ cook
24 |= waq/(list @)
25 %+ roll
26 waq
27 =|({p/@ q/@} |.((add p (mul wuc q))))
28 tyd
29 ::
32Examples
33--------
35 ~zod/try=> (scan "123" (bass 10 (star dit)))
36 q=123
37 ~zod/try=> (scan "123" (bass 8 (star dit)))
38 q=83
39 ~zod/try=> `@ub`(scan "123" (bass 8 (star dit)))
40 0b101.0011
44***