heist 0.2.1 → 0.3.0
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/History.txt +17 -0
- data/Manifest.txt +5 -0
- data/README.txt +65 -51
- data/Rakefile +25 -1
- data/lib/builtin/library.scm +244 -9
- data/lib/builtin/primitives.rb +122 -10
- data/lib/builtin/syntax.scm +10 -14
- data/lib/heist.rb +5 -13
- data/lib/parser/nodes.rb +25 -5
- data/lib/parser/scheme.rb +394 -142
- data/lib/parser/scheme.tt +18 -6
- data/lib/repl.rb +19 -13
- data/lib/runtime/binding.rb +1 -0
- data/lib/runtime/callable/continuation.rb +1 -0
- data/lib/runtime/callable/macro.rb +37 -2
- data/lib/runtime/callable/macro/expansion.rb +34 -2
- data/lib/runtime/callable/syntax.rb +1 -0
- data/lib/runtime/data/character.rb +83 -0
- data/lib/runtime/data/cons.rb +17 -19
- data/lib/runtime/data/vector.rb +65 -0
- data/lib/runtime/frame.rb +7 -0
- data/lib/runtime/runtime.rb +2 -1
- data/lib/runtime/scope.rb +5 -9
- data/lib/runtime/stackless.rb +7 -0
- data/lib/trie.rb +141 -0
- data/test/equivalence.scm +7 -0
- data/test/let.scm +13 -0
- data/test/lists.scm +2 -3
- data/test/macros.scm +14 -0
- data/test/strings.scm +110 -0
- data/test/test_heist.rb +2 -0
- data/test/vectors.scm +83 -0
- metadata +10 -7
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Coglan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-31 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
43
|
+
version: 2.0.0
|
44
44
|
version:
|
45
45
|
description: ""
|
46
46
|
email:
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- lib/bin_spec.rb
|
63
63
|
- lib/heist.rb
|
64
64
|
- lib/repl.rb
|
65
|
+
- lib/trie.rb
|
65
66
|
- lib/builtin/library.scm
|
66
67
|
- lib/builtin/primitives.rb
|
67
68
|
- lib/builtin/syntax.scm
|
@@ -76,9 +77,11 @@ files:
|
|
76
77
|
- lib/runtime/callable/macro/matches.rb
|
77
78
|
- lib/runtime/callable/macro/tree.rb
|
78
79
|
- lib/runtime/callable/macro/expansion.rb
|
80
|
+
- lib/runtime/data/character.rb
|
79
81
|
- lib/runtime/data/cons.rb
|
80
82
|
- lib/runtime/data/expression.rb
|
81
83
|
- lib/runtime/data/identifier.rb
|
84
|
+
- lib/runtime/data/vector.rb
|
82
85
|
- lib/runtime/binding.rb
|
83
86
|
- lib/runtime/frame.rb
|
84
87
|
- lib/runtime/runtime.rb
|
@@ -107,13 +110,13 @@ files:
|
|
107
110
|
- test/macros.scm
|
108
111
|
- test/numbers.scm
|
109
112
|
- test/plt-macros.txt
|
113
|
+
- test/strings.scm
|
110
114
|
- test/test_heist.rb
|
111
115
|
- test/unhygienic.scm
|
112
116
|
- test/vars.scm
|
117
|
+
- test/vectors.scm
|
113
118
|
has_rdoc: true
|
114
119
|
homepage: http://github.com/jcoglan/heist
|
115
|
-
licenses: []
|
116
|
-
|
117
120
|
post_install_message:
|
118
121
|
rdoc_options:
|
119
122
|
- --main
|
@@ -135,9 +138,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
138
|
requirements: []
|
136
139
|
|
137
140
|
rubyforge_project: heist
|
138
|
-
rubygems_version: 1.3.
|
141
|
+
rubygems_version: 1.3.1
|
139
142
|
signing_key:
|
140
|
-
specification_version:
|
143
|
+
specification_version: 2
|
141
144
|
summary: ""
|
142
145
|
test_files:
|
143
146
|
- test/test_heist.rb
|