iseq 0.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +22 -0
- data/LICENSE.ja +19 -0
- data/README +15 -0
- data/README.ja +17 -0
- data/ext/extconf.rb +6 -0
- data/ext/iseq.c +20 -0
- data/lib/iseq.so +0 -0
- metadata +72 -0
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The zlib/libpng License
|
2
|
+
|
3
|
+
Copyright (c) 2010 wanabe
|
4
|
+
|
5
|
+
This software is provided 'as-is', without any express or implied
|
6
|
+
warranty. In no event will the authors be held liable for any damages
|
7
|
+
arising from the use of this software.
|
8
|
+
|
9
|
+
Permission is granted to anyone to use this software for any purpose,
|
10
|
+
including commercial applications, and to alter it and redistribute it
|
11
|
+
freely, subject to the following restrictions:
|
12
|
+
|
13
|
+
1. The origin of this software must not be misrepresented; you must not
|
14
|
+
claim that you wrote the original software. If you use this software
|
15
|
+
in a product, an acknowledgment in the product documentation would be
|
16
|
+
appreciated but is not required.
|
17
|
+
|
18
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
19
|
+
misrepresented as being the original software.
|
20
|
+
|
21
|
+
3. This notice may not be removed or altered from any source
|
22
|
+
distribution.
|
data/LICENSE.ja
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
zlib/libpng ���C�Z���X ���I�a���
|
2
|
+
(���āF
|
3
|
+
http://sourceforge.jp/projects/opensource/wiki/licenses%2Fzlib_libpng_license )
|
4
|
+
|
5
|
+
Copyright (c) 2010 ���i�x
|
6
|
+
|
7
|
+
�{�\�t�g�E�F�A�́u����̂܂܁v�����I���ÖٓI�����킸�A���ۏŒ���܂��B
|
8
|
+
�{�\�t�g�E�F�A�̎g�p�ɂ�邢���Ȃ鑹�Q�ɂ��Ă��A��҂͈�̐ӔC���܂���B
|
9
|
+
|
10
|
+
�ȉ��̐����ɏ]������A���p�A�v���P�[�V�������܂߂āA�{�\�t�g�E�F�A��
|
11
|
+
�C�ӂ̖ړI�Ɏg�p���A���R�ɉ��ς��čĔЕz���邱�Ƃ����ׂĂ̐l�ɋ����܂��B
|
12
|
+
|
13
|
+
1. �{�\�t�g�E�F�A�̏o���ɂ��ċ��U�̕\�������Ă͂����܂���B
|
14
|
+
���Ȃ����I���W�i���̃\�t�g�E�F�A���쐬�����Ǝ咣���Ă͂����܂���B
|
15
|
+
���Ȃ����{�\�t�g�E�F�A�i���Ŏg�p����ꍇ�A
|
16
|
+
���i�̕����Ɏӎ������Ă���������K���ł����A�K�{�ł͂���܂���B
|
17
|
+
2. �\�[�X��ύX�����ꍇ�́A���̂��Ƃ�����K�v������܂��B
|
18
|
+
�I���W�i���̃\�t�g�E�F�A�ł���Ƃ������U�̕\�������Ă͂����܂���B
|
19
|
+
3. �\�[�X�̔Еz���ɂ����āA���̕\�����폜�܂��͕ύX�����肵�Ă͂����܂���B
|
data/README
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
Description
|
2
|
+
This is a library, by the ISeq freaks, for the ISeq freaks, of the ISeq freaks.
|
3
|
+
(will be in the future)
|
4
|
+
|
5
|
+
RubyVM::InstructionSequence is too long name, so I aliased it as Object::ISeq.
|
6
|
+
please use ISeq easily.
|
7
|
+
|
8
|
+
I define RubyVM::InstructionSequence#load, it is hidden feature on Ruby level.
|
9
|
+
|
10
|
+
Other feature is (TODO:�l����). If you have a question, please contact me.
|
11
|
+
e-mail (s.wanabe AT gmail.com) or twitter (wannabe53) is welcome.
|
12
|
+
|
13
|
+
LICENCE
|
14
|
+
please follow LICENSE or LICENSE.ja.
|
15
|
+
Both is mostly same, but LICENSE.ja is for Japanase.
|
data/README.ja
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
����
|
2
|
+
ISeq �t���[�N�X�ɂ�� ISeq �t���[�N�X�̂��߂� ISeq �t���[�N�X�̃��C�u�����ł��B
|
3
|
+
�i�ɂȂ�\��ł��j
|
4
|
+
|
5
|
+
RubyVM::InstructionSequence �Ƃ��������ɂ��������O���g�킹�Ȃ��C���X�Ȃ̂�
|
6
|
+
Object::ISeq �ɑ�����܂����B�C�y�� ISeq �ƎQ�Ƃ��Ă��������B
|
7
|
+
|
8
|
+
�ӂ��� Ruby ����͎g���Ȃ� RubyVM::InstructionSequence#load ���`���܂����B
|
9
|
+
|
10
|
+
���̂ق��̋@�\�͍l�����ł��B�Ȃɂ�����܂����烏�i�x�܂ŁB
|
11
|
+
���[���is.wanabe ������ gmail.com�j�܂��� twitter�iwannabe53�j�łǂ����B
|
12
|
+
|
13
|
+
���C�Z���X
|
14
|
+
LICENSE �܂��� LICENSE.ja �����ꂩ�̃t�@�C���ɏ]���Ă��������B
|
15
|
+
�ǂ������{�I�ɓ������̂ł����A�p����ǂނ̂����ȕ��̂��߂̘a�� .ja �̕��ł��B
|
16
|
+
��ɕs���������ĈႤ���̂ɂȂ��Ă���\��������܂��B
|
17
|
+
���̏ꍇ�A�����Ă���������Ə�����܂��B
|
data/ext/extconf.rb
ADDED
data/ext/iseq.c
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
#include "ruby.h"
|
2
|
+
|
3
|
+
RUBY_EXTERN VALUE rb_cISeq;
|
4
|
+
RUBY_EXTERN VALUE rb_iseq_load(VALUE data, VALUE parent, VALUE opt);
|
5
|
+
|
6
|
+
static VALUE
|
7
|
+
iseq_s_load(int argc, VALUE *argv, VALUE self)
|
8
|
+
{
|
9
|
+
VALUE data, opt=Qnil;
|
10
|
+
rb_scan_args(argc, argv, "11", &data, &opt);
|
11
|
+
|
12
|
+
return rb_iseq_load(data, 0, opt);
|
13
|
+
}
|
14
|
+
|
15
|
+
void
|
16
|
+
Init_iseq(void)
|
17
|
+
{
|
18
|
+
rb_define_const(rb_cObject, "ISeq", rb_cISeq);
|
19
|
+
rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1);
|
20
|
+
}
|
data/lib/iseq.so
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: iseq
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
version: 0.0.1
|
10
|
+
platform: x86-mingw32
|
11
|
+
authors:
|
12
|
+
- wanabe
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-03-16 00:00:00 +09:00
|
18
|
+
default_executable:
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: |
|
22
|
+
This is a library, by the ISeq freaks, for the ISeq freaks, of the ISeq freaks.
|
23
|
+
(will be in the future)
|
24
|
+
|
25
|
+
email: s.wanabe@gmail.com
|
26
|
+
executables: []
|
27
|
+
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files: []
|
31
|
+
|
32
|
+
files:
|
33
|
+
- LICENSE
|
34
|
+
- LICENSE.ja
|
35
|
+
- README
|
36
|
+
- README.ja
|
37
|
+
- ext/extconf.rb
|
38
|
+
- ext/iseq.c
|
39
|
+
- lib/iseq.so
|
40
|
+
has_rdoc: true
|
41
|
+
homepage: http://github.com/wanabe/iseq
|
42
|
+
licenses: []
|
43
|
+
|
44
|
+
post_install_message:
|
45
|
+
rdoc_options: []
|
46
|
+
|
47
|
+
require_paths:
|
48
|
+
- lib
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
segments:
|
54
|
+
- 1
|
55
|
+
- 9
|
56
|
+
version: "1.9"
|
57
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
version: "0"
|
64
|
+
requirements: []
|
65
|
+
|
66
|
+
rubyforge_project: iseq
|
67
|
+
rubygems_version: 1.3.6
|
68
|
+
signing_key:
|
69
|
+
specification_version: 3
|
70
|
+
summary: a library for ISeq freaks
|
71
|
+
test_files: []
|
72
|
+
|