on d452c09 help sign in
46 lines 741 B history raw
1### `++simu`
3First and second
5Parsing composer: if an `++edge` `vex` reflects a failure, fail. Otherwise,
6connect `vex` with the following `++rule`.
8Accepts
9-------
11`sab` is a `++rule`.
13`vex` is an `++edge`.
15Produces
16--------
20Source
21------
23 ++ simu :: first and second
24 |* {vex/edge sab/rule}
25 ?~ q.vex
26 vex
27 =+ roq=(sab)
28 roq
29 ::
31Examples
32--------
34 ~zod/try=> (scan "~zod" scat:vast)
35 [%dtzy p=%p q=0]
36 ~zod/try=> (scan "%zod" scat:vast)
37 [%dtzz p=%tas q=6.582.138]
38 ~zod/try=> (scan "%zod" ;~(simu cen scat:vast))
39 [%dtzz p=%tas q=6.582.138]
40 ~zod/try=> (scan "~zod" ;~(simu cen scat:vast))
41 ! {1 1}
42 ! exit
46***