razyk 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/razyk/vm.rb +1 -1
  3. data/razyk.gemspec +76 -0
  4. metadata +4 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
data/lib/razyk/vm.rb CHANGED
@@ -120,7 +120,7 @@ module RazyK
120
120
  if ch.nil?
121
121
  ch = 256
122
122
  else
123
- ch = ch.ord
123
+ ch = ch.unpack("C")[0]
124
124
  end
125
125
  new_root = Pair.new(Pair.new(:CONS, Combinator.new(ch)),
126
126
  :DUMMY) # reuse :IN combinator
data/razyk.gemspec ADDED
@@ -0,0 +1,76 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{razyk}
8
+ s.version = "0.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["nagachika"]
12
+ s.date = %q{2010-11-20}
13
+ s.default_executable = %q{razyk}
14
+ s.description = %q{RazyK is a LazyK implementetion by pure ruby}
15
+ s.email = %q{nagachika00@gmail.com}
16
+ s.executables = ["razyk"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".rspec",
24
+ "LICENSE",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "bin/razyk",
29
+ "examples/lazier.scm",
30
+ "examples/prelude.scm",
31
+ "examples/prime.lazy",
32
+ "examples/reverse.lazy",
33
+ "examples/reverse.scm",
34
+ "lib/razyk.rb",
35
+ "lib/razyk/graph.rb",
36
+ "lib/razyk/node.rb",
37
+ "lib/razyk/parser.rb",
38
+ "lib/razyk/parser.y",
39
+ "lib/razyk/vm.rb",
40
+ "lib/razyk/webapp.rb",
41
+ "lib/razyk/webapp/templates/main.html",
42
+ "razyk.gemspec",
43
+ "spec/node_spec.rb",
44
+ "spec/spec_helper.rb",
45
+ "spec/vm_spec.rb"
46
+ ]
47
+ s.homepage = %q{http://github.com/nagachika/razyk}
48
+ s.require_paths = ["lib"]
49
+ s.rubygems_version = %q{1.3.7}
50
+ s.summary = %q{pure ruby LazyK implementation}
51
+ s.test_files = [
52
+ "spec/node_spec.rb",
53
+ "spec/spec_helper.rb",
54
+ "spec/vm_spec.rb"
55
+ ]
56
+
57
+ if s.respond_to? :specification_version then
58
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
59
+ s.specification_version = 3
60
+
61
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
62
+ s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
63
+ s.add_runtime_dependency(%q<rack>, [">= 0"])
64
+ s.add_runtime_dependency(%q<ruby-graphviz>, [">= 0"])
65
+ else
66
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
67
+ s.add_dependency(%q<rack>, [">= 0"])
68
+ s.add_dependency(%q<ruby-graphviz>, [">= 0"])
69
+ end
70
+ else
71
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
72
+ s.add_dependency(%q<rack>, [">= 0"])
73
+ s.add_dependency(%q<ruby-graphviz>, [">= 0"])
74
+ end
75
+ end
76
+
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 0
9
- version: 0.0.0
8
+ - 1
9
+ version: 0.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - nagachika
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-19 00:00:00 +09:00
17
+ date: 2010-11-20 00:00:00 +09:00
18
18
  default_executable: razyk
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -88,6 +88,7 @@ files:
88
88
  - lib/razyk/vm.rb
89
89
  - lib/razyk/webapp.rb
90
90
  - lib/razyk/webapp/templates/main.html
91
+ - razyk.gemspec
91
92
  - spec/node_spec.rb
92
93
  - spec/spec_helper.rb
93
94
  - spec/vm_spec.rb