pione 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (366) hide show
  1. data/.gitignore +14 -0
  2. data/Gemfile +5 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +94 -0
  5. data/Rakefile +118 -0
  6. data/bin/pione-broker +5 -0
  7. data/bin/pione-clean +5 -0
  8. data/bin/pione-client +5 -0
  9. data/bin/pione-eval +111 -0
  10. data/bin/pione-relay +5 -0
  11. data/bin/pione-relay-account-db +5 -0
  12. data/bin/pione-relay-client-db +5 -0
  13. data/bin/pione-search-log +30 -0
  14. data/bin/pione-syntax-checker +5 -0
  15. data/bin/pione-task-worker +5 -0
  16. data/bin/pione-tuple-space-provider +5 -0
  17. data/bin/pione-tuple-space-receiver +5 -0
  18. data/bin/pione-tuple-space-viewer +5 -0
  19. data/demo/demo.rb +311 -0
  20. data/demo/public/base.css +94 -0
  21. data/demo/public/demo.js +107 -0
  22. data/demo/public/index.html +91 -0
  23. data/demo/public/jquery-1.8.3.min.js +2 -0
  24. data/example/CountChar/CountChar.pione +64 -0
  25. data/example/CountChar/misc/CountChar.rb +22 -0
  26. data/example/CountChar/text/aidokushono_insho.txt +32 -0
  27. data/example/CountChar/text/aikokuka_shokan.txt +108 -0
  28. data/example/CountChar/text/carlyle_hakubutsukan.txt +58 -0
  29. data/example/CountChar/text/dark_minister.txt +2440 -0
  30. data/example/CountChar/text/kaikano_otto.txt +61 -0
  31. data/example/CountChar/text/kaikon.txt +30 -0
  32. data/example/CountChar/text/nagashimano_shi.txt +45 -0
  33. data/example/CountChar/text/saikachibuchi.txt +80 -0
  34. data/example/CountChar/text/saikonihonno_josei.txt +91 -0
  35. data/example/CountChar/text/taishojugonenno_bundan.txt +21 -0
  36. data/example/FeatureExample/FeatureExample.pione +7 -0
  37. data/example/Fib/Fib.pione +56 -0
  38. data/example/Fib/FibBC.pione +56 -0
  39. data/example/HelloWorld/HelloWorld.pione +5 -0
  40. data/example/LucasNumber/LucasNumber.pione +64 -0
  41. data/example/MakePair/MakePair.pione +14 -0
  42. data/example/MakePair/data/1.i +0 -0
  43. data/example/MakePair/data/2.i +0 -0
  44. data/example/MakePair/data/3.i +0 -0
  45. data/example/MakePair/data/4.i +0 -0
  46. data/example/MakePair/data/5.i +0 -0
  47. data/example/SieveOfEratosthenes/SieveOfEratosthenes.pione +61 -0
  48. data/example/SingleParticlesWithRef/Makefile +289 -0
  49. data/example/SingleParticlesWithRef/SingleParticlesWithRef.Makefile +153 -0
  50. data/example/SingleParticlesWithRef/SingleParticlesWithRef.pione +116 -0
  51. data/example/SingleParticlesWithRef/SingleParticlesWithRefFull.pione +400 -0
  52. data/example/SingleParticlesWithRef/data/121p-shift-0-0-0.roi +0 -0
  53. data/example/SingleParticlesWithRef/data/121p-shift-0-120-0.roi +0 -0
  54. data/example/SingleParticlesWithRef/data/121p-shift-0-180-0.roi +0 -0
  55. data/example/SingleParticlesWithRef/data/121p-shift-0-240-0.roi +0 -0
  56. data/example/SingleParticlesWithRef/data/121p-shift-0-300-0.roi +0 -0
  57. data/example/SingleParticlesWithRef/data/121p-shift-0-60-0.roi +0 -0
  58. data/example/SingleParticlesWithRef/data/121p-shift-120-0-0.roi +0 -0
  59. data/example/SingleParticlesWithRef/data/121p-shift-120-120-0.roi +0 -0
  60. data/example/SingleParticlesWithRef/data/121p-shift-120-180-0.roi +0 -0
  61. data/example/SingleParticlesWithRef/data/121p-shift-120-240-0.roi +0 -0
  62. data/example/SingleParticlesWithRef/data/121p-shift-120-300-0.roi +0 -0
  63. data/example/SingleParticlesWithRef/data/121p-shift-120-60-0.roi +0 -0
  64. data/example/SingleParticlesWithRef/data/121p-shift-180-0-0.roi +0 -0
  65. data/example/SingleParticlesWithRef/data/121p-shift-180-120-0.roi +0 -0
  66. data/example/SingleParticlesWithRef/data/121p-shift-180-180-0.roi +0 -0
  67. data/example/SingleParticlesWithRef/data/121p-shift-180-240-0.roi +0 -0
  68. data/example/SingleParticlesWithRef/data/121p-shift-180-300-0.roi +0 -0
  69. data/example/SingleParticlesWithRef/data/121p-shift-180-60-0.roi +0 -0
  70. data/example/SingleParticlesWithRef/data/121p-shift-240-0-0.roi +0 -0
  71. data/example/SingleParticlesWithRef/data/121p-shift-240-120-0.roi +0 -0
  72. data/example/SingleParticlesWithRef/data/121p-shift-240-180-0.roi +0 -0
  73. data/example/SingleParticlesWithRef/data/121p-shift-240-240-0.roi +0 -0
  74. data/example/SingleParticlesWithRef/data/121p-shift-240-300-0.roi +0 -0
  75. data/example/SingleParticlesWithRef/data/121p-shift-240-60-0.roi +0 -0
  76. data/example/SingleParticlesWithRef/data/121p-shift-300-0-0.roi +0 -0
  77. data/example/SingleParticlesWithRef/data/121p-shift-300-120-0.roi +0 -0
  78. data/example/SingleParticlesWithRef/data/121p-shift-300-180-0.roi +0 -0
  79. data/example/SingleParticlesWithRef/data/121p-shift-300-240-0.roi +0 -0
  80. data/example/SingleParticlesWithRef/data/121p-shift-300-300-0.roi +0 -0
  81. data/example/SingleParticlesWithRef/data/121p-shift-300-60-0.roi +0 -0
  82. data/example/SingleParticlesWithRef/data/121p-shift-60-0-0.roi +0 -0
  83. data/example/SingleParticlesWithRef/data/121p-shift-60-120-0.roi +0 -0
  84. data/example/SingleParticlesWithRef/data/121p-shift-60-180-0.roi +0 -0
  85. data/example/SingleParticlesWithRef/data/121p-shift-60-240-0.roi +0 -0
  86. data/example/SingleParticlesWithRef/data/121p-shift-60-300-0.roi +0 -0
  87. data/example/SingleParticlesWithRef/data/121p-shift-60-60-0.roi +0 -0
  88. data/example/SingleParticlesWithRef/data/121p-shift-noise-0-0-0.roi +0 -0
  89. data/example/SingleParticlesWithRef/data/121p-shift-noise-0-120-0.roi +0 -0
  90. data/example/SingleParticlesWithRef/data/121p-shift-noise-0-180-0.roi +0 -0
  91. data/example/SingleParticlesWithRef/data/121p-shift-noise-0-240-0.roi +0 -0
  92. data/example/SingleParticlesWithRef/data/121p-shift-noise-0-300-0.roi +0 -0
  93. data/example/SingleParticlesWithRef/data/121p-shift-noise-0-60-0.roi +0 -0
  94. data/example/SingleParticlesWithRef/data/121p-shift-noise-120-0-0.roi +0 -0
  95. data/example/SingleParticlesWithRef/data/121p-shift-noise-120-120-0.roi +0 -0
  96. data/example/SingleParticlesWithRef/data/121p-shift-noise-120-180-0.roi +0 -0
  97. data/example/SingleParticlesWithRef/data/121p-shift-noise-120-240-0.roi +0 -0
  98. data/example/SingleParticlesWithRef/data/121p-shift-noise-120-300-0.roi +0 -0
  99. data/example/SingleParticlesWithRef/data/121p-shift-noise-120-60-0.roi +0 -0
  100. data/example/SingleParticlesWithRef/data/121p-shift-noise-180-0-0.roi +0 -0
  101. data/example/SingleParticlesWithRef/data/121p-shift-noise-180-120-0.roi +0 -0
  102. data/example/SingleParticlesWithRef/data/121p-shift-noise-180-180-0.roi +0 -0
  103. data/example/SingleParticlesWithRef/data/121p-shift-noise-180-240-0.roi +0 -0
  104. data/example/SingleParticlesWithRef/data/121p-shift-noise-180-300-0.roi +0 -0
  105. data/example/SingleParticlesWithRef/data/121p-shift-noise-180-60-0.roi +0 -0
  106. data/example/SingleParticlesWithRef/data/121p-shift-noise-240-0-0.roi +0 -0
  107. data/example/SingleParticlesWithRef/data/121p-shift-noise-240-120-0.roi +0 -0
  108. data/example/SingleParticlesWithRef/data/121p-shift-noise-240-180-0.roi +0 -0
  109. data/example/SingleParticlesWithRef/data/121p-shift-noise-240-240-0.roi +0 -0
  110. data/example/SingleParticlesWithRef/data/121p-shift-noise-240-300-0.roi +0 -0
  111. data/example/SingleParticlesWithRef/data/121p-shift-noise-240-60-0.roi +0 -0
  112. data/example/SingleParticlesWithRef/data/121p-shift-noise-300-0-0.roi +0 -0
  113. data/example/SingleParticlesWithRef/data/121p-shift-noise-300-120-0.roi +0 -0
  114. data/example/SingleParticlesWithRef/data/121p-shift-noise-300-180-0.roi +0 -0
  115. data/example/SingleParticlesWithRef/data/121p-shift-noise-300-240-0.roi +0 -0
  116. data/example/SingleParticlesWithRef/data/121p-shift-noise-300-300-0.roi +0 -0
  117. data/example/SingleParticlesWithRef/data/121p-shift-noise-300-60-0.roi +0 -0
  118. data/example/SingleParticlesWithRef/data/121p-shift-noise-60-0-0.roi +0 -0
  119. data/example/SingleParticlesWithRef/data/121p-shift-noise-60-120-0.roi +0 -0
  120. data/example/SingleParticlesWithRef/data/121p-shift-noise-60-180-0.roi +0 -0
  121. data/example/SingleParticlesWithRef/data/121p-shift-noise-60-240-0.roi +0 -0
  122. data/example/SingleParticlesWithRef/data/121p-shift-noise-60-300-0.roi +0 -0
  123. data/example/SingleParticlesWithRef/data/121p-shift-noise-60-60-0.roi +0 -0
  124. data/example/SingleParticlesWithRef/data/121p-shift.pdb +3381 -0
  125. data/example/SingleParticlesWithRef/data/all.ref2d +0 -0
  126. data/example/SingleParticlesWithRef/data/all.ref3d +0 -0
  127. data/example/Sum/Sum.pione +52 -0
  128. data/example/SyntaxError/call_rule_error.pione +6 -0
  129. data/example/SyntaxError/feature_line_error.pione +7 -0
  130. data/example/SyntaxError/flow_block_error.pione +5 -0
  131. data/example/SyntaxError/input_line_error.pione +6 -0
  132. data/example/SyntaxError/invalid_rule_name.pione +6 -0
  133. data/example/SyntaxError/param_line_error.pione +7 -0
  134. data/example/SyntaxError/variable-binding-error.pione +11 -0
  135. data/lib/pione.rb +241 -0
  136. data/lib/pione/agent/basic-agent.rb +333 -0
  137. data/lib/pione/agent/broker.rb +274 -0
  138. data/lib/pione/agent/command-listener.rb +47 -0
  139. data/lib/pione/agent/input-generator.rb +194 -0
  140. data/lib/pione/agent/logger.rb +65 -0
  141. data/lib/pione/agent/process-manager.rb +38 -0
  142. data/lib/pione/agent/rule-provider.rb +64 -0
  143. data/lib/pione/agent/task-worker.rb +274 -0
  144. data/lib/pione/agent/trivial-routine-worker.rb +28 -0
  145. data/lib/pione/agent/tuple-space-client.rb +146 -0
  146. data/lib/pione/agent/tuple-space-server-client-life-checker.rb +29 -0
  147. data/lib/pione/command-option/basic-option.rb +42 -0
  148. data/lib/pione/command-option/child-process-option.rb +17 -0
  149. data/lib/pione/command-option/common-option.rb +29 -0
  150. data/lib/pione/command-option/daemon-option.rb +12 -0
  151. data/lib/pione/command-option/presence-notifier-option.rb +15 -0
  152. data/lib/pione/command-option/task-worker-owner-option.rb +17 -0
  153. data/lib/pione/command-option/tuple-space-provider-option.rb +26 -0
  154. data/lib/pione/command-option/tuple-space-provider-owner-option.rb +16 -0
  155. data/lib/pione/command-option/tuple-space-receiver-option.rb +12 -0
  156. data/lib/pione/command/basic-command.rb +126 -0
  157. data/lib/pione/command/child-process.rb +43 -0
  158. data/lib/pione/command/daemon-process.rb +18 -0
  159. data/lib/pione/command/front-owner-command.rb +37 -0
  160. data/lib/pione/command/pione-broker.rb +53 -0
  161. data/lib/pione/command/pione-clean.rb +16 -0
  162. data/lib/pione/command/pione-client.rb +273 -0
  163. data/lib/pione/command/pione-relay-account-db.rb +85 -0
  164. data/lib/pione/command/pione-relay-client-db.rb +80 -0
  165. data/lib/pione/command/pione-relay.rb +47 -0
  166. data/lib/pione/command/pione-syntax-checker.rb +103 -0
  167. data/lib/pione/command/pione-task-worker.rb +123 -0
  168. data/lib/pione/command/pione-tuple-space-provider.rb +87 -0
  169. data/lib/pione/command/pione-tuple-space-receiver.rb +55 -0
  170. data/lib/pione/command/pione-tuple-space-viewer.rb +151 -0
  171. data/lib/pione/command/tuple-space-provider-owner.rb +6 -0
  172. data/lib/pione/front/basic-front.rb +64 -0
  173. data/lib/pione/front/broker-front.rb +30 -0
  174. data/lib/pione/front/client-front.rb +28 -0
  175. data/lib/pione/front/relay-front.rb +19 -0
  176. data/lib/pione/front/task-worker-front.rb +16 -0
  177. data/lib/pione/front/task-worker-owner.rb +42 -0
  178. data/lib/pione/front/tuple-space-provider-front.rb +22 -0
  179. data/lib/pione/front/tuple-space-provider-owner.rb +11 -0
  180. data/lib/pione/front/tuple-space-receiver-front.rb +18 -0
  181. data/lib/pione/model/assignment.rb +89 -0
  182. data/lib/pione/model/basic-model.rb +395 -0
  183. data/lib/pione/model/binary-operator.rb +80 -0
  184. data/lib/pione/model/block.rb +233 -0
  185. data/lib/pione/model/boolean.rb +138 -0
  186. data/lib/pione/model/call-rule.rb +69 -0
  187. data/lib/pione/model/data-expr.rb +360 -0
  188. data/lib/pione/model/feature-expr.rb +794 -0
  189. data/lib/pione/model/float.rb +107 -0
  190. data/lib/pione/model/integer.rb +140 -0
  191. data/lib/pione/model/list.rb +104 -0
  192. data/lib/pione/model/message.rb +80 -0
  193. data/lib/pione/model/package.rb +48 -0
  194. data/lib/pione/model/parameters.rb +282 -0
  195. data/lib/pione/model/rule-expr.rb +120 -0
  196. data/lib/pione/model/rule-io.rb +166 -0
  197. data/lib/pione/model/rule.rb +294 -0
  198. data/lib/pione/model/string.rb +111 -0
  199. data/lib/pione/model/undefined-value.rb +24 -0
  200. data/lib/pione/model/variable-table.rb +315 -0
  201. data/lib/pione/model/variable.rb +87 -0
  202. data/lib/pione/parser/block-parser.rb +83 -0
  203. data/lib/pione/parser/common-parser.rb +145 -0
  204. data/lib/pione/parser/document-parser.rb +58 -0
  205. data/lib/pione/parser/error-message.yml +4 -0
  206. data/lib/pione/parser/expr-parser.rb +266 -0
  207. data/lib/pione/parser/feature-expr-parser.rb +105 -0
  208. data/lib/pione/parser/flow-element-parser.rb +181 -0
  209. data/lib/pione/parser/literal-parser.rb +182 -0
  210. data/lib/pione/parser/rule-definition-parser.rb +163 -0
  211. data/lib/pione/parser/syntax-error.rb +61 -0
  212. data/lib/pione/patch/array-patch.rb +3 -0
  213. data/lib/pione/patch/drb-patch.rb +467 -0
  214. data/lib/pione/patch/monitor-patch.rb +16 -0
  215. data/lib/pione/patch/rinda-patch.rb +759 -0
  216. data/lib/pione/patch/uri-patch.rb +66 -0
  217. data/lib/pione/relay/receiver-socket.rb +69 -0
  218. data/lib/pione/relay/relay-account-db.rb +55 -0
  219. data/lib/pione/relay/relay-client-db.rb +53 -0
  220. data/lib/pione/relay/relay-socket.rb +215 -0
  221. data/lib/pione/relay/trampoline.rb +22 -0
  222. data/lib/pione/relay/transmitter-socket.rb +167 -0
  223. data/lib/pione/resource/basic-resource.rb +92 -0
  224. data/lib/pione/resource/dropbox-resource.rb +106 -0
  225. data/lib/pione/resource/ftp.rb +84 -0
  226. data/lib/pione/resource/local.rb +113 -0
  227. data/lib/pione/rule-handler/action-handler.rb +184 -0
  228. data/lib/pione/rule-handler/basic-handler.rb +217 -0
  229. data/lib/pione/rule-handler/flow-handler.rb +339 -0
  230. data/lib/pione/rule-handler/root-handler.rb +23 -0
  231. data/lib/pione/rule-handler/system-handler.rb +13 -0
  232. data/lib/pione/system/common.rb +22 -0
  233. data/lib/pione/system/config.rb +20 -0
  234. data/lib/pione/system/document.rb +81 -0
  235. data/lib/pione/system/file-cache.rb +150 -0
  236. data/lib/pione/system/global.rb +346 -0
  237. data/lib/pione/system/identifier.rb +61 -0
  238. data/lib/pione/system/init.rb +16 -0
  239. data/lib/pione/system/object.rb +35 -0
  240. data/lib/pione/transformer/block-transformer.rb +23 -0
  241. data/lib/pione/transformer/document-transformer.rb +36 -0
  242. data/lib/pione/transformer/expr-transformer.rb +89 -0
  243. data/lib/pione/transformer/feature-expr-transformer.rb +56 -0
  244. data/lib/pione/transformer/flow-element-transformer.rb +66 -0
  245. data/lib/pione/transformer/literal-transformer.rb +76 -0
  246. data/lib/pione/transformer/rule-definition-transformer.rb +62 -0
  247. data/lib/pione/transformer/transformer-module.rb +37 -0
  248. data/lib/pione/tuple-space/data-finder.rb +165 -0
  249. data/lib/pione/tuple-space/presence-notifier.rb +83 -0
  250. data/lib/pione/tuple-space/relay.rb +9 -0
  251. data/lib/pione/tuple-space/tuple-space-provider.rb +85 -0
  252. data/lib/pione/tuple-space/tuple-space-receiver.rb +140 -0
  253. data/lib/pione/tuple-space/tuple-space-server-interface.rb +60 -0
  254. data/lib/pione/tuple-space/tuple-space-server.rb +156 -0
  255. data/lib/pione/tuple-space/update-criteria.rb +96 -0
  256. data/lib/pione/tuple/agent-tuple.rb +10 -0
  257. data/lib/pione/tuple/attribute-tuple.rb +7 -0
  258. data/lib/pione/tuple/base-uri-tuple.rb +9 -0
  259. data/lib/pione/tuple/basic-tuple.rb +317 -0
  260. data/lib/pione/tuple/bye-tuple.rb +9 -0
  261. data/lib/pione/tuple/command-tuple.rb +9 -0
  262. data/lib/pione/tuple/data-tuple.rb +18 -0
  263. data/lib/pione/tuple/dry-run-tuple.rb +8 -0
  264. data/lib/pione/tuple/exception-tuple.rb +11 -0
  265. data/lib/pione/tuple/finished-tuple.rb +17 -0
  266. data/lib/pione/tuple/foreground-tuple.rb +7 -0
  267. data/lib/pione/tuple/log-tuple.rb +14 -0
  268. data/lib/pione/tuple/process-info-tuple.rb +9 -0
  269. data/lib/pione/tuple/request-rule-tuple.rb +9 -0
  270. data/lib/pione/tuple/rule-tuple.rb +10 -0
  271. data/lib/pione/tuple/shift-tuple.rb +13 -0
  272. data/lib/pione/tuple/task-tuple.rb +36 -0
  273. data/lib/pione/tuple/task-worker-resource-tuple.rb +9 -0
  274. data/lib/pione/tuple/working-tuple.rb +13 -0
  275. data/lib/pione/uri-scheme/basic-scheme.rb +40 -0
  276. data/lib/pione/uri-scheme/broadcast-scheme.rb +11 -0
  277. data/lib/pione/uri-scheme/dropbox-scheme.rb +9 -0
  278. data/lib/pione/uri-scheme/local-scheme.rb +28 -0
  279. data/lib/pione/util/error-report.rb +12 -0
  280. data/lib/pione/util/log.rb +79 -0
  281. data/lib/pione/util/message.rb +155 -0
  282. data/lib/pione/util/misc.rb +73 -0
  283. data/lib/pione/util/terminal.rb +78 -0
  284. data/lib/pione/util/waiter-table.rb +53 -0
  285. data/lib/pione/version.rb +3 -0
  286. data/misc/env.sh +2 -0
  287. data/misc/test-drb-stop-service.rb +34 -0
  288. data/misc/test-ensure-and-thread-kill.rb +40 -0
  289. data/misc/test-many-waiters-client.rb +56 -0
  290. data/misc/test-many-waiters-server.rb +14 -0
  291. data/misc/write_and_take_test.png +0 -0
  292. data/misc/write_and_take_test.rb +36 -0
  293. data/pione.gemspec +49 -0
  294. data/test/agent/spec_basic-agent.rb +170 -0
  295. data/test/agent/spec_broker.rb +36 -0
  296. data/test/agent/spec_command-listener.rb +30 -0
  297. data/test/agent/spec_input-generator.rb +123 -0
  298. data/test/agent/spec_logger.rb +71 -0
  299. data/test/agent/spec_rule-provider.rb +65 -0
  300. data/test/agent/spec_task-worker.rb +307 -0
  301. data/test/agent/spec_tuple-space-client.rb +30 -0
  302. data/test/model/spec_assignment.rb +51 -0
  303. data/test/model/spec_binary-operator.rb +39 -0
  304. data/test/model/spec_block.rb +154 -0
  305. data/test/model/spec_boolean.rb +115 -0
  306. data/test/model/spec_call-rule.rb +23 -0
  307. data/test/model/spec_data-expr.rb +312 -0
  308. data/test/model/spec_feature-expr.rb +359 -0
  309. data/test/model/spec_feature-expr.yml +16 -0
  310. data/test/model/spec_float.rb +141 -0
  311. data/test/model/spec_integer.rb +141 -0
  312. data/test/model/spec_list.rb +26 -0
  313. data/test/model/spec_message.rb +42 -0
  314. data/test/model/spec_package.rb +15 -0
  315. data/test/model/spec_parameters.rb +148 -0
  316. data/test/model/spec_rule-expr.rb +66 -0
  317. data/test/model/spec_rule-io.rb +32 -0
  318. data/test/model/spec_rule.rb +158 -0
  319. data/test/model/spec_string.rb +106 -0
  320. data/test/model/spec_variable-table.rb +117 -0
  321. data/test/model/spec_variable.rb +84 -0
  322. data/test/parser/spec_block-parser.rb +5 -0
  323. data/test/parser/spec_block-parser.yml +85 -0
  324. data/test/parser/spec_common-parser.rb +281 -0
  325. data/test/parser/spec_expr-parser.rb +6 -0
  326. data/test/parser/spec_expr-parser.yml +82 -0
  327. data/test/parser/spec_feature-expr-parser.rb +32 -0
  328. data/test/parser/spec_feature-expr-parser.yml +25 -0
  329. data/test/parser/spec_flow-element-parser.rb +5 -0
  330. data/test/parser/spec_flow-element-parser.yml +180 -0
  331. data/test/parser/spec_literal-parser.rb +5 -0
  332. data/test/parser/spec_literal-parser.yml +123 -0
  333. data/test/parser/spec_rule-definition-parser.rb +5 -0
  334. data/test/parser/spec_rule-definition-parser.yml +93 -0
  335. data/test/patch/spec_rinda-patch.rb +32 -0
  336. data/test/patch/spec_uri-patch.rb +23 -0
  337. data/test/rule-handler/spec_action-handler.rb +135 -0
  338. data/test/rule-handler/spec_flow-handler.rb +127 -0
  339. data/test/spec_common.rb +14 -0
  340. data/test/spec_data-finder.rb +88 -0
  341. data/test/spec_data-finder.yml +115 -0
  342. data/test/spec_document.rb +76 -0
  343. data/test/spec_identifier.rb +29 -0
  344. data/test/spec_log.rb +52 -0
  345. data/test/spec_object.rb +20 -0
  346. data/test/spec_resource.rb +73 -0
  347. data/test/spec_update-criteria.rb +83 -0
  348. data/test/test-util.rb +223 -0
  349. data/test/transformer/spec_block-transformer.rb +26 -0
  350. data/test/transformer/spec_expr-transformer.rb +106 -0
  351. data/test/transformer/spec_feature-expr-transformer.rb +21 -0
  352. data/test/transformer/spec_flow-element-transformer.rb +154 -0
  353. data/test/transformer/spec_literal-transformer.rb +58 -0
  354. data/test/transformer/spec_rule-definition-transformer.rb +168 -0
  355. data/test/tuple-space/spec_tuple-space-provider.rb +36 -0
  356. data/test/tuple-space/spec_tuple-space-receiver.rb +32 -0
  357. data/test/tuple-space/spec_tuple-space-server.rb +49 -0
  358. data/test/tuple/spec_basic-tuple.rb +87 -0
  359. data/test/tuple/spec_data-tuple.rb +85 -0
  360. data/test/tuple/spec_finished-tuple.rb +61 -0
  361. data/test/tuple/spec_task-tuple.rb +127 -0
  362. data/test/tuple/spec_working-tuple.rb +58 -0
  363. data/test/uri-scheme/spec_broadcast-scheme.rb +40 -0
  364. data/test/uri-scheme/spec_dropbox-scheme.rb +31 -0
  365. data/test/uri-scheme/spec_local-scheme.rb +69 -0
  366. metadata +660 -0
