fastruby 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +6 -0
- data/Rakefile +3 -2
- data/ext/fastruby_base/extconf.rb +7 -0
- data/ext/fastruby_base/fastruby_base.c +5 -0
- data/lib/fastruby/translator.rb +523 -116
- data/lib/fastruby.rb +1 -1
- data/spec/block/break_spec.rb +46 -0
- data/spec/block/callcc_spec.rb +115 -0
- data/spec/block/lambda_spec.rb +181 -0
- metadata +10 -6
data/CHANGELOG
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
0.0.8 Lambda support
|
2
|
+
|
3
|
+
Re-implemented break
|
4
|
+
|
5
|
+
DAG representation of stack
|
6
|
+
|
1
7
|
0.0.7 Normalized random class names on specs to maximize the profit of the cache when running specs
|
2
8
|
|
3
9
|
Implemented dump of classes into literals using rb_define_class. This improves the cache loads
|
data/Rakefile
CHANGED
@@ -7,7 +7,7 @@ require "rspec/core/rake_task"
|
|
7
7
|
|
8
8
|
spec = Gem::Specification.new do |s|
|
9
9
|
s.name = 'fastruby'
|
10
|
-
s.version = '0.0.
|
10
|
+
s.version = '0.0.8'
|
11
11
|
s.author = 'Dario Seminara'
|
12
12
|
s.email = 'robertodarioseminara@gmail.com'
|
13
13
|
s.platform = Gem::Platform::RUBY
|
@@ -17,8 +17,9 @@ spec = Gem::Specification.new do |s|
|
|
17
17
|
s.add_dependency "ruby_parser", "= 2.0.6"
|
18
18
|
s.has_rdoc = true
|
19
19
|
s.extra_rdoc_files = [ 'README' ]
|
20
|
+
s.extensions = FileList["ext/**/extconf.rb"].to_a
|
20
21
|
# s.rdoc_options << '--main' << 'README'
|
21
|
-
s.files = Dir.glob("{benchmarks,examples,lib,spec}/**/*") +
|
22
|
+
s.files = Dir.glob("{benchmarks,examples,lib,spec}/**/*") + Dir.glob("ext/**/*.c") + Dir.glob("ext/**/*.h") + Dir.glob("ext/**/extconf.rb") +
|
22
23
|
[ 'LICENSE', 'AUTHORS', 'README', 'Rakefile', 'TODO', 'CHANGELOG' ]
|
23
24
|
end
|
24
25
|
|