2020-11-10 这里要按次序改进算法

z@z-ThinkPad-X200T:~/Public$ cat 1/project.json | sed 's/blocks/\n\nblocks/g' | grep flagclicked | sed 's/\(.\{24\}"opcode"\)/\n\n\1/g' | grep "procedures_call\|flagclicked"

"%%f,gG}b;{mRA_LHO5H2":{"opcode":"event_whenflagclicked","next":"4u;t@}kvGf$VY0Z#K2]%","parent":null,"inputs":{},"fields":{},"shadow":false,"topLevel":true,"x":554,"y":153},

"4u;t@}kvGf$VY0Z#K2]%":{"opcode":"procedures_call","next":"9DCuK#/./PlHDqq?MF6~","parent":"%%f,gG}b;{mRA_LHO5H2","inputs":{},"fields":{},"shadow":false,"topLevel":false,"mutation":{"tagName":"mutation","children":[],"proccode":"显示所有 ","argumentids":"[]","warp":"false"}},

"Sj}`f2a1QRXO8jHHF__F":{"opcode":"procedures_call","next":"DS)`p=H.tY$7R5[mi;p-","parent":"9DCuK#/./PlHDqq?MF6~","inputs":{"q|MIT5WAfTWSAWTvnz-+":[1,[10,"4"]],"C^RZ.*WsbA4O8e|6~`E0":[1,[10,"4"]]},"fields":{},"shadow":false,"topLevel":false,"mutation":{"tagName":"mutation","children":[],"proccode":"查找  ","argumentids":"[\"q|MIT5WAfTWSAWTvnz-+\",\"C^RZ.*WsbA4O8e|6~`E0\"]","warp":"false"}},

"DS)`p=H.tY$7R5[mi;p-":{"opcode":"procedures_call","next":null,"parent":"Sj}`f2a1QRXO8jHHF__F","inputs":{"O5jXsR.FX+}O{=UY~m3f":[1,[10,"6"]]},"fields":{},"shadow":false,"topLevel":false,"mutation":{"tagName":"mutation","children":[],"proccode":"随机 3个","argumentids":"[\"O5jXsR.FX+}O{=UY~m3f\"]","warp":"false"}},

"9DCuK#/./PlHDqq?MF6~":{"opcode":"procedures_call","next":"Sj}`f2a1QRXO8jHHF__F","parent":"4u;t@}kvGf$VY0Z#K2]%","inputs":{"e`(MK^

最后这个,在逻辑上应当不是最后,要按逻辑关系整理出来。

你可能感兴趣的:(2020-11-10 这里要按次序改进算法)