@@ -0,0 +1,58 @@
1
+ require_relative '../test-util'
2
+
3
+ describe 'Pione::Tuple::WorkingTuple' do
4
+ before do
5
+ @domain = "A"
6
+ @digest = "_"
7
+ @working = Tuple::WorkingTuple.new(@domain, @digest)
8
+ end
9
+
10
+ after do
11
+ @working = nil
12
+ end
13
+
14
+ it 'should get the class from identifier' do
15
+ Tuple[:working].should == Tuple::WorkingTuple
16
+ end
17
+
18
+ it 'should get identifier' do
19
+ @working.identifier.should == :working
20
+ end
21
+
22
+ it 'should get domain' do
23
+ @working.domain.should == "A"
24
+ end
25
+
26
+ it 'should set domain' do
27
+ domain = "B"
28
+ @working.domain = domain
29
+ @working.domain.should == domain
30
+ end
31
+
32
+ it 'should get digest' do
33
+ @working.digest.should == @digest
34
+ end
35
+
36
+ it 'should set digest' do
37
+ digest = "1"
38
+ @working.digest = digest
39
+ @working.digest.should == digest
40
+ end
41
+
42
+ it 'should raise format error' do
43
+ should.raise(Tuple::FormatError) do
44
+ Tuple::WorkingTuple.new(true, @digest)
45
+ end
46
+
47
+ should.raise(Tuple::FormatError) do
48
+ Tuple::WorkingTuple.new(@domain, true)
49
+ end
50
+ end
51
+
52
+ it 'should get any tuple' do
53
+ any = Tuple::WorkingTuple.any
54
+ any.identifier.should == :working
55
+ any.domain.should == nil
56
+ any.digest.should == nil
57
+ end
58
+ end
@@ -0,0 +1,40 @@
1
+ require_relative '../test-util'
2
+
3
+ describe 'Pione::URIScheme::BroadcastScheme' do
4
+ it 'should be suported by PIONE' do
5
+ URI.parse("broadcast://255.255.255.255").should.be.pione
6
+ end
7
+
8
+ it 'should be storage' do
9
+ URI.parse("broadcast://255.255.255.255").should.be.not.storage
10
+ end
11
+
12
+ it 'should be broadcast scheme URI' do
13
+ URI.parse("broadcast://255.255.255.255").should.kind_of Pione::URIScheme::BroadcastScheme
14
+ end
15
+
16
+ it 'should get scheme name' do
17
+ URI.parse("broadcast://255.255.255.255").scheme.should == 'broadcast'
18
+ end
19
+
20
+ it 'should get the address and port of "broadcast://255.255.255.255"' do
21
+ URI.parse("broadcast://255.255.255.255").tap do |uri|
22
+ uri.host.should == '255.255.255.255'
23
+ uri.port.should == nil
24
+ end
25
+ end
26
+
27
+ it 'should get the address and port of "broadcast://255.255.255.255:12345"' do
28
+ URI.parse("broadcast://255.255.255.255:12345").tap do |uri|
29
+ uri.host.should == '255.255.255.255'
30
+ uri.port.should == 12345
31
+ end
32
+ end
33
+
34
+ it 'should get the address and port of "broadcast://"' do
35
+ URI.parse("broadcast://").tap do |uri|
36
+ uri.host.should == nil
37
+ uri.port.should == nil
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,31 @@
1
+ require_relative '../test-util'
2
+
3
+ describe 'Pione::URIScheme::DropboxScheme' do
4
+ it 'should be suported by PIONE' do
5
+ URI.parse("dropbox:/").should.be.pione
6
+ end
7
+
8
+ it 'should be storage' do
9
+ URI.parse("dropbox:/").should.be.storage
10
+ end
11
+
12
+ it 'should be dropbox scheme URI' do
13
+ URI.parse("dropbox:/Pione").should.kind_of Pione::URIScheme::DropboxScheme
14
+ end
15
+
16
+ it 'should get scheme name' do
17
+ URI.parse("dropbox:/Pione").scheme.should == 'dropbox'
18
+ end
19
+
20
+ it 'should get the path of "dropbox:/Pione"' do
21
+ URI.parse("dropbox:/Pione").path.should == '/Pione'
22
+ end
23
+
24
+ it 'should get the path of "dropbox:/"' do
25
+ URI.parse("dropbox:/").path.should == "/"
26
+ end
27
+
28
+ it 'should get the path of "dropbox:/a/b/c"' do
29
+ URI.parse("dropbox:/a/b/c").path.should == "/a/b/c"
30
+ end
31
+ end
@@ -0,0 +1,69 @@
1
+ require_relative '../test-util'
2
+
3
+ describe 'Pione::URIScheme::LocalScheme' do
4
+ it 'should be suported by PIONE' do
5
+ URI.parse("local:/").should.be.pione
6
+ end
7
+
8
+ it 'should be storage' do
9
+ URI.parse("local:/").should.be.storage
10
+ end
11
+
12
+ it 'should be local scheme URI' do
13
+ URI.parse("local:./output").should.kind_of Pione::URIScheme::LocalScheme
14
+ end
15
+
16
+ it 'should get scheme name' do
17
+ URI.parse("local:./output").scheme.should == 'local'
18
+ end
19
+
20
+ it 'should get the path of "local:./output"' do
21
+ URI.parse("local:./output").path.should == './output'
22
+ end
23
+
24
+ it 'should get the path of "local:~/output"' do
25
+ URI.parse("local:~/output").path.should == '~/output'
26
+ end
27
+
28
+ it 'should get the path of "local:./a/b/c"' do
29
+ URI.parse("local:./a/b/c").path.should == './a/b/c'
30
+ end
31
+
32
+ it 'should get the path of "local:/output"' do
33
+ URI.parse("local:/output").path.should == '/output'
34
+ end
35
+
36
+ it 'should get the path of "local:/"' do
37
+ URI.parse("local:/").path.should == '/'
38
+ end
39
+
40
+ it 'should get the path of "local:/a/b/c"' do
41
+ URI.parse("local:/a/b/c").path.should == '/a/b/c'
42
+ end
43
+
44
+ it 'should be a directory' do
45
+ URI.parse("local:/home/keita/").should.be.directory
46
+ end
47
+
48
+ it 'should be a file' do
49
+ URI.parse("local:/home/keita/test.rb").should.be.file
50
+ end
51
+
52
+ it 'should convert as a directory' do
53
+ URI.parse("local:/home/keita").as_directory.should.be.directory
54
+ end
55
+
56
+ it 'should get absolute path of "local:./output"' do
57
+ URI.parse("local:./output").absolute.path.should == File.join(Dir.pwd, "output")
58
+ end
59
+
60
+ it 'should get absolute path of "local:~/output"' do
61
+ path = File.join(Pathname.new("~").expand_path, "output")
62
+ URI.parse("local:~/output").absolute.path.should == path
63
+ end
64
+
65
+ it 'should get absolute path of "local:./output/"' do
66
+ URI.parse("local:./output/").absolute.path.should == File.join(Dir.pwd, "output") + "/"
67
+ end
68
+ end
69
+
metadata ADDED
@@ -0,0 +1,660 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pione
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Keita Yamaguchi
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-02-19 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: parslet
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 1.4.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.4.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: uuidtools
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 2.1.3
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.1.3
46
+ - !ruby/object:Gem::Dependency
47
+ name: highline
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 1.6.15
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.6.15
62
+ - !ruby/object:Gem::Dependency
63
+ name: dropbox-sdk
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: sinatra
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: thin
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: bacon
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: 1.2.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: 1.2.0
126
+ - !ruby/object:Gem::Dependency
127
+ name: rake
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: bundler
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ - !ruby/object:Gem::Dependency
159
+ name: yard
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ description: PIONE(Process-rule for Input/Output Negotiation Enviromenment) is a rule-based
175
+ workflow engine.
176
+ email:
177
+ - keita.yamaguchi@gmail.com
178
+ executables:
179
+ - pione-broker
180
+ - pione-clean
181
+ - pione-client
182
+ - pione-eval
183
+ - pione-relay
184
+ - pione-relay-account-db
185
+ - pione-relay-client-db
186
+ - pione-search-log
187
+ - pione-syntax-checker
188
+ - pione-task-worker
189
+ - pione-tuple-space-provider
190
+ - pione-tuple-space-receiver
191
+ - pione-tuple-space-viewer
192
+ extensions: []
193
+ extra_rdoc_files: []
194
+ files:
195
+ - .gitignore
196
+ - Gemfile
197
+ - LICENSE.txt
198
+ - README.md
199
+ - Rakefile
200
+ - bin/pione-broker
201
+ - bin/pione-clean
202
+ - bin/pione-client
203
+ - bin/pione-eval
204
+ - bin/pione-relay
205
+ - bin/pione-relay-account-db
206
+ - bin/pione-relay-client-db
207
+ - bin/pione-search-log
208
+ - bin/pione-syntax-checker
209
+ - bin/pione-task-worker
210
+ - bin/pione-tuple-space-provider
211
+ - bin/pione-tuple-space-receiver
212
+ - bin/pione-tuple-space-viewer
213
+ - demo/demo.rb
214
+ - demo/public/base.css
215
+ - demo/public/demo.js
216
+ - demo/public/index.html
217
+ - demo/public/jquery-1.8.3.min.js
218
+ - example/CountChar/CountChar.pione
219
+ - example/CountChar/misc/CountChar.rb
220
+ - example/CountChar/text/aidokushono_insho.txt
221
+ - example/CountChar/text/aikokuka_shokan.txt
222
+ - example/CountChar/text/carlyle_hakubutsukan.txt
223
+ - example/CountChar/text/dark_minister.txt
224
+ - example/CountChar/text/kaikano_otto.txt
225
+ - example/CountChar/text/kaikon.txt
226
+ - example/CountChar/text/nagashimano_shi.txt
227
+ - example/CountChar/text/saikachibuchi.txt
228
+ - example/CountChar/text/saikonihonno_josei.txt
229
+ - example/CountChar/text/taishojugonenno_bundan.txt
230
+ - example/FeatureExample/FeatureExample.pione
231
+ - example/Fib/Fib.pione
232
+ - example/Fib/FibBC.pione
233
+ - example/HelloWorld/HelloWorld.pione
234
+ - example/LucasNumber/LucasNumber.pione
235
+ - example/MakePair/MakePair.pione
236
+ - example/MakePair/data/1.i
237
+ - example/MakePair/data/2.i
238
+ - example/MakePair/data/3.i
239
+ - example/MakePair/data/4.i
240
+ - example/MakePair/data/5.i
241
+ - example/SieveOfEratosthenes/SieveOfEratosthenes.pione
242
+ - example/SingleParticlesWithRef/Makefile
243
+ - example/SingleParticlesWithRef/SingleParticlesWithRef.Makefile
244
+ - example/SingleParticlesWithRef/SingleParticlesWithRef.pione
245
+ - example/SingleParticlesWithRef/SingleParticlesWithRefFull.pione
246
+ - example/SingleParticlesWithRef/data/121p-shift-0-0-0.roi
247
+ - example/SingleParticlesWithRef/data/121p-shift-0-120-0.roi
248
+ - example/SingleParticlesWithRef/data/121p-shift-0-180-0.roi
249
+ - example/SingleParticlesWithRef/data/121p-shift-0-240-0.roi
250
+ - example/SingleParticlesWithRef/data/121p-shift-0-300-0.roi
251
+ - example/SingleParticlesWithRef/data/121p-shift-0-60-0.roi
252
+ - example/SingleParticlesWithRef/data/121p-shift-120-0-0.roi
253
+ - example/SingleParticlesWithRef/data/121p-shift-120-120-0.roi
254
+ - example/SingleParticlesWithRef/data/121p-shift-120-180-0.roi
255
+ - example/SingleParticlesWithRef/data/121p-shift-120-240-0.roi
256
+ - example/SingleParticlesWithRef/data/121p-shift-120-300-0.roi
257
+ - example/SingleParticlesWithRef/data/121p-shift-120-60-0.roi
258
+ - example/SingleParticlesWithRef/data/121p-shift-180-0-0.roi
259
+ - example/SingleParticlesWithRef/data/121p-shift-180-120-0.roi
260
+ - example/SingleParticlesWithRef/data/121p-shift-180-180-0.roi
261
+ - example/SingleParticlesWithRef/data/121p-shift-180-240-0.roi
262
+ - example/SingleParticlesWithRef/data/121p-shift-180-300-0.roi
263
+ - example/SingleParticlesWithRef/data/121p-shift-180-60-0.roi
264
+ - example/SingleParticlesWithRef/data/121p-shift-240-0-0.roi
265
+ - example/SingleParticlesWithRef/data/121p-shift-240-120-0.roi
266
+ - example/SingleParticlesWithRef/data/121p-shift-240-180-0.roi
267
+ - example/SingleParticlesWithRef/data/121p-shift-240-240-0.roi
268
+ - example/SingleParticlesWithRef/data/121p-shift-240-300-0.roi
269
+ - example/SingleParticlesWithRef/data/121p-shift-240-60-0.roi
270
+ - example/SingleParticlesWithRef/data/121p-shift-300-0-0.roi
271
+ - example/SingleParticlesWithRef/data/121p-shift-300-120-0.roi
272
+ - example/SingleParticlesWithRef/data/121p-shift-300-180-0.roi
273
+ - example/SingleParticlesWithRef/data/121p-shift-300-240-0.roi
274
+ - example/SingleParticlesWithRef/data/121p-shift-300-300-0.roi
275
+ - example/SingleParticlesWithRef/data/121p-shift-300-60-0.roi
276
+ - example/SingleParticlesWithRef/data/121p-shift-60-0-0.roi
277
+ - example/SingleParticlesWithRef/data/121p-shift-60-120-0.roi
278
+ - example/SingleParticlesWithRef/data/121p-shift-60-180-0.roi
279
+ - example/SingleParticlesWithRef/data/121p-shift-60-240-0.roi
280
+ - example/SingleParticlesWithRef/data/121p-shift-60-300-0.roi
281
+ - example/SingleParticlesWithRef/data/121p-shift-60-60-0.roi
282
+ - example/SingleParticlesWithRef/data/121p-shift-noise-0-0-0.roi
283
+ - example/SingleParticlesWithRef/data/121p-shift-noise-0-120-0.roi
284
+ - example/SingleParticlesWithRef/data/121p-shift-noise-0-180-0.roi
285
+ - example/SingleParticlesWithRef/data/121p-shift-noise-0-240-0.roi
286
+ - example/SingleParticlesWithRef/data/121p-shift-noise-0-300-0.roi
287
+ - example/SingleParticlesWithRef/data/121p-shift-noise-0-60-0.roi
288
+ - example/SingleParticlesWithRef/data/121p-shift-noise-120-0-0.roi
289
+ - example/SingleParticlesWithRef/data/121p-shift-noise-120-120-0.roi
290
+ - example/SingleParticlesWithRef/data/121p-shift-noise-120-180-0.roi
291
+ - example/SingleParticlesWithRef/data/121p-shift-noise-120-240-0.roi
292
+ - example/SingleParticlesWithRef/data/121p-shift-noise-120-300-0.roi
293
+ - example/SingleParticlesWithRef/data/121p-shift-noise-120-60-0.roi
294
+ - example/SingleParticlesWithRef/data/121p-shift-noise-180-0-0.roi
295
+ - example/SingleParticlesWithRef/data/121p-shift-noise-180-120-0.roi
296
+ - example/SingleParticlesWithRef/data/121p-shift-noise-180-180-0.roi
297
+ - example/SingleParticlesWithRef/data/121p-shift-noise-180-240-0.roi
298
+ - example/SingleParticlesWithRef/data/121p-shift-noise-180-300-0.roi
299
+ - example/SingleParticlesWithRef/data/121p-shift-noise-180-60-0.roi
300
+ - example/SingleParticlesWithRef/data/121p-shift-noise-240-0-0.roi
301
+ - example/SingleParticlesWithRef/data/121p-shift-noise-240-120-0.roi
302
+ - example/SingleParticlesWithRef/data/121p-shift-noise-240-180-0.roi
303
+ - example/SingleParticlesWithRef/data/121p-shift-noise-240-240-0.roi
304
+ - example/SingleParticlesWithRef/data/121p-shift-noise-240-300-0.roi
305
+ - example/SingleParticlesWithRef/data/121p-shift-noise-240-60-0.roi
306
+ - example/SingleParticlesWithRef/data/121p-shift-noise-300-0-0.roi
307
+ - example/SingleParticlesWithRef/data/121p-shift-noise-300-120-0.roi
308
+ - example/SingleParticlesWithRef/data/121p-shift-noise-300-180-0.roi
309
+ - example/SingleParticlesWithRef/data/121p-shift-noise-300-240-0.roi
310
+ - example/SingleParticlesWithRef/data/121p-shift-noise-300-300-0.roi
311
+ - example/SingleParticlesWithRef/data/121p-shift-noise-300-60-0.roi
312
+ - example/SingleParticlesWithRef/data/121p-shift-noise-60-0-0.roi
313
+ - example/SingleParticlesWithRef/data/121p-shift-noise-60-120-0.roi
314
+ - example/SingleParticlesWithRef/data/121p-shift-noise-60-180-0.roi
315
+ - example/SingleParticlesWithRef/data/121p-shift-noise-60-240-0.roi
316
+ - example/SingleParticlesWithRef/data/121p-shift-noise-60-300-0.roi
317
+ - example/SingleParticlesWithRef/data/121p-shift-noise-60-60-0.roi
318
+ - example/SingleParticlesWithRef/data/121p-shift.pdb
319
+ - example/SingleParticlesWithRef/data/all.ref2d
320
+ - example/SingleParticlesWithRef/data/all.ref3d
321
+ - example/Sum/Sum.pione
322
+ - example/Sum/input/list.txt
323
+ - example/SyntaxError/call_rule_error.pione
324
+ - example/SyntaxError/feature_line_error.pione
325
+ - example/SyntaxError/flow_block_error.pione
326
+ - example/SyntaxError/input_line_error.pione
327
+ - example/SyntaxError/invalid_rule_name.pione
328
+ - example/SyntaxError/output_line_error.pione
329
+ - example/SyntaxError/param_line_error.pione
330
+ - example/SyntaxError/variable-binding-error.pione
331
+ - lib/pione.rb
332
+ - lib/pione/agent/basic-agent.rb
333
+ - lib/pione/agent/broker.rb
334
+ - lib/pione/agent/command-listener.rb
335
+ - lib/pione/agent/input-generator.rb
336
+ - lib/pione/agent/logger.rb
337
+ - lib/pione/agent/process-manager.rb
338
+ - lib/pione/agent/rule-provider.rb
339
+ - lib/pione/agent/task-worker.rb
340
+ - lib/pione/agent/trivial-routine-worker.rb
341
+ - lib/pione/agent/tuple-space-client.rb
342
+ - lib/pione/agent/tuple-space-server-client-life-checker.rb
343
+ - lib/pione/command-option/basic-option.rb
344
+ - lib/pione/command-option/child-process-option.rb
345
+ - lib/pione/command-option/common-option.rb
346
+ - lib/pione/command-option/daemon-option.rb
347
+ - lib/pione/command-option/presence-notifier-option.rb
348
+ - lib/pione/command-option/task-worker-owner-option.rb
349
+ - lib/pione/command-option/tuple-space-provider-option.rb
350
+ - lib/pione/command-option/tuple-space-provider-owner-option.rb
351
+ - lib/pione/command-option/tuple-space-receiver-option.rb
352
+ - lib/pione/command/basic-command.rb
353
+ - lib/pione/command/child-process.rb
354
+ - lib/pione/command/daemon-process.rb
355
+ - lib/pione/command/front-owner-command.rb
356
+ - lib/pione/command/pione-broker.rb
357
+ - lib/pione/command/pione-clean.rb
358
+ - lib/pione/command/pione-client.rb
359
+ - lib/pione/command/pione-relay-account-db.rb
360
+ - lib/pione/command/pione-relay-client-db.rb
361
+ - lib/pione/command/pione-relay.rb
362
+ - lib/pione/command/pione-syntax-checker.rb
363
+ - lib/pione/command/pione-task-worker.rb
364
+ - lib/pione/command/pione-tuple-space-provider.rb
365
+ - lib/pione/command/pione-tuple-space-receiver.rb
366
+ - lib/pione/command/pione-tuple-space-viewer.rb
367
+ - lib/pione/command/tuple-space-provider-owner.rb
368
+ - lib/pione/front/basic-front.rb
369
+ - lib/pione/front/broker-front.rb
370
+ - lib/pione/front/client-front.rb
371
+ - lib/pione/front/relay-front.rb
372
+ - lib/pione/front/task-worker-front.rb
373
+ - lib/pione/front/task-worker-owner.rb
374
+ - lib/pione/front/tuple-space-provider-front.rb
375
+ - lib/pione/front/tuple-space-provider-owner.rb
376
+ - lib/pione/front/tuple-space-receiver-front.rb
377
+ - lib/pione/model/assignment.rb
378
+ - lib/pione/model/basic-model.rb
379
+ - lib/pione/model/binary-operator.rb
380
+ - lib/pione/model/block.rb
381
+ - lib/pione/model/boolean.rb
382
+ - lib/pione/model/call-rule.rb
383
+ - lib/pione/model/data-expr.rb
384
+ - lib/pione/model/feature-expr.rb
385
+ - lib/pione/model/float.rb
386
+ - lib/pione/model/integer.rb
387
+ - lib/pione/model/list.rb
388
+ - lib/pione/model/message.rb
389
+ - lib/pione/model/package.rb
390
+ - lib/pione/model/parameters.rb
391
+ - lib/pione/model/rule-expr.rb
392
+ - lib/pione/model/rule-io.rb
393
+ - lib/pione/model/rule.rb
394
+ - lib/pione/model/string.rb
395
+ - lib/pione/model/undefined-value.rb
396
+ - lib/pione/model/variable-table.rb
397
+ - lib/pione/model/variable.rb
398
+ - lib/pione/parser/block-parser.rb
399
+ - lib/pione/parser/common-parser.rb
400
+ - lib/pione/parser/document-parser.rb
401
+ - lib/pione/parser/error-message.yml
402
+ - lib/pione/parser/expr-parser.rb
403
+ - lib/pione/parser/feature-expr-parser.rb
404
+ - lib/pione/parser/flow-element-parser.rb
405
+ - lib/pione/parser/literal-parser.rb
406
+ - lib/pione/parser/rule-definition-parser.rb
407
+ - lib/pione/parser/syntax-error.rb
408
+ - lib/pione/patch/array-patch.rb
409
+ - lib/pione/patch/drb-patch.rb
410
+ - lib/pione/patch/monitor-patch.rb
411
+ - lib/pione/patch/rinda-patch.rb
412
+ - lib/pione/patch/uri-patch.rb
413
+ - lib/pione/relay/receiver-socket.rb
414
+ - lib/pione/relay/relay-account-db.rb
415
+ - lib/pione/relay/relay-client-db.rb
416
+ - lib/pione/relay/relay-socket.rb
417
+ - lib/pione/relay/trampoline.rb
418
+ - lib/pione/relay/transmitter-socket.rb
419
+ - lib/pione/resource/basic-resource.rb
420
+ - lib/pione/resource/dropbox-resource.rb
421
+ - lib/pione/resource/ftp.rb
422
+ - lib/pione/resource/local.rb
423
+ - lib/pione/rule-handler/action-handler.rb
424
+ - lib/pione/rule-handler/basic-handler.rb
425
+ - lib/pione/rule-handler/flow-handler.rb
426
+ - lib/pione/rule-handler/root-handler.rb
427
+ - lib/pione/rule-handler/system-handler.rb
428
+ - lib/pione/system/common.rb
429
+ - lib/pione/system/config.rb
430
+ - lib/pione/system/document.rb
431
+ - lib/pione/system/file-cache.rb
432
+ - lib/pione/system/global.rb
433
+ - lib/pione/system/identifier.rb
434
+ - lib/pione/system/init.rb
435
+ - lib/pione/system/object.rb
436
+ - lib/pione/transformer/block-transformer.rb
437
+ - lib/pione/transformer/document-transformer.rb
438
+ - lib/pione/transformer/expr-transformer.rb
439
+ - lib/pione/transformer/feature-expr-transformer.rb
440
+ - lib/pione/transformer/flow-element-transformer.rb
441
+ - lib/pione/transformer/literal-transformer.rb
442
+ - lib/pione/transformer/rule-definition-transformer.rb
443
+ - lib/pione/transformer/transformer-module.rb
444
+ - lib/pione/tuple-space/data-finder.rb
445
+ - lib/pione/tuple-space/presence-notifier.rb
446
+ - lib/pione/tuple-space/relay.rb
447
+ - lib/pione/tuple-space/tuple-space-provider.rb
448
+ - lib/pione/tuple-space/tuple-space-receiver.rb
449
+ - lib/pione/tuple-space/tuple-space-server-interface.rb
450
+ - lib/pione/tuple-space/tuple-space-server.rb
451
+ - lib/pione/tuple-space/update-criteria.rb
452
+ - lib/pione/tuple/agent-tuple.rb
453
+ - lib/pione/tuple/attribute-tuple.rb
454
+ - lib/pione/tuple/base-uri-tuple.rb
455
+ - lib/pione/tuple/basic-tuple.rb
456
+ - lib/pione/tuple/bye-tuple.rb
457
+ - lib/pione/tuple/command-tuple.rb
458
+ - lib/pione/tuple/data-tuple.rb
459
+ - lib/pione/tuple/dry-run-tuple.rb
460
+ - lib/pione/tuple/exception-tuple.rb
461
+ - lib/pione/tuple/finished-tuple.rb
462
+ - lib/pione/tuple/foreground-tuple.rb
463
+ - lib/pione/tuple/log-tuple.rb
464
+ - lib/pione/tuple/process-info-tuple.rb
465
+ - lib/pione/tuple/request-rule-tuple.rb
466
+ - lib/pione/tuple/rule-tuple.rb
467
+ - lib/pione/tuple/shift-tuple.rb
468
+ - lib/pione/tuple/task-tuple.rb
469
+ - lib/pione/tuple/task-worker-resource-tuple.rb
470
+ - lib/pione/tuple/working-tuple.rb
471
+ - lib/pione/uri-scheme/basic-scheme.rb
472
+ - lib/pione/uri-scheme/broadcast-scheme.rb
473
+ - lib/pione/uri-scheme/dropbox-scheme.rb
474
+ - lib/pione/uri-scheme/local-scheme.rb
475
+ - lib/pione/util/error-report.rb
476
+ - lib/pione/util/log.rb
477
+ - lib/pione/util/message.rb
478
+ - lib/pione/util/misc.rb
479
+ - lib/pione/util/terminal.rb
480
+ - lib/pione/util/waiter-table.rb
481
+ - lib/pione/version.rb
482
+ - misc/env.sh
483
+ - misc/test-drb-stop-service.rb
484
+ - misc/test-ensure-and-thread-kill.rb
485
+ - misc/test-many-waiters-client.rb
486
+ - misc/test-many-waiters-server.rb
487
+ - misc/write_and_take_test.png
488
+ - misc/write_and_take_test.rb
489
+ - pione.gemspec
490
+ - test/agent/spec_basic-agent.rb
491
+ - test/agent/spec_broker.rb
492
+ - test/agent/spec_command-listener.rb
493
+ - test/agent/spec_input-generator.rb
494
+ - test/agent/spec_logger.rb
495
+ - test/agent/spec_rule-provider.rb
496
+ - test/agent/spec_task-worker.rb
497
+ - test/agent/spec_tuple-space-client.rb
498
+ - test/model/spec_assignment.rb
499
+ - test/model/spec_binary-operator.rb
500
+ - test/model/spec_block.rb
501
+ - test/model/spec_boolean.rb
502
+ - test/model/spec_call-rule.rb
503
+ - test/model/spec_data-expr.rb
504
+ - test/model/spec_feature-expr.rb
505
+ - test/model/spec_feature-expr.yml
506
+ - test/model/spec_float.rb
507
+ - test/model/spec_integer.rb
508
+ - test/model/spec_list.rb
509
+ - test/model/spec_message.rb
510
+ - test/model/spec_package.rb
511
+ - test/model/spec_parameters.rb
512
+ - test/model/spec_rule-expr.rb
513
+ - test/model/spec_rule-io.rb
514
+ - test/model/spec_rule.rb
515
+ - test/model/spec_string.rb
516
+ - test/model/spec_variable-table.rb
517
+ - test/model/spec_variable.rb
518
+ - test/parser/spec_block-parser.rb
519
+ - test/parser/spec_block-parser.yml
520
+ - test/parser/spec_common-parser.rb
521
+ - test/parser/spec_expr-parser.rb
522
+ - test/parser/spec_expr-parser.yml
523
+ - test/parser/spec_feature-expr-parser.rb
524
+ - test/parser/spec_feature-expr-parser.yml
525
+ - test/parser/spec_flow-element-parser.rb
526
+ - test/parser/spec_flow-element-parser.yml
527
+ - test/parser/spec_literal-parser.rb
528
+ - test/parser/spec_literal-parser.yml
529
+ - test/parser/spec_rule-definition-parser.rb
530
+ - test/parser/spec_rule-definition-parser.yml
531
+ - test/patch/spec_rinda-patch.rb
532
+ - test/patch/spec_uri-patch.rb
533
+ - test/rule-handler/spec_action-handler.rb
534
+ - test/rule-handler/spec_flow-handler.rb
535
+ - test/spec_common.rb
536
+ - test/spec_data-finder.rb
537
+ - test/spec_data-finder.yml
538
+ - test/spec_document.rb
539
+ - test/spec_identifier.rb
540
+ - test/spec_log.rb
541
+ - test/spec_object.rb
542
+ - test/spec_resource.rb
543
+ - test/spec_update-criteria.rb
544
+ - test/test-util.rb
545
+ - test/transformer/spec_block-transformer.rb
546
+ - test/transformer/spec_expr-transformer.rb
547
+ - test/transformer/spec_feature-expr-transformer.rb
548
+ - test/transformer/spec_flow-element-transformer.rb
549
+ - test/transformer/spec_literal-transformer.rb
550
+ - test/transformer/spec_rule-definition-transformer.rb
551
+ - test/tuple-space/spec_tuple-space-provider.rb
552
+ - test/tuple-space/spec_tuple-space-receiver.rb
553
+ - test/tuple-space/spec_tuple-space-server.rb
554
+ - test/tuple/spec_basic-tuple.rb
555
+ - test/tuple/spec_data-tuple.rb
556
+ - test/tuple/spec_finished-tuple.rb
557
+ - test/tuple/spec_task-tuple.rb
558
+ - test/tuple/spec_working-tuple.rb
559
+ - test/uri-scheme/spec_broadcast-scheme.rb
560
+ - test/uri-scheme/spec_dropbox-scheme.rb
561
+ - test/uri-scheme/spec_local-scheme.rb
562
+ homepage: http://pione.github.com/
563
+ licenses:
564
+ - MIT
565
+ post_install_message:
566
+ rdoc_options: []
567
+ require_paths:
568
+ - lib
569
+ required_ruby_version: !ruby/object:Gem::Requirement
570
+ none: false
571
+ requirements:
572
+ - - ! '>='
573
+ - !ruby/object:Gem::Version
574
+ version: 1.9.2
575
+ required_rubygems_version: !ruby/object:Gem::Requirement
576
+ none: false
577
+ requirements:
578
+ - - ! '>='
579
+ - !ruby/object:Gem::Version
580
+ version: '0'
581
+ requirements: []
582
+ rubyforge_project:
583
+ rubygems_version: 1.8.24
584
+ signing_key:
585
+ specification_version: 3
586
+ summary: rule-based workflow engine
587
+ test_files:
588
+ - test/agent/spec_basic-agent.rb
589
+ - test/agent/spec_broker.rb
590
+ - test/agent/spec_command-listener.rb
591
+ - test/agent/spec_input-generator.rb
592
+ - test/agent/spec_logger.rb
593
+ - test/agent/spec_rule-provider.rb
594
+ - test/agent/spec_task-worker.rb
595
+ - test/agent/spec_tuple-space-client.rb
596
+ - test/model/spec_assignment.rb
597
+ - test/model/spec_binary-operator.rb
598
+ - test/model/spec_block.rb
599
+ - test/model/spec_boolean.rb
600
+ - test/model/spec_call-rule.rb
601
+ - test/model/spec_data-expr.rb
602
+ - test/model/spec_feature-expr.rb
603
+ - test/model/spec_feature-expr.yml
604
+ - test/model/spec_float.rb
605
+ - test/model/spec_integer.rb
606
+ - test/model/spec_list.rb
607
+ - test/model/spec_message.rb
608
+ - test/model/spec_package.rb
609
+ - test/model/spec_parameters.rb
610
+ - test/model/spec_rule-expr.rb
611
+ - test/model/spec_rule-io.rb
612
+ - test/model/spec_rule.rb
613
+ - test/model/spec_string.rb
614
+ - test/model/spec_variable-table.rb
615
+ - test/model/spec_variable.rb
616
+ - test/parser/spec_block-parser.rb
617
+ - test/parser/spec_block-parser.yml
618
+ - test/parser/spec_common-parser.rb
619
+ - test/parser/spec_expr-parser.rb
620
+ - test/parser/spec_expr-parser.yml
621
+ - test/parser/spec_feature-expr-parser.rb
622
+ - test/parser/spec_feature-expr-parser.yml
623
+ - test/parser/spec_flow-element-parser.rb
624
+ - test/parser/spec_flow-element-parser.yml
625
+ - test/parser/spec_literal-parser.rb
626
+ - test/parser/spec_literal-parser.yml
627
+ - test/parser/spec_rule-definition-parser.rb
628
+ - test/parser/spec_rule-definition-parser.yml
629
+ - test/patch/spec_rinda-patch.rb
630
+ - test/patch/spec_uri-patch.rb
631
+ - test/rule-handler/spec_action-handler.rb
632
+ - test/rule-handler/spec_flow-handler.rb
633
+ - test/spec_common.rb
634
+ - test/spec_data-finder.rb
635
+ - test/spec_data-finder.yml
636
+ - test/spec_document.rb
637
+ - test/spec_identifier.rb
638
+ - test/spec_log.rb
639
+ - test/spec_object.rb
640
+ - test/spec_resource.rb
641
+ - test/spec_update-criteria.rb
642
+ - test/test-util.rb
643
+ - test/transformer/spec_block-transformer.rb
644
+ - test/transformer/spec_expr-transformer.rb
645
+ - test/transformer/spec_feature-expr-transformer.rb
646
+ - test/transformer/spec_flow-element-transformer.rb
647
+ - test/transformer/spec_literal-transformer.rb
648
+ - test/transformer/spec_rule-definition-transformer.rb
649
+ - test/tuple-space/spec_tuple-space-provider.rb
650
+ - test/tuple-space/spec_tuple-space-receiver.rb
651
+ - test/tuple-space/spec_tuple-space-server.rb
652
+ - test/tuple/spec_basic-tuple.rb
653
+ - test/tuple/spec_data-tuple.rb
654
+ - test/tuple/spec_finished-tuple.rb
655
+ - test/tuple/spec_task-tuple.rb
656
+ - test/tuple/spec_working-tuple.rb
657
+ - test/uri-scheme/spec_broadcast-scheme.rb
658
+ - test/uri-scheme/spec_dropbox-scheme.rb
659
+ - test/uri-scheme/spec_local-scheme.rb
660
+ has_rdoc: