nodeskini 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/blocklySkini/blocklySkini.html +5 -1
  2. package/blocklySkini/scripts/hiphop_blocks.js +5 -6
  3. package/client/clientListe/clientListe.js +11 -0
  4. package/client/clientListe/clientListebundle.js +1755 -1909
  5. package/client/controleurHH/controleurHH.html +4 -0
  6. package/client/queueViewer/queue.html +34 -0
  7. package/client/queueViewer/queue.js +187 -0
  8. package/client/queueViewer/style.css +26 -0
  9. package/client/score/parto1.js +14 -11
  10. package/client/score/parto1bundle.js +55 -33
  11. package/client/score/score.html +8 -7
  12. package/doc/Doc Skini Node english.pdf +0 -0
  13. package/doc/Mode d'emploi Skini Node.pdf +0 -0
  14. package/doc/Tuto Skini.pdf +0 -0
  15. package/doc/quickstart.pdf +0 -0
  16. package/myReact/orchestrationHH.hh.js +147 -1843
  17. package/myReact/orchestrationHH.mjs +50 -231
  18. package/myReact/orchestrationHH.mjs.map +1 -1
  19. package/package.json +11 -8
  20. package/pieces/tutos/demoAbleton.csv +21 -0
  21. package/pieces/tutos/demoAbleton.js +100 -0
  22. package/pieces/tutos/demoAbleton.xml +180 -0
  23. package/pieces/tutos/demoHH.js +99 -0
  24. package/pieces/tutos/demoHH.xml +184 -0
  25. package/pieces/tutos/demoHHwait.js +100 -0
  26. package/pieces/tutos/demoHHwait.xml +175 -0
  27. package/pieces/tutos/tuto.csv +10 -0
  28. package/pieces/tutos/tuto.csv.good +1 -0
  29. package/pieces/tutos/tuto1.js +105 -0
  30. package/pieces/tutos/tuto1.xml +147 -0
  31. package/pieces/tutos/tuto10.back.js +106 -0
  32. package/pieces/tutos/tuto10.js +107 -0
  33. package/pieces/tutos/tuto10.xml +199 -0
  34. package/pieces/tutos/tuto11.js +111 -0
  35. package/pieces/tutos/tuto11.xml +124 -0
  36. package/pieces/tutos/tuto12.js +91 -0
  37. package/pieces/tutos/tuto12.xml +258 -0
  38. package/pieces/tutos/tuto2.back.js +106 -0
  39. package/pieces/tutos/tuto2.js +95 -0
  40. package/pieces/tutos/tuto2.xml +94 -0
  41. package/pieces/tutos/tuto3-2.js +105 -0
  42. package/pieces/tutos/tuto3-2.xml +96 -0
  43. package/pieces/tutos/tuto3.js +97 -0
  44. package/pieces/tutos/tuto3.xml +49 -0
  45. package/pieces/tutos/tuto4.js +107 -0
  46. package/pieces/tutos/tuto4.xml +106 -0
  47. package/pieces/tutos/tuto5.js +109 -0
  48. package/pieces/tutos/tuto5.xml +42 -0
  49. package/pieces/tutos/tuto6.js +105 -0
  50. package/pieces/tutos/tuto6.xml +26 -0
  51. package/pieces/tutos/tuto7.js +107 -0
  52. package/pieces/tutos/tuto7.xml +65 -0
  53. package/pieces/tutos/tuto8.js +105 -0
  54. package/pieces/tutos/tuto8.xml +76 -0
  55. package/pieces/tutos/tuto9.js +107 -0
  56. package/pieces/tutos/tuto9.xml +90 -0
  57. package/pieces/tutos/tutoAwait.js +111 -0
  58. package/pieces/tutos/tutoAwait.xml +171 -0
  59. package/pieces/tutos/tutoDoubleEmission.js +93 -0
  60. package/pieces/tutos/tutoDoubleEmission.xml +65 -0
  61. package/pieces/tutos/tutoESP32.js +104 -0
  62. package/pieces/tutos/tutoESP32.xml +246 -0
  63. package/pieces/tutos/tutoGame.js +126 -0
  64. package/pieces/tutos/tutoGame.xml +109 -0
  65. package/pieces/tutos/tutoGroups1.js +111 -0
  66. package/pieces/tutos/tutoGroups1.xml +137 -0
  67. package/pieces/tutos/tutoGroups2.js +97 -0
  68. package/pieces/tutos/tutoGroups2.xml +103 -0
  69. package/pieces/tutos/tutoGroups3.js +111 -0
  70. package/pieces/tutos/tutoGroups3.xml +128 -0
  71. package/pieces/tutos/tutoGroups4.js +111 -0
  72. package/pieces/tutos/tutoGroups4.xml +84 -0
  73. package/pieces/tutos/tutoIZ.js +95 -0
  74. package/pieces/tutos/tutoIZ.xml +135 -0
  75. package/pieces/tutos/tutoIf.js +111 -0
  76. package/pieces/tutos/tutoIf.xml +126 -0
  77. package/pieces/tutos/tutoMidi.js +126 -0
  78. package/pieces/tutos/tutoMidi.xml +62 -0
  79. package/pieces/tutos/tutoOS.js +121 -0
  80. package/pieces/tutos/tutoOSC.js +109 -0
  81. package/pieces/tutos/tutoOSC.xml +223 -0
  82. package/pieces/tutos/tutoOSCJonathan.js +94 -0
  83. package/pieces/tutos/tutoOSCJonathan.xml +312 -0
  84. package/pieces/tutos/tutoPatternInGroup.js +109 -0
  85. package/pieces/tutos/tutoPatternInGroup.xml +116 -0
  86. package/pieces/tutos/tutoRandomBlock.js +129 -0
  87. package/pieces/tutos/tutoRandomBlock.xml +194 -0
  88. package/pieces/tutos/tutoSuspend.js +107 -0
  89. package/pieces/tutos/tutoSuspend.xml +139 -0
  90. package/pieces/tutos/tutoSustain.js +107 -0
  91. package/pieces/tutos/tutoSustain.xml +109 -0
  92. package/pieces/tutos/tutoTank.csv +9 -0
  93. package/pieces/tutos/tutoTank.js +100 -0
  94. package/pieces/tutos/tutoTank.xml +326 -0
  95. package/pieces/tutos/tutoTestAll.csv +11 -0
  96. package/pieces/tutos/tutoTestAll.hh.js +401 -0
  97. package/pieces/tutos/tutoTestAll.js +101 -0
  98. package/pieces/tutos/tutoTestAll.xml +866 -0
  99. package/serveur/OSCandMidi.mjs +27 -3
  100. package/serveur/controleDAW.mjs +2 -1
  101. package/serveur/groupeClientsSons.mjs +27 -3
  102. package/serveur/ipConfig.json +2 -2
  103. package/serveur/skiniParametres.js +55 -10
  104. package/serveur/utilsSkini.mjs +1 -1
  105. package/serveur/websocketServer.mjs +14 -4
  106. package/skini.mjs +4 -0
  107. package/blocklySkini/archive/blocklyControleur.js +0 -87
  108. package/blocklySkini/archive/blocklySkini.js +0 -84
  109. package/blocklySkini/archive/blocklyhop.js +0 -75
  110. package/blocklySkini/archive/clientControleurBlocly.js +0 -170
  111. package/blocklySkini/archive/index.html +0 -76
  112. package/blocklySkini/archive/testHHsuspend.txt +0 -89
  113. package/blocklySkini/archive/testHHtrap.txt +0 -262
  114. package/blocklySkini/archive/testOrchestration.txt +0 -177
  115. package/blocklySkini/archive/testOrchestration.xml +0 -447
  116. package/blocklySkini/archive/testOrchestration2.xml +0 -456
  117. package/blocklySkini/scripts/hiphop_blocks.old.js +0 -3010
  118. package/blocklySkini/scripts/hiphop_blocks11-2025.js +0 -6104
  119. package/myReact/archive/Nodeemitvaluedlocal1.hh.js +0 -52
  120. package/myReact/archive/abort-parNode.js +0 -79
  121. package/myReact/archive/abroNode.js +0 -169
  122. package/myReact/archive/abroNode2.js +0 -80
  123. package/myReact/archive/atom.compile.hh.js +0 -52
  124. package/myReact/archive/await-countNode.js +0 -67
  125. package/myReact/archive/await-nowvalNode.js +0 -44
  126. package/myReact/archive/callHH.js +0 -96
  127. package/myReact/archive/emit-if2.hh.compiled.js +0 -113
  128. package/myReact/archive/every1Node.js +0 -35
  129. package/myReact/archive/if-runNode.js +0 -74
  130. package/myReact/archive/if1Node.js +0 -43
  131. package/myReact/archive/makeawait.js +0 -0
  132. package/myReact/archive/myReact.old.js +0 -684
  133. package/myReact/archive/orchestration.js +0 -281
  134. package/myReact/archive/orchestration1.js +0 -132
  135. package/myReact/archive/orchestration1.xml +0 -465
  136. package/myReact/archive/orchestration2.js +0 -161
  137. package/myReact/archive/orchestrationHH.mano.js +0 -280
  138. package/myReact/archive/orchestrationHHTest.js +0 -428
  139. package/myReact/archive/orchestrationHHTest.xml +0 -234
  140. package/myReact/archive/orchestrationHHTestRun.js +0 -104
  141. package/myReact/archive/orchestrationHHTestRun.xml +0 -34
  142. package/myReact/archive/orchestrationTest0.js +0 -178
  143. package/myReact/archive/orchestrationTest1.js +0 -181
  144. package/myReact/archive/orchestrationTest2.js +0 -281
  145. package/myReact/archive/run3pointsNode.js +0 -59
  146. package/myReact/archive/runNode.js +0 -123
  147. package/myReact/archive/runNode2.js +0 -91
  148. package/myReact/archive/testAwait1.js +0 -141
  149. package/myReact/archive/testAwait1.xml +0 -86
  150. package/myReact/archive/testEvery1.js +0 -122
  151. package/myReact/archive/testEvery1.xml +0 -79
  152. package/myReact/archive/testHH1.js +0 -135
  153. package/myReact/archive/testHH1.xml +0 -86
  154. package/myReact/archive/testHH1revu.js +0 -104
  155. package/myReact/archive/testHH2.js +0 -122
  156. package/myReact/archive/testHH2.xml +0 -79
  157. package/myReact/archive/testHH3.js +0 -130
  158. package/myReact/archive/testHH3.xml +0 -86
  159. package/myReact/archive/testHHabort.js +0 -121
  160. package/myReact/archive/testHHabort.xml +0 -83
  161. package/myReact/archive/testMakeawait.js +0 -202
  162. package/myReact/archive/testRun1.js +0 -168
  163. package/myReact/archive/testRun1.xml +0 -142
  164. package/myReact/archive/titi.js +0 -28
  165. package/myReact/archive/titi.xml +0 -110
  166. package/myReact/archive/toto.js +0 -73
  167. package/myReact/archive/toto.xml +0 -198
  168. package/myReact/archive/trap-await-parallelNode.js +0 -123
  169. package/myReact/inutiles/hiver2022.xml +0 -804
  170. package/myReact/inutiles/hopeNode.xml +0 -459
  171. package/myReact/inutiles/mars2022.xml +0 -871
  172. package/myReact/inutiles/mystique1.xml +0 -318
  173. package/myReact/inutiles/mystiqueOSC.xml +0 -277
  174. package/myReact/inutiles/opus5Node.xml +0 -1271
  175. package/myReact/inutiles/opus5NodeLinux.xml +0 -1241
  176. package/myReact/inutiles/orchestrationHH.xml +0 -541
  177. package/myReact/inutiles/orchestrationHH2.xml +0 -547
  178. package/myReact/inutiles/testHH.xml +0 -95
  179. package/myReact/inutiles/trouveLaPercuTenor.xml +0 -349
