Files
mixly3/boards/default/python_mixpy/examples/人工智能mix/09词法分析.mix
2024-07-19 10:16:00 +08:00

1 line
4.2 KiB
XML

<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_client\" id=\"}jn9cknbK$LIdV3?Q-W+\" x=\"-122\" y=\"-47\"><field name=\"CTYPE\">AipNlp</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"5Xrf){C(qY@V[G9$Zelv\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"Rf@b+ryX.xv(,O|USF/4\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"=6X9W(-=tajViD0oGm]f\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\"01wVjI`6%:rar45$=d1L\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"variables_set\" id=\"[EJXW%pM2wT=CciIcU@A\"><field name=\"VAR\">s</field><value name=\"VALUE\"><block type=\"text\" id=\"),pL}Ie`UUf[D9@A!lN4\"><field name=\"TEXT\"></field></block></value><next><block type=\"controls_forEach\" id=\"aA,Vwz!`%~WRs1qC4-p@\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"dicts_get\" id=\"x$P;9bcu@g(hH(r1Txyo\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"]laU/N5mAWpV,qR!(!E{\"><field name=\"VAR\">mydict</field></shadow><block type=\"AI_Nlp\" id=\"x*9c^.W%RxM]AZNfJB?d\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"o./{=o/?80H*D||hjT1A\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Nlp_Func\" id=\"?StfD}dgU;BIyu]#h)J*\"><field name=\"TYPE\">lexer</field></shadow></value><value name=\"STR\"><shadow type=\"text\" id=\"cVXNfiLq:%bsO|go5P?:\"><field name=\"TEXT\">\u6211\u7231\u7C73\u601D\u9F50</field></shadow></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"*9cP;7)Q9Hcte~?I-=nh\"><mutation items=\"0\"></mutation></block></value></block></value><value name=\"KEY\"><shadow type=\"text\" id=\"$hLz3zJ$)_+UQK__1yRu\"><field name=\"TEXT\">items</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"9K9uR1O9},(FC`D~$t1K\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"controls_if\" id=\"6/hLH#phpV_Ow+,2%~C{\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"M;w!c1bR59ofAlLa8$G$\"><field name=\"OP\">NEQ</field><value name=\"A\"><block type=\"variables_get\" id=\"RL|X.hO=$IbG1gsrC7:s\"><field name=\"VAR\">s</field></block></value><value name=\"B\"><block type=\"text\" id=\"/;eR03kp6)VtQPEsk_Vt\"><field name=\"TEXT\"></field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"gXj_H64F*~?!#7#.QUOJ\"><field name=\"VAR\">s</field><value name=\"VALUE\"><block type=\"text_join\" id=\"M!f-z1LD-QF-TRY0I^SN\"><value name=\"A\"><shadow type=\"text\" id=\"^p!kUn8FUqt_O~.1:1S5\"><field name=\"TEXT\">Hello</field></shadow><block type=\"variables_get\" id=\"L8[cC!%/jC7ej`a09E]j\"><field name=\"VAR\">s</field></block></value><value name=\"B\"><shadow type=\"text\" id=\"aMVcaw2XHy.f1AA;$E}@\"><field name=\"TEXT\">/</field></shadow></value></block></value></block></statement><next><block type=\"variables_set\" id=\"7KYatlu.I|RQA(v*7)81\"><field name=\"VAR\">s</field><value name=\"VALUE\"><block type=\"text_join\" id=\"di|avjE^BaC+TpgIVN*{\"><value name=\"A\"><shadow type=\"text\" id=\"^p!kUn8FUqt_O~.1:1S5\"><field name=\"TEXT\">Hello</field></shadow><block type=\"variables_get\" id=\"K[/E8uu?X2N,qu]2@HEq\"><field name=\"VAR\">s</field></block></value><value name=\"B\"><shadow type=\"text\" id=\"TJvzo-`!w9f5ia-]8iS@\"><field name=\"TEXT\">/</field></shadow><block type=\"dicts_get\" id=\"5Pq5P3=1mtLljb~hA]y4\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"#lv+IF6%7@kH!gZih:p7\"><field name=\"VAR\">i</field></shadow></value><value name=\"KEY\"><shadow type=\"text\" id=\"6X@-idJP-wTp3`?yIymK\"><field name=\"TEXT\">item</field></shadow></value></block></value></block></value></block></next></block></statement><next><block type=\"inout_print\" id=\"19V/ut%[2r%?1r/V*^kX\"><value name=\"VAR\"><shadow type=\"text\" id=\"o.t2ooo:U7p_]a(`s9/?\"><field name=\"TEXT\">Hello</field></shadow><block type=\"variables_get\" id=\"VuU.sa|t$oaw/WkmxF*}\"><field name=\"VAR\">s</field></block></value></block></next></block></next></block></next></block></xml>