goling 0.2.0 → 0.2.1
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/VERSION +1 -1
- data/goling.gemspec +2 -2
- data/lib/goling/reduction.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/goling.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{goling}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = [%q{Patrick Hanevold}]
|
12
|
-
s.date = %q{2011-10-
|
12
|
+
s.date = %q{2011-10-08}
|
13
13
|
s.description = %q{Goling is a linguistic compiler allowing you to compile and execute plain english.}
|
14
14
|
s.email = %q{patrick.hanevold@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/goling/reduction.rb
CHANGED
@@ -104,7 +104,7 @@ module Goling
|
|
104
104
|
raise "trying to reference #{red.lang} code in #{lang} code" if red.lang != lang
|
105
105
|
if red.inline
|
106
106
|
code = red.compile_with_return_to_var(nil,replace)
|
107
|
-
replace[args[i]] = Replacement.new(:sexp => Sexp.new(:block,*code), :inline => true
|
107
|
+
replace[args[i]] = Replacement.new(:sexp => Sexp.new(:block,*code), :inline => true)
|
108
108
|
else
|
109
109
|
code = red.compile_with_return_to_var("#{ret}_#{n}".to_sym,replace)
|
110
110
|
args_code += code
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: goling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Patrick Hanevold
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-10-
|
13
|
+
date: 2011-10-08 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sourcify
|
@@ -102,7 +102,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
102
|
requirements:
|
103
103
|
- - ">="
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
hash:
|
105
|
+
hash: 915724687932259970
|
106
106
|
segments:
|
107
107
|
- 0
|
108
108
|
version: "0"
|