@@ -1,142 +0,0 @@
1
- <xml xmlns="https://developers.google.com/blockly/xml">
2
- <variables>
3
- <variable id="F`_Bt{-~uAL(p*!L}D7b">sub1</variable>
4
- <variable id="0^7$5-;a/K@2Cz|KaQ9C">toto</variable>
5
- <variable id="(2c$M@^y9[abd!HliHvm">titi</variable>
6
- </variables>
7
- <block type="hh_orchestration" id="Km0C#~!Ug+_Sl82?#rxU" x="120" y="45">
8
- <field name="trajet">1</field>
9
- <statement name="MODULES">
10
- <block type="hh_module" id="4#]%A=PmO!g{s?FRhu*G">
11
- <value name="NAME">
12
- <block type="variables_get" id="tJ(1b_.SfO@Y5tY0uZ6z">
13
- <field name="VAR" id="F`_Bt{-~uAL(p*!L}D7b">sub1</field>
14
- </block>
15
- </value>
16
- <statement name="SIGNALS">
17
- <block type="hh_declare_signal" id="=M)p|,F1:O_()O#1{fAe">
18
- <field name="TYPE">IN</field>
19
- <value name="signal">
20
- <block type="variables_get" id="2?vuY1Nx1gE^zCZdP3tO">
21
- <field name="VAR" id="0^7$5-;a/K@2Cz|KaQ9C">toto</field>
22
- </block>
23
- </value>
24
- </block>
25
- </statement>
26
- <statement name="BODY">
27
- <block type="hh_wait_for" id="7o_F,=[9]}wMtRs~4T?c">
28
- <field name="TIMES">1</field>
29
- <value name="SIGNAL">
30
- <block type="variables_get" id="J:Q8GGk:wFV5Ex2`Lsyq">
31
- <field name="VAR" id="0^7$5-;a/K@2Cz|KaQ9C">toto</field>
32
- </block>
33
- </value>
34
- <next>
35
- <block type="hh_print_serveur" id="kxff*jn$p}Kh[|g^b+r|">
36
- <value name="TEXT">
37
- <block type="text" id="6N??!s_,bJa!Yb8n$]I[">
38
- <field name="TEXT">Sub1</field>
39
- </block>
40
- </value>
41
- </block>
42
- </next>
43
- </block>
44
- </statement>
45
- </block>
46
- </statement>
47
- <statement name="SIGNALS">
48
- <block type="hh_declare_signal" id="|g6v*h`mK5j7}d`N|/zA">
49
- <field name="TYPE">IN</field>
50
- <value name="signal">
51
- <block type="variables_get" id="cq}f$~5{%h;w#?f6fHf{">
52
- <field name="VAR" id="0^7$5-;a/K@2Cz|KaQ9C">toto</field>
53
- </block>
54
- </value>
55
- <next>
56
- <block type="hh_declare_signal" id="lF#OIVFyRv~lXo,j?6zm">
57
- <field name="TYPE">OUT</field>
58
- <value name="signal">
59
- <block type="variables_get" id="bDqv}Hh=]KTEs04hrs{,">
60
- <field name="VAR" id="(2c$M@^y9[abd!HliHvm">titi</field>
61
- </block>
62
- </value>
63
- </block>
64
- </next>
65
- </block>
66
- </statement>
67
- <statement name="BODY">
68
- <block type="hh_fork" id="Bdf=*ZZ7az0Z`Twy3=pl">
69
- <statement name="BODY">
70
- <block type="hh_sequence" id="p;LrV!,jk+6SDBU=}rJo">
71
- <statement name="BODY">
72
- <block type="hh_print_serveur" id="XAKSu:fXW][BW)PJ`/$R">
73
- <value name="TEXT">
74
- <block type="text" id=")}Ffbd8nF-Ol0tNX^sxV">
75
- <field name="TEXT">message serveur</field>
76
- </block>
77
- </value>
78
- <next>
79
- <block type="hh_emit_value" id="pHuBchAQYvjaWmq}TsQ^">
80
- <field name="Signal_Value">25</field>
81
- <value name="SIGNAL">
82
- <block type="variables_get" id="4]g),jsSwOyCBi5[%H?+">
83
- <field name="VAR" id="0^7$5-;a/K@2Cz|KaQ9C">toto</field>
84
- </block>
85
- </value>
86
- </block>
87
- </next>
88
- </block>
89
- </statement>
90
- <next>
91
- <block type="hh_sequence" id="T;+r=a(KM/lp${YpO_j*">
92
- <statement name="BODY">
93
- <block type="hh_every" id="[zsK0sLpXVeU~cL|D|o#">
94
- <field name="TIMES">1</field>
95
- <value name="SIGNAL">
96
- <block type="variables_get" id="NvMl7XhY*80#~@?`=UP]">
97
- <field name="VAR" id="0^7$5-;a/K@2Cz|KaQ9C">toto</field>
98
- </block>
99
- </value>
100
- <statement name="BODY">
101
- <block type="hh_print_serveur" id="(=}lv]1iuuQZ#$bjyqXA">
102
- <value name="TEXT">
103
- <block type="text" id="RK_D:tH5QMu:[ssBu1gq">
104
- <field name="TEXT">message serveur 2</field>
105
- </block>
106
- </value>
107
- <next>
108
- <block type="hh_run" id="3q]RVv3;23/`cRS3Q+1f">
109
- <value name="MODULE">
110
- <block type="variables_get" id="X?LF)8+X+Je~(/u+:D@2">
111
- <field name="VAR" id="F`_Bt{-~uAL(p*!L}D7b">sub1</field>
112
- </block>
113
- </value>
114
- <value name="SIGNALS">
115
- <block type="lists_create_with" id="mgsBgfU=2Af2o={2gk9{">
116
- <mutation items="2"></mutation>
117
- <value name="ADD0">
118
- <block type="variables_get" id="?6dLx|(uZ.}%NCr3M{1r">
119
- <field name="VAR" id="0^7$5-;a/K@2Cz|KaQ9C">toto</field>
120
- </block>
121
- </value>
122
- <value name="ADD1">
123
- <block type="variables_get" id="f%+$oH#8Foq2w+Z0D@~e">
124
- <field name="VAR" id="(2c$M@^y9[abd!HliHvm">titi</field>
125
- </block>
126
- </value>
127
- </block>
128
- </value>
129
- </block>
130
- </next>
131
- </block>
132
- </statement>
133
- </block>
134
- </statement>
135
- </block>
136
- </next>
137
- </block>
138
- </statement>
139
- </block>
140
- </statement>
141
- </block>
142
- </xml>
@@ -1,28 +0,0 @@
1
- var mr = require("./myReactNodeSkini.js");
2
- mr.createSignal("toto");
3
-
4
- var instructions = [
5
- // Debut de par
6
- mr._par([
7
- // Debut de body
8
- [
9
- mr._emit("toto",0),
10
- mr._emit("titi",0),
11
- ],
12
-
13
- // Debut de body
14
- [
15
- mr._await_do("toto",1,() => {console.log("await do ->toto"); return true;}),
16
- mr._emit("tutu",0),
17
- mr._emit("tata",0),
18
- ],
19
- ]),
20
-
21
- // Debut de seq
22
- mr._seq([
23
- mr._emit("tata",0),
24
- mr._await_do("toto",1,() => {console.log("await do ->toto"); return true;}),
25
- mr._emit("tutu",0),]),
26
- ];
27
-
28
- var prog = mr.createModule(prog, instructions);
@@ -1,110 +0,0 @@
1
- <xml xmlns="https://developers.google.com/blockly/xml">
2
- <block type="orchestration" id="!he$,{:BvI4cMR~f;LCj" x="91" y="81">
3
- <field name="trajet">1</field>
4
- <statement name="SIGNALS">
5
- <block type="declare_signal" id="5::3QQ.v)zmb1Ob~FOu7">
6
- <value name="signal">
7
- <block type="text" id="o0X-03L8Q?/R-um$%s`r">
8
- <field name="TEXT">toto</field>
9
- </block>
10
- </value>
11
- </block>
12
- </statement>
13
- <statement name="BODY">
14
- <block type="par_body" id="-h,hX-..$g,mP+2,dveQ">
15
- <statement name="BODY">
16
- <block type="branch_body" id="{8.A!0#3K54g-|_sp3+I">
17
- <statement name="BODY">
18
- <block type="emit_value" id="8#fZ*V4|Yr5rAyv=C;^j">
19
- <field name="Signal_Value">0</field>
20
- <value name="SIGNAL">
21
- <block type="text" id="{v,kR9D@_bLgDl1-l(sw">
22
- <field name="TEXT">toto</field>
23
- </block>
24
- </value>
25
- <next>
26
- <block type="emit_value" id=";(+xfU~SaI:z:H0@TB-J">
27
- <field name="Signal_Value">0</field>
28
- <value name="SIGNAL">
29
- <block type="text" id="llJq9G8n+c#`o5|GXqh[">
30
- <field name="TEXT">titi</field>
31
- </block>
32
- </value>
33
- </block>
34
- </next>
35
- </block>
36
- </statement>
37
- <next>
38
- <block type="branch_body" id=")qmHrq!~~?Y{e2SN0amc">
39
- <statement name="BODY">
40
- <block type="await_do" id="}yDPpK1c_BwpNiH^+OV]">
41
- <field name="Signal_Value">1</field>
42
- <value name="SIGNAL">
43
- <block type="text" id="Osl}jDq|0l@U?=nW|[aK">
44
- <field name="TEXT">toto</field>
45
- </block>
46
- </value>
47
- <next>
48
- <block type="emit_value" id="inX0_qOx/?/U8eZ+3$V)">
49
- <field name="Signal_Value">0</field>
50
- <value name="SIGNAL">
51
- <block type="text" id="dn!!0PVVGl#/MP6x-62k">
52
- <field name="TEXT">tutu</field>
53
- </block>
54
- </value>
55
- <next>
56
- <block type="emit_value" id="ZES4IYL,nM]b@#2N:INp">
57
- <field name="Signal_Value">0</field>
58
- <value name="SIGNAL">
59
- <block type="text" id="uoejUoxEh~sBMYdmt4!k">
60
- <field name="TEXT">tata</field>
61
- </block>
62
- </value>
63
- </block>
64
- </next>
65
- </block>
66
- </next>
67
- </block>
68
- </statement>
69
- </block>
70
- </next>
71
- </block>
72
- </statement>
73
- <next>
74
- <block type="seq_body" id="glP?vu5%wUW/#aQ.lW(r">
75
- <statement name="BODY">
76
- <block type="emit_value" id="i?`)rv5ZPfu{C[?~*-v/">
77
- <field name="Signal_Value">0</field>
78
- <value name="SIGNAL">
79
- <block type="text" id="vP=Jw0sD2@nKM{fxGN{R">
80
- <field name="TEXT">tata</field>
81
- </block>
82
- </value>
83
- <next>
84
- <block type="await_do" id="Q*bTFZl(3:`PaTp~Rn@X">
85
- <field name="Signal_Value">1</field>
86
- <value name="SIGNAL">
87
- <block type="text" id="j8,c6D1)PHKju@SWJhFC">
88
- <field name="TEXT">toto</field>
89
- </block>
90
- </value>
91
- <next>
92
- <block type="emit_value" id="m-;kyD|n{:qGMJ:1`pTf">
93
- <field name="Signal_Value">0</field>
94
- <value name="SIGNAL">
95
- <block type="text" id="Z,[I7]$Q?Tx!6lcci3*S">
96
- <field name="TEXT">tutu</field>
97
- </block>
98
- </value>
99
- </block>
100
- </next>
101
- </block>
102
- </next>
103
- </block>
104
- </statement>
105
- </block>
106
- </next>
107
- </block>
108
- </statement>
109
- </block>
110
- </xml>
@@ -1,73 +0,0 @@
1
- var tete, unModule, titi, tutu, yaya;
2
-
3
-
4
-
5
- var mr = require("./myReact.min.js");
6
- mr.createSignal("tete");
7
- mr.createSignal("titi");
8
- mr.createSignal("tutu");
9
- mr.createSignal("yaya");
10
-
11
- // Debut de module
12
- unModule = [
13
-
14
- mr._atom( ()=> {console.log('debut de un module');} ),
15
- mr._await("tete", 1),
16
- mr._await("tutu", 1),
17
-
18
- ];
19
-
20
- var instructions = [
21
- // Debut de run module
22
- mr._run(unModule),
23
-
24
- // Debut de par
25
- mr._par(
26
- [
27
- // Debut de seq
28
- mr._seq(
29
- [
30
- mr._emit("tete",0),
31
- mr._emit("tutu",0),]
32
- ),
33
-
34
- // Debut de seq
35
- mr._seq(
36
- [ mr._await("tete", 1),
37
-
38
- mr._atom( ()=> {console.log('tata');} ),
39
- mr._await("tutu", 1),
40
-
41
- mr._atom( ()=> {console.log('tutu');} ),
42
- ]
43
- ),
44
-
45
- // Debut de seq
46
- mr._seq(
47
- [
48
- // Debut de abort
49
- mr._abort("yaya",1,
50
- [
51
- // Debut de every
52
- mr._every("titi",1,
53
- [
54
- mr._atom( ()=> {console.log('titi');} ),
55
- ]
56
- ),
57
- ]
58
- ),
59
- ]
60
- ),
61
- ]
62
- ),
63
- ];
64
-
65
- var prog = mr.createModule(instructions);
66
-
67
- console.log(" 1 ----------------");
68
- mr.runProg(prog);
69
-
70
- console.log(" 2 ----------------");
71
- mr.runProg(prog);
72
-
73
- mr.printProgram(prog, false);
@@ -1,198 +0,0 @@
1
- <xml xmlns="https://developers.google.com/blockly/xml">
2
- <variables>
3
- <variable id="gp.Bm(j^?)+YDi3Au3U,">tete</variable>
4
- <variable id="^dClo.}S0];3/(C+l#62">unModule</variable>
5
- <variable id="Yy4vmS;TjcOx+8CxhN2F">titi</variable>
6
- <variable id="WDmXA$|}Vw+vL+[CZ)I*">tutu</variable>
7
- <variable id="~]Akm+43C$a9P/6x}t:M">yaya</variable>
8
- </variables>
9
- <block type="orchestration" id="!he$,{:BvI4cMR~f;LCj" x="91" y="81">
10
- <field name="trajet">1</field>
11
- <statement name="SIGNALS">
12
- <block type="declare_signal" id="EvQt@OyI=6kW8SKav(aP">
13
- <value name="signal">
14
- <block type="variables_get" id="U3|V`xo=lot?3NN.sbf)">
15
- <field name="VAR" id="gp.Bm(j^?)+YDi3Au3U,">tete</field>
16
- </block>
17
- </value>
18
- <next>
19
- <block type="declare_signal" id="a1;_E2V`*nwZx$Ls7!)]">
20
- <value name="signal">
21
- <block type="variables_get" id="FQFC9%`beq3nT?y+b.0$">
22
- <field name="VAR" id="Yy4vmS;TjcOx+8CxhN2F">titi</field>
23
- </block>
24
- </value>
25
- <next>
26
- <block type="declare_signal" id="AG|)bwxW,?1q/TYh1r.a">
27
- <value name="signal">
28
- <block type="variables_get" id=";B8(=bh*S?pEKay`WS0f">
29
- <field name="VAR" id="WDmXA$|}Vw+vL+[CZ)I*">tutu</field>
30
- </block>
31
- </value>
32
- <next>
33
- <block type="declare_signal" id="3mobHNQ4mT2H{Q(XQ+wP">
34
- <value name="signal">
35
- <block type="variables_get" id="aobJS;vE?h!hhRkKCDQB">
36
- <field name="VAR" id="~]Akm+43C$a9P/6x}t:M">yaya</field>
37
- </block>
38
- </value>
39
- <next>
40
- <block type="module_myReact" id="qdu#x^jFGywDti3w[+#/">
41
- <value name="NAME">
42
- <block type="variables_get" id="-I$B[s:H=+6/]FQ$X8ug">
43
- <field name="VAR" id="^dClo.}S0];3/(C+l#62">unModule</field>
44
- </block>
45
- </value>
46
- <statement name="BODY">
47
- <block type="print_serveur" id="Y.2v6egF3LQV0kE~T*Qw">
48
- <value name="TEXT">
49
- <block type="text" id="Y|bF)G1h-okO^Ynf{_m_">
50
- <field name="TEXT">debut de un module</field>
51
- </block>
52
- </value>
53
- <next>
54
- <block type="wait_for" id="8o.v!i-.OjD9=E7GQJeP">
55
- <field name="TIMES">1</field>
56
- <value name="SIGNAL">
57
- <block type="variables_get" id="4O}UqWV2ZqiPZq{)#-Y#">
58
- <field name="VAR" id="gp.Bm(j^?)+YDi3Au3U,">tete</field>
59
- </block>
60
- </value>
61
- <next>
62
- <block type="wait_for" id="Nok5m[!a;@|jsd;uo+yf">
63
- <field name="TIMES">1</field>
64
- <value name="SIGNAL">
65
- <block type="variables_get" id="Ap:%n.}qXly%HIbm@/%i">
66
- <field name="VAR" id="WDmXA$|}Vw+vL+[CZ)I*">tutu</field>
67
- </block>
68
- </value>
69
- </block>
70
- </next>
71
- </block>
72
- </next>
73
- </block>
74
- </statement>
75
- </block>
76
- </next>
77
- </block>
78
- </next>
79
- </block>
80
- </next>
81
- </block>
82
- </next>
83
- </block>
84
- </statement>
85
- <statement name="BODY">
86
- <block type="run_module" id="pwt~90Z]kjv`x%1w9/uk">
87
- <value name="NAME">
88
- <block type="variables_get" id="nFN77|jKrABW36$~7_8}">
89
- <field name="VAR" id="^dClo.}S0];3/(C+l#62">unModule</field>
90
- </block>
91
- </value>
92
- <next>
93
- <block type="par_body" id="-h,hX-..$g,mP+2,dveQ">
94
- <statement name="BODY">
95
- <block type="seq_body" id="glP?vu5%wUW/#aQ.lW(r">
96
- <statement name="BODY">
97
- <block type="emit_value" id="i?`)rv5ZPfu{C[?~*-v/">
98
- <field name="Signal_Value">0</field>
99
- <value name="SIGNAL">
100
- <block type="variables_get" id="h=2qLfy;AZn/O-9@EA%5">
101
- <field name="VAR" id="gp.Bm(j^?)+YDi3Au3U,">tete</field>
102
- </block>
103
- </value>
104
- <next>
105
- <block type="emit_value" id="m-;kyD|n{:qGMJ:1`pTf">
106
- <field name="Signal_Value">0</field>
107
- <value name="SIGNAL">
108
- <block type="variables_get" id="6*@RveWzx|OJY;As~kPb">
109
- <field name="VAR" id="WDmXA$|}Vw+vL+[CZ)I*">tutu</field>
110
- </block>
111
- </value>
112
- </block>
113
- </next>
114
- </block>
115
- </statement>
116
- <next>
117
- <block type="seq_body" id="/QXAmZbIu+[Bsfmq;Npo">
118
- <statement name="BODY">
119
- <block type="wait_for" id="}KK(bZWEo:w%ymx1AWnl">
120
- <field name="TIMES">1</field>
121
- <value name="SIGNAL">
122
- <block type="variables_get" id="Kys[j2{zh%OsjJcoUTT=">
123
- <field name="VAR" id="gp.Bm(j^?)+YDi3Au3U,">tete</field>
124
- </block>
125
- </value>
126
- <next>
127
- <block type="print_serveur" id="$aY7J!fgH=#s^!;-wv.C">
128
- <value name="TEXT">
129
- <block type="text" id="c-:ueyzIc;3A{^J{+^2n">
130
- <field name="TEXT">tata</field>
131
- </block>
132
- </value>
133
- <next>
134
- <block type="wait_for" id="-L}*D;stM!.7i=/b@0($">
135
- <field name="TIMES">1</field>
136
- <value name="SIGNAL">
137
- <block type="variables_get" id="O@rLuEj%Pw=odrLCVNG|">
138
- <field name="VAR" id="WDmXA$|}Vw+vL+[CZ)I*">tutu</field>
139
- </block>
140
- </value>
141
- <next>
142
- <block type="print_serveur" id="jbqK)SP9VYke}tOV*KXm">
143
- <value name="TEXT">
144
- <block type="text" id="}cn;odHIywVIj^k(]^x~">
145
- <field name="TEXT">tutu</field>
146
- </block>
147
- </value>
148
- </block>
149
- </next>
150
- </block>
151
- </next>
152
- </block>
153
- </next>
154
- </block>
155
- </statement>
156
- <next>
157
- <block type="seq_body" id="57cD7,$[Y+/1qIWvLU=$">
158
- <statement name="BODY">
159
- <block type="abort" id="qe9r+^BI]%:FZ3[}Yf5)">
160
- <field name="TIMES">1</field>
161
- <value name="SIGNAL">
162
- <block type="variables_get" id="M*x5nfNTFu[A`f%WaH%0">
163
- <field name="VAR" id="~]Akm+43C$a9P/6x}t:M">yaya</field>
164
- </block>
165
- </value>
166
- <statement name="BODY">
167
- <block type="every" id="]-%Z6Ml-p|I+eHT46E;1">
168
- <field name="TIMES">1</field>
169
- <value name="SIGNAL">
170
- <block type="variables_get" id="Xp))u;Ir;j9%i$AWN.$F">
171
- <field name="VAR" id="Yy4vmS;TjcOx+8CxhN2F">titi</field>
172
- </block>
173
- </value>
174
- <statement name="BODY">
175
- <block type="print_serveur" id="Fp9SU?.yHl#G0kDtYHA1">
176
- <value name="TEXT">
177
- <block type="text" id="#I.X}2#1#$$yeq2UQn%+">
178
- <field name="TEXT">titi</field>
179
- </block>
180
- </value>
181
- </block>
182
- </statement>
183
- </block>
184
- </statement>
185
- </block>
186
- </statement>
187
- </block>
188
- </next>
189
- </block>
190
- </next>
191
- </block>
192
- </statement>
193
- </block>
194
- </next>
195
- </block>
196
- </statement>
197
- </block>
198
- </xml>