on 492ae2f help sign in
30 lines 672 B history raw
1### `++rule`
3Parsing rule
5`++rule` is an empty parsing rule, but it is used to check
6that parsing rules match this with `_`.
9Source
10------
12 ++ rule _|=(nail *edge) :: parsing rule
15Examples
16--------
18 ~zod/try=> *rule
19 [p=[p=0 q=0] q=[~ [p=0 q=[p=[p=0 q=0] q=""]]]]
21 ~zod/try=> ^+(rule [|=(a=nail [p.a ~])]:|6)
22 <1.dww [tub=[p=[p=@ud q=@ud] q=""] <101.jzo 1.ypj %164>]>
23 ~zod/try=> (^+(rule [|=(a=nail [p.a ~ u=['a' a]])]:|6) [1 1] "hi")
24 [p=[p=1 q=1] q=[~ [p=97 q=[p=[p=1 q=1] q="hi"]]]]
25 ~zod/try=> ([|=(a=nail [p.a ~ u=['a' a]])]:|6 [1 1] "hi")
26 [[p=1 q=1] ~ u=['a' p=[p=1 q=1] q="hi"]]
30***