fastruby 0.0.5 → 0.0.6
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 +2 -0
- data/README +18 -2
- data/Rakefile +1 -1
- data/lib/fastruby/builder.rb +144 -20
- data/lib/fastruby/cache/cache.rb +86 -0
- data/lib/fastruby/custom_require.rb +3 -0
- data/lib/fastruby/exceptions.rb +10 -0
- data/lib/fastruby/fastruby_sexp.rb +25 -0
- data/lib/fastruby/getlocals.rb +2 -2
- data/lib/fastruby/object.rb +57 -268
- data/lib/fastruby/set_tree.rb +61 -0
- data/lib/fastruby/sexp_extension.rb +37 -0
- data/lib/fastruby/translator.rb +748 -287
- data/lib/fastruby.rb +12 -2
- metadata +8 -4
data/lib/fastruby.rb
CHANGED
@@ -18,11 +18,21 @@ you should have received a copy of the gnu general public license
|
|
18
18
|
along with fastruby. if not, see <http://www.gnu.org/licenses/>.
|
19
19
|
|
20
20
|
=end
|
21
|
-
require "fastruby/
|
21
|
+
require "fastruby/exceptions"
|
22
22
|
require "fastruby/object"
|
23
23
|
require "fastruby/exceptions"
|
24
24
|
require "fastruby/custom_require"
|
25
|
+
require "fastruby/set_tree"
|
25
26
|
|
26
27
|
module FastRuby
|
27
|
-
|
28
|
+
class << self
|
29
|
+
attr_accessor :fastruby_script_path
|
30
|
+
attr_accessor :fastruby_load_path
|
31
|
+
end
|
32
|
+
|
33
|
+
FastRuby.fastruby_script_path = File.expand_path(__FILE__)
|
34
|
+
FastRuby.fastruby_load_path = File.expand_path(File.dirname(__FILE__))
|
35
|
+
|
36
|
+
VERSION = "0.0.6" unless defined? VERSION
|
28
37
|
end
|
38
|
+
|
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: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
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-08-
|
18
|
+
date: 2011-08-27 00:00:00 -03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -70,14 +70,18 @@ files:
|
|
70
70
|
- examples/example4.rb
|
71
71
|
- examples/example2.rb
|
72
72
|
- lib/fastruby/inline_extension.rb
|
73
|
+
- lib/fastruby/set_tree.rb
|
73
74
|
- lib/fastruby/builder.rb
|
74
75
|
- lib/fastruby/custom_require.rb
|
75
76
|
- lib/fastruby/logging.rb
|
76
77
|
- lib/fastruby/exceptions.rb
|
77
78
|
- lib/fastruby/getlocals.rb
|
79
|
+
- lib/fastruby/sexp_extension.rb
|
78
80
|
- lib/fastruby/translator.rb
|
79
81
|
- lib/fastruby/object.rb
|
82
|
+
- lib/fastruby/fastruby_sexp.rb
|
80
83
|
- lib/fastruby/method_extension.rb
|
84
|
+
- lib/fastruby/cache/cache.rb
|
81
85
|
- lib/fastruby.rb
|
82
86
|
- spec/variable_spec.rb
|
83
87
|
- spec/control_spec.rb
|