hilbert 0.0.2700000
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.coveralls.yml +2 -0
- data/.gitignore +23 -0
- data/.rubocop.yml +25 -0
- data/.travis.yml +5 -0
- data/Gemfile +9 -0
- data/Guardfile +33 -0
- data/LICENSE.txt +22 -0
- data/README.md +159 -0
- data/Rakefile +20 -0
- data/bin/qlang +29 -0
- data/core/Q/Lexer.hs +9 -0
- data/core/Q/Parser.hs +9 -0
- data/core/Q.hs +19 -0
- data/ext/qlang/QMatrix/q_matrix.c +0 -0
- data/ext/qlang/extconf.rb +3 -0
- data/ext/qlang/qlang.c +65 -0
- data/ext/qlang/qlang.h +6 -0
- data/legacy_rspec/langs/Haskell/ex1_after.hs +74 -0
- data/legacy_rspec/langs/Haskell/ex1_before.hs +74 -0
- data/legacy_rspec/langs/Python/ex1_after.py +93 -0
- data/legacy_rspec/langs/Python/ex1_before.py +95 -0
- data/legacy_rspec/langs/R/ex1_after.R +89 -0
- data/legacy_rspec/langs/R/ex1_before.R +89 -0
- data/legacy_rspec/objects/list_spec.rb +31 -0
- data/legacy_rspec/objects/matrix_spec.rb +55 -0
- data/legacy_rspec/objects/vector_spec.rb +47 -0
- data/lib/qlang/api/func_api.rb +17 -0
- data/lib/qlang/api/integral_api.rb +16 -0
- data/lib/qlang/api/limit_api.rb +22 -0
- data/lib/qlang/api/list_api.rb +16 -0
- data/lib/qlang/api/matrix_api.rb +20 -0
- data/lib/qlang/api/sigma_api.rb +16 -0
- data/lib/qlang/api/vector_api.rb +19 -0
- data/lib/qlang/api.rb +23 -0
- data/lib/qlang/exec.rb +64 -0
- data/lib/qlang/iq.rb +45 -0
- data/lib/qlang/lexer/base.rb +107 -0
- data/lib/qlang/lexer/formula_lexer.rb +20 -0
- data/lib/qlang/lexer/main_lexer.rb +34 -0
- data/lib/qlang/lexer/tokens.rb +94 -0
- data/lib/qlang/lexer.rb +11 -0
- data/lib/qlang/meta_info.rb +27 -0
- data/lib/qlang/parser/base.rb +7 -0
- data/lib/qlang/parser/formula_parser.rb +36 -0
- data/lib/qlang/parser/func_parser.rb +15 -0
- data/lib/qlang/parser/integral_parser.rb +15 -0
- data/lib/qlang/parser/limit_parser.rb +16 -0
- data/lib/qlang/parser/list_parser.rb +12 -0
- data/lib/qlang/parser/matrix_parser.rb +17 -0
- data/lib/qlang/parser/sigma_parser.rb +17 -0
- data/lib/qlang/parser/vector_parser.rb +13 -0
- data/lib/qlang/parser.rb +101 -0
- data/lib/qlang/utils/langs.yml +7 -0
- data/lib/qlang/utils/ruby_ext.rb +54 -0
- data/lib/qlang/version.rb +3 -0
- data/lib/qlang.rb +37 -0
- data/qlang.gemspec +28 -0
- data/test/internal/test_tokens.rb +35 -0
- data/test/interpreter/base.rb +17 -0
- data/test/interpreter/test_differential.rb +43 -0
- data/test/interpreter/test_function.rb +44 -0
- data/test/interpreter/test_general.rb +12 -0
- data/test/interpreter/test_integral.rb +38 -0
- data/test/interpreter/test_limit.rb +37 -0
- data/test/interpreter/test_matrix.rb +70 -0
- data/test/interpreter/test_sigma.rb +25 -0
- data/test/interpreter/test_vector.rb +28 -0
- data/test/langs/test_r.rb +32 -0
- data/test/langs/test_ruby.rb +9 -0
- data/test/minitest_helper.rb +8 -0
- data/test/q_matrix/test_q_matrix.rb +13 -0
- data/test/test_qlang.rb +24 -0
- metadata +203 -0
metadata
ADDED
@@ -0,0 +1,203 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hilbert
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2700000
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- gogotanaka
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-11-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: dydx
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.1.41421
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.1.41421
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake-compiler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: Enjoy MATH!
|
84
|
+
email:
|
85
|
+
- mail@tanakakazuki.com
|
86
|
+
executables:
|
87
|
+
- qlang
|
88
|
+
extensions:
|
89
|
+
- ext/qlang/extconf.rb
|
90
|
+
extra_rdoc_files: []
|
91
|
+
files:
|
92
|
+
- .coveralls.yml
|
93
|
+
- .gitignore
|
94
|
+
- .rubocop.yml
|
95
|
+
- .travis.yml
|
96
|
+
- Gemfile
|
97
|
+
- Guardfile
|
98
|
+
- LICENSE.txt
|
99
|
+
- README.md
|
100
|
+
- Rakefile
|
101
|
+
- bin/qlang
|
102
|
+
- core/Q.hs
|
103
|
+
- core/Q/Lexer.hs
|
104
|
+
- core/Q/Parser.hs
|
105
|
+
- ext/qlang/QMatrix/q_matrix.c
|
106
|
+
- ext/qlang/extconf.rb
|
107
|
+
- ext/qlang/qlang.c
|
108
|
+
- ext/qlang/qlang.h
|
109
|
+
- legacy_rspec/langs/Haskell/ex1_after.hs
|
110
|
+
- legacy_rspec/langs/Haskell/ex1_before.hs
|
111
|
+
- legacy_rspec/langs/Python/ex1_after.py
|
112
|
+
- legacy_rspec/langs/Python/ex1_before.py
|
113
|
+
- legacy_rspec/langs/R/ex1_after.R
|
114
|
+
- legacy_rspec/langs/R/ex1_before.R
|
115
|
+
- legacy_rspec/objects/list_spec.rb
|
116
|
+
- legacy_rspec/objects/matrix_spec.rb
|
117
|
+
- legacy_rspec/objects/vector_spec.rb
|
118
|
+
- lib/qlang.rb
|
119
|
+
- lib/qlang/api.rb
|
120
|
+
- lib/qlang/api/func_api.rb
|
121
|
+
- lib/qlang/api/integral_api.rb
|
122
|
+
- lib/qlang/api/limit_api.rb
|
123
|
+
- lib/qlang/api/list_api.rb
|
124
|
+
- lib/qlang/api/matrix_api.rb
|
125
|
+
- lib/qlang/api/sigma_api.rb
|
126
|
+
- lib/qlang/api/vector_api.rb
|
127
|
+
- lib/qlang/exec.rb
|
128
|
+
- lib/qlang/iq.rb
|
129
|
+
- lib/qlang/lexer.rb
|
130
|
+
- lib/qlang/lexer/base.rb
|
131
|
+
- lib/qlang/lexer/formula_lexer.rb
|
132
|
+
- lib/qlang/lexer/main_lexer.rb
|
133
|
+
- lib/qlang/lexer/tokens.rb
|
134
|
+
- lib/qlang/meta_info.rb
|
135
|
+
- lib/qlang/parser.rb
|
136
|
+
- lib/qlang/parser/base.rb
|
137
|
+
- lib/qlang/parser/formula_parser.rb
|
138
|
+
- lib/qlang/parser/func_parser.rb
|
139
|
+
- lib/qlang/parser/integral_parser.rb
|
140
|
+
- lib/qlang/parser/limit_parser.rb
|
141
|
+
- lib/qlang/parser/list_parser.rb
|
142
|
+
- lib/qlang/parser/matrix_parser.rb
|
143
|
+
- lib/qlang/parser/sigma_parser.rb
|
144
|
+
- lib/qlang/parser/vector_parser.rb
|
145
|
+
- lib/qlang/utils/langs.yml
|
146
|
+
- lib/qlang/utils/ruby_ext.rb
|
147
|
+
- lib/qlang/version.rb
|
148
|
+
- qlang.gemspec
|
149
|
+
- test/internal/test_tokens.rb
|
150
|
+
- test/interpreter/base.rb
|
151
|
+
- test/interpreter/test_differential.rb
|
152
|
+
- test/interpreter/test_function.rb
|
153
|
+
- test/interpreter/test_general.rb
|
154
|
+
- test/interpreter/test_integral.rb
|
155
|
+
- test/interpreter/test_limit.rb
|
156
|
+
- test/interpreter/test_matrix.rb
|
157
|
+
- test/interpreter/test_sigma.rb
|
158
|
+
- test/interpreter/test_vector.rb
|
159
|
+
- test/langs/test_r.rb
|
160
|
+
- test/langs/test_ruby.rb
|
161
|
+
- test/minitest_helper.rb
|
162
|
+
- test/q_matrix/test_q_matrix.rb
|
163
|
+
- test/test_qlang.rb
|
164
|
+
homepage: http://q-language.org/
|
165
|
+
licenses:
|
166
|
+
- MIT
|
167
|
+
metadata: {}
|
168
|
+
post_install_message:
|
169
|
+
rdoc_options: []
|
170
|
+
require_paths:
|
171
|
+
- lib
|
172
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
173
|
+
requirements:
|
174
|
+
- - ! '>='
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0'
|
177
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
requirements: []
|
183
|
+
rubyforge_project:
|
184
|
+
rubygems_version: 2.4.2
|
185
|
+
signing_key:
|
186
|
+
specification_version: 4
|
187
|
+
summary: Enjoy MATH!
|
188
|
+
test_files:
|
189
|
+
- test/internal/test_tokens.rb
|
190
|
+
- test/interpreter/base.rb
|
191
|
+
- test/interpreter/test_differential.rb
|
192
|
+
- test/interpreter/test_function.rb
|
193
|
+
- test/interpreter/test_general.rb
|
194
|
+
- test/interpreter/test_integral.rb
|
195
|
+
- test/interpreter/test_limit.rb
|
196
|
+
- test/interpreter/test_matrix.rb
|
197
|
+
- test/interpreter/test_sigma.rb
|
198
|
+
- test/interpreter/test_vector.rb
|
199
|
+
- test/langs/test_r.rb
|
200
|
+
- test/langs/test_ruby.rb
|
201
|
+
- test/minitest_helper.rb
|
202
|
+
- test/q_matrix/test_q_matrix.rb
|
203
|
+
- test/test_qlang.rb
|