-
Notifications
You must be signed in to change notification settings - Fork 5
/
mycotrds.b98
64 lines (61 loc) · 5.5 KB
/
mycotrds.b98
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
62
63
64
1y2%!#v_"SDRT"4 #v(na".SDRT dedaoL">:#,_ a"..."v v"Need Befunge-98."+550
>na"SDRT tset t'nac ,tnerrucnoc ton smialc y1 "$ >:#,_@
>na".dedaol ton SDRT" ^
vp22_,#! #:<"Splitting IP, concurrency better work"<
>122#vt#vSg\$#v_a"krow ot smees S :DOOG">:#,_'v65p#vC22g!#v_a"skrow C :DOOG" v
>p@ >a"krow t'nseod S :DAB"v >na"stcelfer C :DAB">:#,_@
p >na"stcelfer S :DAB" >:#,_ v $
v @ >a"krow t'nseod C :DAB">:#,_n
#
>a"...emit seunitnoc deppots si emit elihw PI eht gnitanimret fi gnikcehC">:#,_ #vtS@
v"in case of failure, q will be used to quit."a _,#! #:<"GOOD: apparently it does"a<
>" ...levart emit tset ot gnitratS"a>:#,_a".detaeper eb t'ndluohs nurer eht gnirud tuptuo ,orez tniop"v
v a"But note that if jumping backwards in time is implemented as rerunning from "<
>".desufnoc si reterpretni eht ,seilamona rehto era ereht ro segnahc tuptuo eht fo yna fI " v
v_,#! #:<"Much of the output up to and after now, including this, will be output many times."<
>#vt>< v v _,#! #:<"GOOD: 01-0V didn't reflect"aVv#0-1 _,#! #:<
>"SDRT"4(n f6*aa+#vDa"tcelfer t'ndid D+aa*6f :DOOG">:#,_8d9a+** #vTa"tcelfer t'ndid T**+a9d8 :DOOG"^
; >na"detcelfer D+aa*6f :DAB">:#,_q >na"detcelfer T**+a9d8 :DAB">:#,_q
>na"ylreporp emit hguorht pmuj t'nseod J :DAB" ^ > na"detcelfer V0-10 :DAB"^< :
|!g11_,#! #:<"GOOD: stack retained after J"a _v# ,k*b2pe2$'zzzz"GOOD: J jumps in space"a v#< "
^"BAD: stack not retained after J"an< >;#_,#! #:<"BAD: V doesn't work"a0<;^ B
>a"emit hguorht pmuj ot sraeppa J :DOOG">:#,_#vI>a"..gnipmuj ,tcelfer t'ndid I :DOOG"3b*k, #vJ A
; > na"detcelfer I :DAB" #D^
v$ < q_,#! #:<"BAD: J reflected trying to jump back to the future"an< :
>#vG0" dehsup G :FEDNU">:#,_$.a")6985 eb dluohs ,DOOG saw gnihtyreve fi(">:#,_11pv "
>na"stcelfer G :DAB" >:#,_$zzzz1111111111111111111111111111111111111111>:#$_11pv
>na"pmuj detnaw od tonnac ,egral oot si P :DEFNU" ^
v"jumping to tick 1976..."a_^#!`\ ,a. zzz,kd"UNDEF: P gave ":Pv# *+**9ad13<
>" ,enif si lav-P :DOOG"4b*k,zz 1#vJv >na"stcelfer P" ^
X > >na"detcelfer J" ^
v_,#! #:<a"GOOD: came back with IJ, IPs with same ID can coexist"an< ;
#> na"stcelfer R" ^
>^ > na"detcelfer E10" ^ <
R >na"detcelfer U-*:*aa0"^
>a"tcelfer t'ndid R :DOOG">:#,_1-#^Ea"tcelfer t'ndid E-100 :DOOG">:#,_aa*:*-#^U0a"tcelfer t'ndid U-*:" v
v"d end up at the time that P gave..."a_v#!`+*8ó'\,a.,kd"UNDEF: P gave ":Pp+885: '_,#! #:<"GOOD: 0aa*" <
' >na"pmuj detnaw od tonnac ,egral oot si P :DEFNU" ^
l 012p@
>"uohs ,00001- kcit ta @ a ot gnipmuj ,enif si lav-P :DOOG"8a*c+k,#vJ;
" @ > ^ > ^ <<
>12g#^_n"$"d5*85*pzzv
vzzzzzzzzzzzzzzzzzzzzzzzzzzz<
>a"dedeeccus evah ot sraeppa emit tseilrae eht ot pmuj :DOOG"a>:#,_#vt"SDRT"4(nzzzzzzzzzzzzzzzv ;
v"from being born..."a_^#!`\,a. zzz,kd"UNDEF: P gave ":P T:**+*aa789>#;"SDRT"4(n#;< z J^#E40T<
"estroyed the t instruction that made me, setting Tardis with T and E and jumping back..."<vzzz-1*a9D'
>" fles tneverp ot 4077 kcit ot gniog ,enif si lav-P :DOOG"7a*4+k,z#vJ' 7a*1-4b*p'$d5*4b*pa^>z k,79bc***^
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz$>#zzzzzzzzzzzzzzzzzzzzzz #< ^ ; v
v"er back to wait for the first to arrive..."a ,k*57azz "GOOD: got back and am still alive."a< 5
>"htruf pmuj rehtona dna ,kcab pmuj ot tuoba PI enO"9a*1+k,zzzz 77abb***+ T 169*D v a
vzz "GOOD: P-val is fine for both jumps..."a_v#!`\,a. zzz,kd"UNDEF: P gave ":P ***dda5 < d
>73a*+k,#vJ >zzzzzzzzzzzzzzzzzzzzzzzzv >na"pmuj detnaw od tonnac ,egral oot si P :DEFNU">:#,_ q d
> #^zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz#< > > ^ *
132pa".pmuj ts1 diD"dk,zzz @ >a"emit no devirra PI ts1 :DOOG"47*zzzz]"Doing 2nd jump..."aD*b51T**<
>032p'$:74d*p29a*+87*pzzzzzzzzzz32g|z > >k,I#^J
v; >a"emit no evirra t'ndid PI ts1 :FEDNU"57*zzzz^; J^# $_,#! #:<zzz<
z vzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz<
>$$zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz^
>zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz^
>a"...89b.sdrtocym gnitixe ,enod llA"aa".enif si emit dnoces eht ylno gnivirra tI"v
v "Note that if the first IP didn't arrive on time both times, that is BAD."a<
>a"gnitset PI elpitlum morf denruter :DOOG"a>:#,_@