fastruby 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +6 -0
- data/README +3 -2
- data/Rakefile +1 -1
- data/benchmarks/benchmark7.rb +77 -0
- data/ext/fastruby_base/fastruby_base.c +3 -1
- data/ext/fastruby_base/fastruby_base.inl +79 -1
- data/lib/fastruby/builder.rb +43 -75
- data/lib/fastruby/object.rb +1 -1
- data/lib/fastruby/set_tree.rb +6 -0
- data/lib/fastruby/translator/modules/call.rb +2 -3
- data/lib/fastruby/translator/modules/defn.rb +51 -73
- data/lib/fastruby/translator/modules/iter.rb +16 -20
- data/lib/fastruby/translator/translator.rb +253 -91
- data/lib/fastruby.rb +1 -10
- data/lib/fastruby_load_path.rb +29 -0
- data/spec/call/base_call_spec.rb +82 -0
- data/spec/defn/multiple_args_spec.rb +11 -0
- data/spec/defn/replacement_spec.rb +102 -0
- metadata +8 -4
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 14
|
10
|
+
version: 0.0.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dario Seminara
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-23 00:00:00 -03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -59,6 +59,7 @@ extensions:
|
|
59
59
|
extra_rdoc_files:
|
60
60
|
- README
|
61
61
|
files:
|
62
|
+
- benchmarks/benchmark7.rb
|
62
63
|
- benchmarks/benchmark5.rb
|
63
64
|
- benchmarks/benchmark2.rb
|
64
65
|
- benchmarks/benchmark4.rb
|
@@ -69,6 +70,7 @@ files:
|
|
69
70
|
- examples/example3.rb
|
70
71
|
- examples/example4.rb
|
71
72
|
- examples/example2.rb
|
73
|
+
- lib/fastruby_load_path.rb
|
72
74
|
- lib/fastruby/inline_extension.rb
|
73
75
|
- lib/fastruby/set_tree.rb
|
74
76
|
- lib/fastruby/builder.rb
|
@@ -99,6 +101,7 @@ files:
|
|
99
101
|
- spec/control_spec.rb
|
100
102
|
- spec/return_spec.rb
|
101
103
|
- spec/expression_spec.rb
|
104
|
+
- spec/defn/replacement_spec.rb
|
102
105
|
- spec/defn/multiple_args_spec.rb
|
103
106
|
- spec/module_spec.rb
|
104
107
|
- spec/jump/next_spec.rb
|
@@ -121,6 +124,7 @@ files:
|
|
121
124
|
- spec/literal_spec.rb
|
122
125
|
- spec/singleton_spec.rb
|
123
126
|
- spec/integrity_spec.rb
|
127
|
+
- spec/call/base_call_spec.rb
|
124
128
|
- spec/call/multiple_args_spec.rb
|
125
129
|
- ext/fastruby_base/fastruby_base.inl
|
126
130
|
- ext/fastruby_base/fastruby_base.c
|