Advertisement
zaq_hack

Plot v1

Mar 14th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.62 KB | None | 0 0
  1. [
  2. {
  3. "pos": {
  4. "x": 0,
  5. "y": 0
  6. },
  7. "opcode": {
  8. "id": "ev_signal",
  9. "primary": "R",
  10. "parameters": [
  11. {
  12. "type": "string",
  13. "value": {
  14. "v": "Plot"
  15. }
  16. },
  17. {
  18. "type": "boolean",
  19. "value": {
  20. "null": true
  21. }
  22. }
  23. ]
  24. }
  25. },
  26. {
  27. "pos": {
  28. "x": 8,
  29. "y": 8
  30. },
  31. "opcode": {
  32. "id": "eval_tuple",
  33. "primary": "R",
  34. "parameters": [
  35. {
  36. "type": "integer",
  37. "value": {
  38. "v": 84
  39. }
  40. },
  41. {
  42. "type": "integer",
  43. "value": {
  44. "fun": "last_int"
  45. }
  46. }
  47. ]
  48. }
  49. },
  50. {
  51. "pos": {
  52. "x": 0,
  53. "y": 1
  54. },
  55. "opcode": {
  56. "id": "do_concat",
  57. "primary": "D",
  58. "parameters": [
  59. {
  60. "type": "string",
  61. "value": {
  62. "v": "C"
  63. }
  64. },
  65. {
  66. "type": "string",
  67. "value": {
  68. "var": 5
  69. }
  70. }
  71. ]
  72. }
  73. },
  74. {
  75. "pos": {
  76. "x": 8,
  77. "y": 9
  78. },
  79. "opcode": {
  80. "id": "eval_tuple",
  81. "primary": "R",
  82. "parameters": [
  83. {
  84. "type": "integer",
  85. "value": {
  86. "v": 105
  87. }
  88. },
  89. {
  90. "type": "integer",
  91. "value": {
  92. "fun": "last_int"
  93. }
  94. }
  95. ]
  96. }
  97. },
  98. {
  99. "pos": {
  100. "x": 0,
  101. "y": 2
  102. },
  103. "opcode": {
  104. "id": "do_setvar",
  105. "primary": "R",
  106. "parameters": [
  107. {
  108. "type": "integer",
  109. "value": {
  110. "v": 5
  111. }
  112. }
  113. ]
  114. }
  115. },
  116. {
  117. "pos": {
  118. "x": 0,
  119. "y": 3
  120. },
  121. "opcode": {
  122. "id": "test_call",
  123. "primary": "D",
  124. "parameters": [
  125. {
  126. "type": "string",
  127. "value": {
  128. "v": "Satur"
  129. }
  130. }
  131. ]
  132. }
  133. },
  134. {
  135. "pos": {
  136. "x": 0,
  137. "y": 4
  138. },
  139. "opcode": {
  140. "id": "test_call",
  141. "primary": "R",
  142. "parameters": [
  143. {
  144. "type": "string",
  145. "value": {
  146. "v": "Conver"
  147. }
  148. }
  149. ]
  150. }
  151. },
  152. {
  153. "pos": {
  154. "x": 0,
  155. "y": 6
  156. },
  157. "opcode": {
  158. "id": "ev_signal",
  159. "primary": "R",
  160. "parameters": [
  161. {
  162. "type": "string",
  163. "value": {
  164. "v": "Temp"
  165. }
  166. },
  167. {
  168. "type": "boolean",
  169. "value": {
  170. "null": true
  171. }
  172. }
  173. ]
  174. }
  175. },
  176. {
  177. "pos": {
  178. "x": 0,
  179. "y": 7
  180. },
  181. "opcode": {
  182. "id": "ev_signal",
  183. "primary": "R",
  184. "parameters": [
  185. {
  186. "type": "string",
  187. "value": {
  188. "v": "Shield"
  189. }
  190. },
  191. {
  192. "type": "boolean",
  193. "value": {
  194. "null": true
  195. }
  196. }
  197. ]
  198. }
  199. },
  200. {
  201. "pos": {
  202. "x": 0,
  203. "y": 8
  204. },
  205. "opcode": {
  206. "id": "ev_signal",
  207. "primary": "R",
  208. "parameters": [
  209. {
  210. "type": "string",
  211. "value": {
  212. "v": "Satur"
  213. }
  214. },
  215. {
  216. "type": "boolean",
  217. "value": {
  218. "null": true
  219. }
  220. }
  221. ]
  222. }
  223. },
  224. {
  225. "pos": {
  226. "x": 0,
  227. "y": 9
  228. },
  229. "opcode": {
  230. "id": "ev_signal",
  231. "primary": "R",
  232. "parameters": [
  233. {
  234. "type": "string",
  235. "value": {
  236. "v": "Conver"
  237. }
  238. },
  239. {
  240. "type": "boolean",
  241. "value": {
  242. "null": true
  243. }
  244. }
  245. ]
  246. }
  247. },
  248. {
  249. "pos": {
  250. "x": 9,
  251. "y": 0
  252. },
  253. "opcode": {
  254. "id": "do_concat",
  255. "primary": "R",
  256. "parameters": [
  257. {
  258. "type": "string",
  259. "value": {
  260. "fun": "last_str"
  261. }
  262. },
  263. {
  264. "type": "string",
  265. "value": {
  266. "var": 2
  267. }
  268. }
  269. ]
  270. }
  271. },
  272. {
  273. "pos": {
  274. "x": 9,
  275. "y": 1
  276. },
  277. "opcode": {
  278. "id": "do_setvar",
  279. "primary": "L",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "value": {
  284. "v": 3
  285. }
  286. }
  287. ]
  288. }
  289. },
  290. {
  291. "pos": {
  292. "x": 9,
  293. "y": 2
  294. },
  295. "opcode": {
  296. "id": "do_divide_numbers",
  297. "primary": "R",
  298. "parameters": [
  299. {
  300. "type": "number",
  301. "value": {
  302. "fun": "last_number"
  303. }
  304. },
  305. {
  306. "type": "number",
  307. "value": {
  308. "v": 3
  309. }
  310. }
  311. ]
  312. }
  313. },
  314. {
  315. "pos": {
  316. "x": 9,
  317. "y": 3
  318. },
  319. "opcode": {
  320. "id": "do_setvar",
  321. "primary": "L",
  322. "parameters": [
  323. {
  324. "type": "integer",
  325. "value": {
  326. "v": 6
  327. }
  328. }
  329. ]
  330. }
  331. },
  332. {
  333. "pos": {
  334. "x": 9,
  335. "y": 4
  336. },
  337. "opcode": {
  338. "id": "do_setvar",
  339. "primary": "R",
  340. "parameters": [
  341. {
  342. "type": "integer",
  343. "value": {
  344. "v": 7
  345. }
  346. }
  347. ]
  348. }
  349. },
  350. {
  351. "pos": {
  352. "x": 9,
  353. "y": 5
  354. },
  355. "opcode": {
  356. "id": "do_box",
  357. "primary": "L",
  358. "parameters": [
  359. {
  360. "type": "string",
  361. "value": {
  362. "var": 0
  363. }
  364. },
  365. {
  366. "type": "tuple",
  367. "value": {
  368. "fun": "last_tuple"
  369. }
  370. },
  371. {
  372. "type": "tuple",
  373. "value": {
  374. "var": 7
  375. }
  376. },
  377. {
  378. "type": "integer",
  379. "value": {
  380. "var": 2
  381. }
  382. }
  383. ]
  384. }
  385. },
  386. {
  387. "pos": {
  388. "x": 9,
  389. "y": 6
  390. },
  391. "opcode": {
  392. "id": "do_text",
  393. "parameters": [
  394. {
  395. "type": "string",
  396. "value": {
  397. "var": 0
  398. }
  399. },
  400. {
  401. "type": "tuple",
  402. "value": {
  403. "fun": "last_tuple"
  404. }
  405. },
  406. {
  407. "type": "string",
  408. "value": {
  409. "var": 2
  410. }
  411. },
  412. {
  413. "type": "integer",
  414. "value": {
  415. "v": -1
  416. }
  417. }
  418. ]
  419. }
  420. },
  421. {
  422. "pos": {
  423. "x": 9,
  424. "y": 7
  425. },
  426. "opcode": {
  427. "id": "do_text",
  428. "parameters": [
  429. {
  430. "type": "string",
  431. "value": {
  432. "var": 0
  433. }
  434. },
  435. {
  436. "type": "tuple",
  437. "value": {
  438. "fun": "last_tuple"
  439. }
  440. },
  441. {
  442. "type": "string",
  443. "value": {
  444. "var": 3
  445. }
  446. },
  447. {
  448. "type": "integer",
  449. "value": {
  450. "v": -1
  451. }
  452. }
  453. ]
  454. }
  455. },
  456. {
  457. "pos": {
  458. "x": 1,
  459. "y": 0
  460. },
  461. "opcode": {
  462. "id": "eval_gettoken",
  463. "primary": "R",
  464. "parameters": [
  465. {
  466. "type": "integer",
  467. "value": {
  468. "v": 0
  469. }
  470. }
  471. ]
  472. }
  473. },
  474. {
  475. "pos": {
  476. "x": 9,
  477. "y": 8
  478. },
  479. "opcode": {
  480. "id": "do_text",
  481. "parameters": [
  482. {
  483. "type": "string",
  484. "value": {
  485. "var": 0
  486. }
  487. },
  488. {
  489. "type": "tuple",
  490. "value": {
  491. "fun": "last_tuple"
  492. }
  493. },
  494. {
  495. "type": "string",
  496. "value": {
  497. "var": 4
  498. }
  499. },
  500. {
  501. "type": "integer",
  502. "value": {
  503. "v": -1
  504. }
  505. }
  506. ]
  507. }
  508. },
  509. {
  510. "pos": {
  511. "x": 1,
  512. "y": 1
  513. },
  514. "opcode": {
  515. "id": "do_setvar",
  516. "primary": "L",
  517. "parameters": [
  518. {
  519. "type": "integer",
  520. "value": {
  521. "v": 5
  522. }
  523. }
  524. ]
  525. }
  526. },
  527. {
  528. "pos": {
  529. "x": 9,
  530. "y": 9
  531. },
  532. "opcode": {
  533. "id": "do_text",
  534. "parameters": [
  535. {
  536. "type": "string",
  537. "value": {
  538. "var": 0
  539. }
  540. },
  541. {
  542. "type": "tuple",
  543. "value": {
  544. "fun": "last_tuple"
  545. }
  546. },
  547. {
  548. "type": "string",
  549. "value": {
  550. "var": 5
  551. }
  552. },
  553. {
  554. "type": "integer",
  555. "value": {
  556. "v": -1
  557. }
  558. }
  559. ]
  560. }
  561. },
  562. {
  563. "pos": {
  564. "x": 1,
  565. "y": 2
  566. },
  567. "opcode": {
  568. "id": "eval_gettoken",
  569. "primary": "R",
  570. "parameters": [
  571. {
  572. "type": "integer",
  573. "value": {
  574. "v": 11
  575. }
  576. }
  577. ]
  578. }
  579. },
  580. {
  581. "pos": {
  582. "x": 1,
  583. "y": 3
  584. },
  585. "opcode": {
  586. "id": "test_call",
  587. "primary": "L",
  588. "parameters": [
  589. {
  590. "type": "string",
  591. "value": {
  592. "v": "Shield"
  593. }
  594. }
  595. ]
  596. }
  597. },
  598. {
  599. "pos": {
  600. "x": 1,
  601. "y": 4
  602. },
  603. "opcode": {
  604. "id": "do_wire",
  605. "primary": "R",
  606. "parameters": []
  607. }
  608. },
  609. {
  610. "pos": {
  611. "x": 1,
  612. "y": 5
  613. },
  614. "opcode": {
  615. "id": "do_log",
  616. "parameters": [
  617. {
  618. "type": "string",
  619. "value": {
  620. "fun": "last_str"
  621. }
  622. }
  623. ]
  624. }
  625. },
  626. {
  627. "pos": {
  628. "x": 1,
  629. "y": 6
  630. },
  631. "opcode": {
  632. "id": "eval_tuple",
  633. "primary": "R",
  634. "parameters": [
  635. {
  636. "type": "integer",
  637. "value": {
  638. "v": 42
  639. }
  640. },
  641. {
  642. "type": "integer",
  643. "value": {
  644. "var": 6
  645. }
  646. }
  647. ]
  648. }
  649. },
  650. {
  651. "pos": {
  652. "x": 1,
  653. "y": 7
  654. },
  655. "opcode": {
  656. "id": "eval_tuple",
  657. "primary": "R",
  658. "parameters": [
  659. {
  660. "type": "integer",
  661. "value": {
  662. "v": 63
  663. }
  664. },
  665. {
  666. "type": "integer",
  667. "value": {
  668. "var": 6
  669. }
  670. }
  671. ]
  672. }
  673. },
  674. {
  675. "pos": {
  676. "x": 1,
  677. "y": 8
  678. },
  679. "opcode": {
  680. "id": "eval_tuple",
  681. "primary": "R",
  682. "parameters": [
  683. {
  684. "type": "integer",
  685. "value": {
  686. "v": 84
  687. }
  688. },
  689. {
  690. "type": "integer",
  691. "value": {
  692. "var": 6
  693. }
  694. }
  695. ]
  696. }
  697. },
  698. {
  699. "pos": {
  700. "x": 1,
  701. "y": 9
  702. },
  703. "opcode": {
  704. "id": "eval_tuple",
  705. "primary": "R",
  706. "parameters": [
  707. {
  708. "type": "integer",
  709. "value": {
  710. "v": 105
  711. }
  712. },
  713. {
  714. "type": "integer",
  715. "value": {
  716. "var": 6
  717. }
  718. }
  719. ]
  720. }
  721. },
  722. {
  723. "pos": {
  724. "x": 10,
  725. "y": 0
  726. },
  727. "opcode": {
  728. "id": "do_setvar",
  729. "primary": "D",
  730. "parameters": [
  731. {
  732. "type": "integer",
  733. "value": {
  734. "v": 2
  735. }
  736. }
  737. ]
  738. }
  739. },
  740. {
  741. "pos": {
  742. "x": 10,
  743. "y": 1
  744. },
  745. "opcode": {
  746. "id": "eval_gettoken",
  747. "primary": "L",
  748. "parameters": [
  749. {
  750. "type": "integer",
  751. "value": {
  752. "v": 3
  753. }
  754. }
  755. ]
  756. }
  757. },
  758. {
  759. "pos": {
  760. "x": 10,
  761. "y": 2
  762. },
  763. "opcode": {
  764. "id": "do_multiply_long",
  765. "primary": "D",
  766. "parameters": [
  767. {
  768. "type": "number",
  769. "value": {
  770. "fun": "last_number"
  771. }
  772. },
  773. {
  774. "type": "number",
  775. "value": {
  776. "v": 5
  777. }
  778. }
  779. ]
  780. }
  781. },
  782. {
  783. "pos": {
  784. "x": 10,
  785. "y": 3
  786. },
  787. "opcode": {
  788. "id": "do_add_numbers",
  789. "primary": "L",
  790. "parameters": [
  791. {
  792. "type": "number",
  793. "value": {
  794. "fun": "last_number"
  795. }
  796. },
  797. {
  798. "type": "number",
  799. "value": {
  800. "v": 8
  801. }
  802. }
  803. ]
  804. }
  805. },
  806. {
  807. "pos": {
  808. "x": 10,
  809. "y": 4
  810. },
  811. "opcode": {
  812. "id": "do_add_numbers",
  813. "primary": "D",
  814. "parameters": [
  815. {
  816. "type": "number",
  817. "value": {
  818. "var": 6
  819. }
  820. },
  821. {
  822. "type": "number",
  823. "value": {
  824. "v": 16
  825. }
  826. }
  827. ]
  828. }
  829. },
  830. {
  831. "pos": {
  832. "x": 10,
  833. "y": 5
  834. },
  835. "opcode": {
  836. "id": "eval_tuple",
  837. "primary": "L",
  838. "parameters": [
  839. {
  840. "type": "integer",
  841. "value": {
  842. "v": 4
  843. }
  844. },
  845. {
  846. "type": "integer",
  847. "value": {
  848. "fun": "last_int"
  849. }
  850. }
  851. ]
  852. }
  853. },
  854. {
  855. "pos": {
  856. "x": 10,
  857. "y": 7
  858. },
  859. "opcode": {
  860. "id": "do_setvar",
  861. "primary": "U",
  862. "parameters": [
  863. {
  864. "type": "integer",
  865. "value": {
  866. "v": 0
  867. }
  868. }
  869. ]
  870. }
  871. },
  872. {
  873. "pos": {
  874. "x": 2,
  875. "y": 0
  876. },
  877. "opcode": {
  878. "id": "do_setvar",
  879. "primary": "R",
  880. "parameters": [
  881. {
  882. "type": "integer",
  883. "value": {
  884. "v": 0
  885. }
  886. }
  887. ]
  888. }
  889. },
  890. {
  891. "pos": {
  892. "x": 10,
  893. "y": 8
  894. },
  895. "opcode": {
  896. "id": "do_add_numbers",
  897. "primary": "U",
  898. "parameters": [
  899. {
  900. "type": "number",
  901. "value": {
  902. "v": 1
  903. }
  904. },
  905. {
  906. "type": "number",
  907. "value": {
  908. "var": 0
  909. }
  910. }
  911. ]
  912. }
  913. },
  914. {
  915. "pos": {
  916. "x": 2,
  917. "y": 1
  918. },
  919. "opcode": {
  920. "id": "eval_gettoken",
  921. "primary": "L",
  922. "parameters": [
  923. {
  924. "type": "integer",
  925. "value": {
  926. "v": 5
  927. }
  928. }
  929. ]
  930. }
  931. },
  932. {
  933. "pos": {
  934. "x": 10,
  935. "y": 9
  936. },
  937. "opcode": {
  938. "id": "ev_signal",
  939. "primary": "U",
  940. "parameters": [
  941. {
  942. "type": "string",
  943. "value": {
  944. "v": "Inc0"
  945. }
  946. },
  947. {
  948. "type": "boolean",
  949. "value": {
  950. "null": true
  951. }
  952. }
  953. ]
  954. }
  955. },
  956. {
  957. "pos": {
  958. "x": 2,
  959. "y": 2
  960. },
  961. "opcode": {
  962. "id": "do_setvar",
  963. "primary": "R",
  964. "parameters": [
  965. {
  966. "type": "integer",
  967. "value": {
  968. "v": 6
  969. }
  970. }
  971. ]
  972. }
  973. },
  974. {
  975. "pos": {
  976. "x": 2,
  977. "y": 3
  978. },
  979. "opcode": {
  980. "id": "test_call",
  981. "primary": "L",
  982. "parameters": [
  983. {
  984. "type": "string",
  985. "value": {
  986. "v": "Temp"
  987. }
  988. }
  989. ]
  990. }
  991. },
  992. {
  993. "pos": {
  994. "x": 2,
  995. "y": 4
  996. },
  997. "opcode": {
  998. "id": "test_call",
  999. "primary": "R",
  1000. "parameters": [
  1001. {
  1002. "type": "string",
  1003. "value": {
  1004. "v": "Inc0"
  1005. }
  1006. }
  1007. ]
  1008. }
  1009. },
  1010. {
  1011. "pos": {
  1012. "x": 2,
  1013. "y": 5
  1014. },
  1015. "opcode": {
  1016. "id": "eval_gettoken",
  1017. "primary": "L",
  1018. "parameters": [
  1019. {
  1020. "type": "integer",
  1021. "value": {
  1022. "v": 13
  1023. }
  1024. }
  1025. ]
  1026. }
  1027. },
  1028. {
  1029. "pos": {
  1030. "x": 2,
  1031. "y": 6
  1032. },
  1033. "opcode": {
  1034. "id": "do_setvar",
  1035. "primary": "R",
  1036. "parameters": [
  1037. {
  1038. "type": "integer",
  1039. "value": {
  1040. "v": 7
  1041. }
  1042. }
  1043. ]
  1044. }
  1045. },
  1046. {
  1047. "pos": {
  1048. "x": 2,
  1049. "y": 7
  1050. },
  1051. "opcode": {
  1052. "id": "do_setvar",
  1053. "primary": "R",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "value": {
  1058. "v": 7
  1059. }
  1060. }
  1061. ]
  1062. }
  1063. },
  1064. {
  1065. "pos": {
  1066. "x": 2,
  1067. "y": 8
  1068. },
  1069. "opcode": {
  1070. "id": "do_setvar",
  1071. "primary": "R",
  1072. "parameters": [
  1073. {
  1074. "type": "integer",
  1075. "value": {
  1076. "v": 7
  1077. }
  1078. }
  1079. ]
  1080. }
  1081. },
  1082. {
  1083. "pos": {
  1084. "x": 2,
  1085. "y": 9
  1086. },
  1087. "opcode": {
  1088. "id": "do_setvar",
  1089. "primary": "R",
  1090. "parameters": [
  1091. {
  1092. "type": "integer",
  1093. "value": {
  1094. "v": 7
  1095. }
  1096. }
  1097. ]
  1098. }
  1099. },
  1100. {
  1101. "pos": {
  1102. "x": 3,
  1103. "y": 0
  1104. },
  1105. "opcode": {
  1106. "id": "do_settoken",
  1107. "primary": "R",
  1108. "parameters": [
  1109. {
  1110. "type": "integer",
  1111. "value": {
  1112. "v": 13
  1113. }
  1114. }
  1115. ]
  1116. }
  1117. },
  1118. {
  1119. "pos": {
  1120. "x": 3,
  1121. "y": 1
  1122. },
  1123. "opcode": {
  1124. "id": "do_setvar",
  1125. "primary": "L",
  1126. "parameters": [
  1127. {
  1128. "type": "integer",
  1129. "value": {
  1130. "v": 4
  1131. }
  1132. }
  1133. ]
  1134. }
  1135. },
  1136. {
  1137. "pos": {
  1138. "x": 3,
  1139. "y": 2
  1140. },
  1141. "opcode": {
  1142. "id": "do_divide_numbers",
  1143. "primary": "R",
  1144. "parameters": [
  1145. {
  1146. "type": "number",
  1147. "value": {
  1148. "var": 6
  1149. }
  1150. },
  1151. {
  1152. "type": "number",
  1153. "value": {
  1154. "v": 2
  1155. }
  1156. }
  1157. ]
  1158. }
  1159. },
  1160. {
  1161. "pos": {
  1162. "x": 3,
  1163. "y": 3
  1164. },
  1165. "opcode": {
  1166. "id": "do_setvar",
  1167. "primary": "L",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "value": {
  1172. "v": 0
  1173. }
  1174. }
  1175. ]
  1176. }
  1177. },
  1178. {
  1179. "pos": {
  1180. "x": 3,
  1181. "y": 4
  1182. },
  1183. "opcode": {
  1184. "id": "test_call",
  1185. "primary": "R",
  1186. "parameters": [
  1187. {
  1188. "type": "string",
  1189. "value": {
  1190. "v": "Inc0"
  1191. }
  1192. }
  1193. ]
  1194. }
  1195. },
  1196. {
  1197. "pos": {
  1198. "x": 3,
  1199. "y": 5
  1200. },
  1201. "opcode": {
  1202. "id": "do_wire",
  1203. "primary": "L",
  1204. "parameters": []
  1205. }
  1206. },
  1207. {
  1208. "pos": {
  1209. "x": 3,
  1210. "y": 6
  1211. },
  1212. "opcode": {
  1213. "id": "test_call",
  1214. "primary": "R",
  1215. "parameters": [
  1216. {
  1217. "type": "string",
  1218. "value": {
  1219. "v": "Inc0"
  1220. }
  1221. }
  1222. ]
  1223. }
  1224. },
  1225. {
  1226. "pos": {
  1227. "x": 3,
  1228. "y": 7
  1229. },
  1230. "opcode": {
  1231. "id": "test_call",
  1232. "primary": "R",
  1233. "parameters": [
  1234. {
  1235. "type": "string",
  1236. "value": {
  1237. "v": "Inc0"
  1238. }
  1239. }
  1240. ]
  1241. }
  1242. },
  1243. {
  1244. "pos": {
  1245. "x": 3,
  1246. "y": 8
  1247. },
  1248. "opcode": {
  1249. "id": "test_call",
  1250. "primary": "R",
  1251. "parameters": [
  1252. {
  1253. "type": "string",
  1254. "value": {
  1255. "v": "Inc0"
  1256. }
  1257. }
  1258. ]
  1259. }
  1260. },
  1261. {
  1262. "pos": {
  1263. "x": 3,
  1264. "y": 9
  1265. },
  1266. "opcode": {
  1267. "id": "test_call",
  1268. "primary": "R",
  1269. "parameters": [
  1270. {
  1271. "type": "string",
  1272. "value": {
  1273. "v": "Inc0"
  1274. }
  1275. }
  1276. ]
  1277. }
  1278. },
  1279. {
  1280. "pos": {
  1281. "x": 4,
  1282. "y": 0
  1283. },
  1284. "opcode": {
  1285. "id": "eval_gettoken",
  1286. "primary": "R",
  1287. "parameters": [
  1288. {
  1289. "type": "integer",
  1290. "value": {
  1291. "v": 1
  1292. }
  1293. }
  1294. ]
  1295. }
  1296. },
  1297. {
  1298. "pos": {
  1299. "x": 4,
  1300. "y": 1
  1301. },
  1302. "opcode": {
  1303. "id": "do_concat",
  1304. "primary": "L",
  1305. "parameters": [
  1306. {
  1307. "type": "string",
  1308. "value": {
  1309. "v": "R"
  1310. }
  1311. },
  1312. {
  1313. "type": "string",
  1314. "value": {
  1315. "var": 4
  1316. }
  1317. }
  1318. ]
  1319. }
  1320. },
  1321. {
  1322. "pos": {
  1323. "x": 4,
  1324. "y": 2
  1325. },
  1326. "opcode": {
  1327. "id": "do_pushmulti",
  1328. "primary": "R",
  1329. "parameters": [
  1330. {
  1331. "type": "inventory",
  1332. "value": {
  1333. "side": "down",
  1334. "intside": "down",
  1335. "node": "T001"
  1336. }
  1337. },
  1338. {
  1339. "type": "integer",
  1340. "value": {
  1341. "v": 0
  1342. }
  1343. },
  1344. {
  1345. "type": "integer",
  1346. "value": {
  1347. "v": 5
  1348. }
  1349. },
  1350. {
  1351. "type": "integer",
  1352. "value": {
  1353. "fun": "last_int"
  1354. }
  1355. }
  1356. ]
  1357. }
  1358. },
  1359. {
  1360. "pos": {
  1361. "x": 4,
  1362. "y": 3
  1363. },
  1364. "opcode": {
  1365. "id": "do_divide_numbers",
  1366. "primary": "L",
  1367. "parameters": [
  1368. {
  1369. "type": "number",
  1370. "value": {
  1371. "fun": "last_number"
  1372. }
  1373. },
  1374. {
  1375. "type": "number",
  1376. "value": {
  1377. "v": 2
  1378. }
  1379. }
  1380. ]
  1381. }
  1382. },
  1383. {
  1384. "pos": {
  1385. "x": 4,
  1386. "y": 4
  1387. },
  1388. "opcode": {
  1389. "id": "eval_gettoken",
  1390. "primary": "R",
  1391. "parameters": [
  1392. {
  1393. "type": "integer",
  1394. "value": {
  1395. "v": 10
  1396. }
  1397. }
  1398. ]
  1399. }
  1400. },
  1401. {
  1402. "pos": {
  1403. "x": 4,
  1404. "y": 5
  1405. },
  1406. "opcode": {
  1407. "id": "do_text",
  1408. "primary": "L",
  1409. "parameters": [
  1410. {
  1411. "type": "string",
  1412. "value": {
  1413. "var": 0
  1414. }
  1415. },
  1416. {
  1417. "type": "tuple",
  1418. "value": {
  1419. "var": 7
  1420. }
  1421. },
  1422. {
  1423. "type": "string",
  1424. "value": {
  1425. "var": 1
  1426. }
  1427. },
  1428. {
  1429. "type": "integer",
  1430. "value": {
  1431. "v": -1
  1432. }
  1433. }
  1434. ]
  1435. }
  1436. },
  1437. {
  1438. "pos": {
  1439. "x": 4,
  1440. "y": 6
  1441. },
  1442. "opcode": {
  1443. "id": "eval_gettoken",
  1444. "primary": "R",
  1445. "parameters": [
  1446. {
  1447. "type": "integer",
  1448. "value": {
  1449. "v": 6
  1450. }
  1451. }
  1452. ]
  1453. }
  1454. },
  1455. {
  1456. "pos": {
  1457. "x": 4,
  1458. "y": 7
  1459. },
  1460. "opcode": {
  1461. "id": "eval_gettoken",
  1462. "primary": "R",
  1463. "parameters": [
  1464. {
  1465. "type": "integer",
  1466. "value": {
  1467. "v": 7
  1468. }
  1469. }
  1470. ]
  1471. }
  1472. },
  1473. {
  1474. "pos": {
  1475. "x": 4,
  1476. "y": 8
  1477. },
  1478. "opcode": {
  1479. "id": "eval_gettoken",
  1480. "primary": "R",
  1481. "parameters": [
  1482. {
  1483. "type": "integer",
  1484. "value": {
  1485. "v": 8
  1486. }
  1487. }
  1488. ]
  1489. }
  1490. },
  1491. {
  1492. "pos": {
  1493. "x": 4,
  1494. "y": 9
  1495. },
  1496. "opcode": {
  1497. "id": "eval_gettoken",
  1498. "primary": "R",
  1499. "parameters": [
  1500. {
  1501. "type": "integer",
  1502. "value": {
  1503. "v": 9
  1504. }
  1505. }
  1506. ]
  1507. }
  1508. },
  1509. {
  1510. "pos": {
  1511. "x": 5,
  1512. "y": 0
  1513. },
  1514. "opcode": {
  1515. "id": "do_setvar",
  1516. "primary": "R",
  1517. "parameters": [
  1518. {
  1519. "type": "integer",
  1520. "value": {
  1521. "v": 1
  1522. }
  1523. }
  1524. ]
  1525. }
  1526. },
  1527. {
  1528. "pos": {
  1529. "x": 5,
  1530. "y": 1
  1531. },
  1532. "opcode": {
  1533. "id": "do_setvar",
  1534. "primary": "L",
  1535. "parameters": [
  1536. {
  1537. "type": "integer",
  1538. "value": {
  1539. "v": 4
  1540. }
  1541. }
  1542. ]
  1543. }
  1544. },
  1545. {
  1546. "pos": {
  1547. "x": 5,
  1548. "y": 2
  1549. },
  1550. "opcode": {
  1551. "id": "do_wire",
  1552. "primary": "R",
  1553. "parameters": []
  1554. }
  1555. },
  1556. {
  1557. "pos": {
  1558. "x": 5,
  1559. "y": 3
  1560. },
  1561. "opcode": {
  1562. "id": "do_subtract_numbers",
  1563. "primary": "L",
  1564. "parameters": [
  1565. {
  1566. "type": "number",
  1567. "value": {
  1568. "var": 0
  1569. }
  1570. },
  1571. {
  1572. "type": "number",
  1573. "value": {
  1574. "fun": "last_number"
  1575. }
  1576. }
  1577. ]
  1578. }
  1579. },
  1580. {
  1581. "pos": {
  1582. "x": 5,
  1583. "y": 4
  1584. },
  1585. "opcode": {
  1586. "id": "do_setvar",
  1587. "primary": "R",
  1588. "parameters": [
  1589. {
  1590. "type": "integer",
  1591. "value": {
  1592. "v": 2
  1593. }
  1594. }
  1595. ]
  1596. }
  1597. },
  1598. {
  1599. "pos": {
  1600. "x": 5,
  1601. "y": 5
  1602. },
  1603. "opcode": {
  1604. "id": "do_setvar",
  1605. "primary": "L",
  1606. "parameters": [
  1607. {
  1608. "type": "integer",
  1609. "value": {
  1610. "v": 7
  1611. }
  1612. }
  1613. ]
  1614. }
  1615. },
  1616. {
  1617. "pos": {
  1618. "x": 5,
  1619. "y": 6
  1620. },
  1621. "opcode": {
  1622. "id": "do_box",
  1623. "primary": "R",
  1624. "parameters": [
  1625. {
  1626. "type": "string",
  1627. "value": {
  1628. "var": 0
  1629. }
  1630. },
  1631. {
  1632. "type": "tuple",
  1633. "value": {
  1634. "var": 7
  1635. }
  1636. },
  1637. {
  1638. "type": "tuple",
  1639. "value": {
  1640. "x": 20,
  1641. "y": 14
  1642. }
  1643. },
  1644. {
  1645. "type": "integer",
  1646. "value": {
  1647. "fun": "last_int"
  1648. }
  1649. }
  1650. ]
  1651. }
  1652. },
  1653. {
  1654. "pos": {
  1655. "x": 5,
  1656. "y": 7
  1657. },
  1658. "opcode": {
  1659. "id": "do_box",
  1660. "primary": "R",
  1661. "parameters": [
  1662. {
  1663. "type": "string",
  1664. "value": {
  1665. "var": 0
  1666. }
  1667. },
  1668. {
  1669. "type": "tuple",
  1670. "value": {
  1671. "var": 7
  1672. }
  1673. },
  1674. {
  1675. "type": "tuple",
  1676. "value": {
  1677. "x": 20,
  1678. "y": 14
  1679. }
  1680. },
  1681. {
  1682. "type": "integer",
  1683. "value": {
  1684. "fun": "last_int"
  1685. }
  1686. }
  1687. ]
  1688. }
  1689. },
  1690. {
  1691. "pos": {
  1692. "x": 5,
  1693. "y": 8
  1694. },
  1695. "opcode": {
  1696. "id": "do_box",
  1697. "primary": "R",
  1698. "parameters": [
  1699. {
  1700. "type": "string",
  1701. "value": {
  1702. "var": 0
  1703. }
  1704. },
  1705. {
  1706. "type": "tuple",
  1707. "value": {
  1708. "var": 7
  1709. }
  1710. },
  1711. {
  1712. "type": "tuple",
  1713. "value": {
  1714. "x": 20,
  1715. "y": 14
  1716. }
  1717. },
  1718. {
  1719. "type": "integer",
  1720. "value": {
  1721. "fun": "last_int"
  1722. }
  1723. }
  1724. ]
  1725. }
  1726. },
  1727. {
  1728. "pos": {
  1729. "x": 5,
  1730. "y": 9
  1731. },
  1732. "opcode": {
  1733. "id": "do_box",
  1734. "primary": "R",
  1735. "parameters": [
  1736. {
  1737. "type": "string",
  1738. "value": {
  1739. "var": 0
  1740. }
  1741. },
  1742. {
  1743. "type": "tuple",
  1744. "value": {
  1745. "var": 7
  1746. }
  1747. },
  1748. {
  1749. "type": "tuple",
  1750. "value": {
  1751. "x": 20,
  1752. "y": 14
  1753. }
  1754. },
  1755. {
  1756. "type": "integer",
  1757. "value": {
  1758. "fun": "last_int"
  1759. }
  1760. }
  1761. ]
  1762. }
  1763. },
  1764. {
  1765. "pos": {
  1766. "x": 6,
  1767. "y": 0
  1768. },
  1769. "opcode": {
  1770. "id": "eval_gettoken",
  1771. "primary": "R",
  1772. "parameters": [
  1773. {
  1774. "type": "integer",
  1775. "value": {
  1776. "v": 2
  1777. }
  1778. }
  1779. ]
  1780. }
  1781. },
  1782. {
  1783. "pos": {
  1784. "x": 6,
  1785. "y": 1
  1786. },
  1787. "opcode": {
  1788. "id": "eval_gettoken",
  1789. "primary": "L",
  1790. "parameters": [
  1791. {
  1792. "type": "integer",
  1793. "value": {
  1794. "v": 4
  1795. }
  1796. }
  1797. ]
  1798. }
  1799. },
  1800. {
  1801. "pos": {
  1802. "x": 6,
  1803. "y": 2
  1804. },
  1805. "opcode": {
  1806. "id": "do_wire",
  1807. "primary": "R",
  1808. "parameters": []
  1809. }
  1810. },
  1811. {
  1812. "pos": {
  1813. "x": 6,
  1814. "y": 3
  1815. },
  1816. "opcode": {
  1817. "id": "eval_gettoken",
  1818. "primary": "L",
  1819. "parameters": [
  1820. {
  1821. "type": "integer",
  1822. "value": {
  1823. "v": 12
  1824. }
  1825. }
  1826. ]
  1827. }
  1828. },
  1829. {
  1830. "pos": {
  1831. "x": 6,
  1832. "y": 4
  1833. },
  1834. "opcode": {
  1835. "id": "do_multiply_long",
  1836. "primary": "R",
  1837. "parameters": [
  1838. {
  1839. "type": "number",
  1840. "value": {
  1841. "l": 128
  1842. }
  1843. },
  1844. {
  1845. "type": "number",
  1846. "value": {
  1847. "var": 1
  1848. }
  1849. }
  1850. ]
  1851. }
  1852. },
  1853. {
  1854. "pos": {
  1855. "x": 6,
  1856. "y": 5
  1857. },
  1858. "opcode": {
  1859. "id": "eval_tuple",
  1860. "primary": "L",
  1861. "parameters": [
  1862. {
  1863. "type": "integer",
  1864. "value": {
  1865. "v": 6
  1866. }
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "value": {
  1871. "fun": "last_int"
  1872. }
  1873. }
  1874. ]
  1875. }
  1876. },
  1877. {
  1878. "pos": {
  1879. "x": 6,
  1880. "y": 6
  1881. },
  1882. "opcode": {
  1883. "id": "test_call",
  1884. "primary": "R",
  1885. "parameters": [
  1886. {
  1887. "type": "string",
  1888. "value": {
  1889. "v": "Inc0"
  1890. }
  1891. }
  1892. ]
  1893. }
  1894. },
  1895. {
  1896. "pos": {
  1897. "x": 6,
  1898. "y": 7
  1899. },
  1900. "opcode": {
  1901. "id": "test_call",
  1902. "primary": "R",
  1903. "parameters": [
  1904. {
  1905. "type": "string",
  1906. "value": {
  1907. "v": "Inc0"
  1908. }
  1909. }
  1910. ]
  1911. }
  1912. },
  1913. {
  1914. "pos": {
  1915. "x": 6,
  1916. "y": 8
  1917. },
  1918. "opcode": {
  1919. "id": "test_call",
  1920. "primary": "R",
  1921. "parameters": [
  1922. {
  1923. "type": "string",
  1924. "value": {
  1925. "v": "Inc0"
  1926. }
  1927. }
  1928. ]
  1929. }
  1930. },
  1931. {
  1932. "pos": {
  1933. "x": 6,
  1934. "y": 9
  1935. },
  1936. "opcode": {
  1937. "id": "test_call",
  1938. "primary": "R",
  1939. "parameters": [
  1940. {
  1941. "type": "string",
  1942. "value": {
  1943. "v": "Inc0"
  1944. }
  1945. }
  1946. ]
  1947. }
  1948. },
  1949. {
  1950. "pos": {
  1951. "x": 7,
  1952. "y": 0
  1953. },
  1954. "opcode": {
  1955. "id": "do_setvar",
  1956. "primary": "R",
  1957. "parameters": [
  1958. {
  1959. "type": "integer",
  1960. "value": {
  1961. "v": 2
  1962. }
  1963. }
  1964. ]
  1965. }
  1966. },
  1967. {
  1968. "pos": {
  1969. "x": 7,
  1970. "y": 1
  1971. },
  1972. "opcode": {
  1973. "id": "do_setvar",
  1974. "primary": "L",
  1975. "parameters": [
  1976. {
  1977. "type": "integer",
  1978. "value": {
  1979. "v": 3
  1980. }
  1981. }
  1982. ]
  1983. }
  1984. },
  1985. {
  1986. "pos": {
  1987. "x": 7,
  1988. "y": 2
  1989. },
  1990. "opcode": {
  1991. "id": "eval_gettoken",
  1992. "primary": "R",
  1993. "parameters": [
  1994. {
  1995. "type": "integer",
  1996. "value": {
  1997. "v": 12
  1998. }
  1999. }
  2000. ]
  2001. }
  2002. },
  2003. {
  2004. "pos": {
  2005. "x": 7,
  2006. "y": 3
  2007. },
  2008. "opcode": {
  2009. "id": "do_setvar",
  2010. "primary": "L",
  2011. "parameters": [
  2012. {
  2013. "type": "integer",
  2014. "value": {
  2015. "v": 0
  2016. }
  2017. }
  2018. ]
  2019. }
  2020. },
  2021. {
  2022. "pos": {
  2023. "x": 7,
  2024. "y": 4
  2025. },
  2026. "opcode": {
  2027. "id": "do_divide_numbers",
  2028. "primary": "R",
  2029. "parameters": [
  2030. {
  2031. "type": "number",
  2032. "value": {
  2033. "fun": "last_number"
  2034. }
  2035. },
  2036. {
  2037. "type": "number",
  2038. "value": {
  2039. "v": 26000
  2040. }
  2041. }
  2042. ]
  2043. }
  2044. },
  2045. {
  2046. "pos": {
  2047. "x": 7,
  2048. "y": 5
  2049. },
  2050. "opcode": {
  2051. "id": "do_add_numbers",
  2052. "primary": "L",
  2053. "parameters": [
  2054. {
  2055. "type": "number",
  2056. "value": {
  2057. "var": 6
  2058. }
  2059. },
  2060. {
  2061. "type": "number",
  2062. "value": {
  2063. "v": 19
  2064. }
  2065. }
  2066. ]
  2067. }
  2068. },
  2069. {
  2070. "pos": {
  2071. "x": 7,
  2072. "y": 6
  2073. },
  2074. "opcode": {
  2075. "id": "do_add_numbers",
  2076. "primary": "R",
  2077. "parameters": [
  2078. {
  2079. "type": "number",
  2080. "value": {
  2081. "var": 6
  2082. }
  2083. },
  2084. {
  2085. "type": "number",
  2086. "value": {
  2087. "v": 3
  2088. }
  2089. }
  2090. ]
  2091. }
  2092. },
  2093. {
  2094. "pos": {
  2095. "x": 7,
  2096. "y": 7
  2097. },
  2098. "opcode": {
  2099. "id": "do_add_numbers",
  2100. "primary": "R",
  2101. "parameters": [
  2102. {
  2103. "type": "number",
  2104. "value": {
  2105. "var": 6
  2106. }
  2107. },
  2108. {
  2109. "type": "number",
  2110. "value": {
  2111. "v": 3
  2112. }
  2113. }
  2114. ]
  2115. }
  2116. },
  2117. {
  2118. "pos": {
  2119. "x": 7,
  2120. "y": 8
  2121. },
  2122. "opcode": {
  2123. "id": "do_add_numbers",
  2124. "primary": "R",
  2125. "parameters": [
  2126. {
  2127. "type": "number",
  2128. "value": {
  2129. "var": 6
  2130. }
  2131. },
  2132. {
  2133. "type": "number",
  2134. "value": {
  2135. "v": 3
  2136. }
  2137. }
  2138. ]
  2139. }
  2140. },
  2141. {
  2142. "pos": {
  2143. "x": 7,
  2144. "y": 9
  2145. },
  2146. "opcode": {
  2147. "id": "do_add_numbers",
  2148. "primary": "R",
  2149. "parameters": [
  2150. {
  2151. "type": "number",
  2152. "value": {
  2153. "var": 6
  2154. }
  2155. },
  2156. {
  2157. "type": "number",
  2158. "value": {
  2159. "v": 3
  2160. }
  2161. }
  2162. ]
  2163. }
  2164. },
  2165. {
  2166. "pos": {
  2167. "x": 8,
  2168. "y": 0
  2169. },
  2170. "opcode": {
  2171. "id": "do_concat",
  2172. "primary": "R",
  2173. "parameters": [
  2174. {
  2175. "type": "string",
  2176. "value": {
  2177. "var": 0
  2178. }
  2179. },
  2180. {
  2181. "type": "string",
  2182. "value": {
  2183. "v": " T"
  2184. }
  2185. }
  2186. ]
  2187. }
  2188. },
  2189. {
  2190. "pos": {
  2191. "x": 8,
  2192. "y": 1
  2193. },
  2194. "opcode": {
  2195. "id": "do_concat",
  2196. "primary": "L",
  2197. "parameters": [
  2198. {
  2199. "type": "string",
  2200. "value": {
  2201. "v": "S"
  2202. }
  2203. },
  2204. {
  2205. "type": "string",
  2206. "value": {
  2207. "var": 3
  2208. }
  2209. }
  2210. ]
  2211. }
  2212. },
  2213. {
  2214. "pos": {
  2215. "x": 8,
  2216. "y": 2
  2217. },
  2218. "opcode": {
  2219. "id": "do_subtract_numbers",
  2220. "primary": "R",
  2221. "parameters": [
  2222. {
  2223. "type": "number",
  2224. "value": {
  2225. "var": 6
  2226. }
  2227. },
  2228. {
  2229. "type": "number",
  2230. "value": {
  2231. "fun": "last_number"
  2232. }
  2233. }
  2234. ]
  2235. }
  2236. },
  2237. {
  2238. "pos": {
  2239. "x": 8,
  2240. "y": 3
  2241. },
  2242. "opcode": {
  2243. "id": "eval_gettoken",
  2244. "primary": "L",
  2245. "parameters": [
  2246. {
  2247. "type": "integer",
  2248. "value": {
  2249. "v": 11
  2250. }
  2251. }
  2252. ]
  2253. }
  2254. },
  2255. {
  2256. "pos": {
  2257. "x": 8,
  2258. "y": 4
  2259. },
  2260. "opcode": {
  2261. "id": "eval_tuple",
  2262. "primary": "R",
  2263. "parameters": [
  2264. {
  2265. "type": "integer",
  2266. "value": {
  2267. "fun": "last_int"
  2268. }
  2269. },
  2270. {
  2271. "type": "integer",
  2272. "value": {
  2273. "v": 14
  2274. }
  2275. }
  2276. ]
  2277. }
  2278. },
  2279. {
  2280. "pos": {
  2281. "x": 8,
  2282. "y": 5
  2283. },
  2284. "opcode": {
  2285. "id": "test_call",
  2286. "primary": "L",
  2287. "parameters": [
  2288. {
  2289. "type": "string",
  2290. "value": {
  2291. "v": "Inc0"
  2292. }
  2293. }
  2294. ]
  2295. }
  2296. },
  2297. {
  2298. "pos": {
  2299. "x": 8,
  2300. "y": 6
  2301. },
  2302. "opcode": {
  2303. "id": "eval_tuple",
  2304. "primary": "R",
  2305. "parameters": [
  2306. {
  2307. "type": "integer",
  2308. "value": {
  2309. "v": 6
  2310. }
  2311. },
  2312. {
  2313. "type": "integer",
  2314. "value": {
  2315. "fun": "last_int"
  2316. }
  2317. }
  2318. ]
  2319. }
  2320. },
  2321. {
  2322. "pos": {
  2323. "x": 8,
  2324. "y": 7
  2325. },
  2326. "opcode": {
  2327. "id": "eval_tuple",
  2328. "primary": "R",
  2329. "parameters": [
  2330. {
  2331. "type": "integer",
  2332. "value": {
  2333. "v": 63
  2334. }
  2335. },
  2336. {
  2337. "type": "integer",
  2338. "value": {
  2339. "fun": "last_int"
  2340. }
  2341. }
  2342. ]
  2343. }
  2344. }
  2345. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement