¸ Subject եޥåȤȤȡڤɤ

ʲꤹ Subject եޥåȡ
=============================================
plugin:PLUGIN_NAME[:PLUGIN_OPTIONS]  # plugin:  plg: ġ

YYYYMMDDHHmm[:PLUGIN_NAME[:PLUGIN_OPTIONS]]
YYMMDDHHmm[:PLUGIN_NAME[:PLUGIN_OPTIONS]]
MMDDHHmm[:PLUGIN_NAME[:PLUGIN_OPTIONS]]
DDHHmm[:PLUGIN_NAME[:PLUGIN_OPTIONS]]
HHmm[:PLUGIN_NAME[:PLUGIN_OPTIONS]]
HH[:PLUGIN_NAME[:PLUGIN_OPTIONS]]
=============================================
e.g.
plugin:cat:foo_file
10:svn
0101:cat:foo_file
=============================================

plugin ǥ쥯ȥ .smplg.rb ե뤬ץ饰Ȥǧ롣
ޤĥҤե̾ (ץ饰̾)  [0-9a-z_]+ ȡ
㤨 plugin ǥ쥯ȥ꤬Τ褦ʹäƤȤ롣

plugin/
 foo.smplg.rb
 foo_utils.rb
 foo2.rb
 foo3.smplg.rb
 foo4.txt.smplg.rb
 foo5.smplg.rb.sh
 foo6-hoo.smplg.rb
 7foo.smplg.rb

ξ foo, foo3, 7foo ץ饰Ȥǧ롣
- foo4.txt  '.' ޤǤΤ̵뤹
- foo6-hoo  '-' ޤǤΤ̵뤹



[ץ饰׷]
Ruby ץȤǤ뤳

ץ饰̾ [0-9a-z_]+ ǹƤ뤳

foo.smplg.rb Ȥե̾ʤ Plugin_foo 饹
 Plugin_foo 饹 Plugin 饹饹Ǥ뤳



[SimRM ¦μ˴ؤ]
thread 뤳
ϥץ饰ûϤʤ֤ɬפǤäؤбȤʤ

ץ饰Υ饹ˤ eval("Plugin_foo").new("options") Ȥ

plugin ᡼ΰȽˤ SimRM  userlist Ȥ



[TODO]
web.smplg.rb
net/http, net/https, proxy
(ʪ gzip + base64 ֤Ĥꡣ
 ץ decode_src 
 gzip + base64 ʸŬڤ˲ह륹ץȤ)
wwwc.smplg.rb
Web ڡ˹ä᡼
