alf-core 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (436) hide show
  1. data/CHANGELOG.md +10 -0
  2. data/Gemfile +2 -8
  3. data/Gemfile.lock +9 -17
  4. data/examples/operators/frame.alf +2 -0
  5. data/lib/alf-core.rb +24 -22
  6. data/lib/{alf-adapter/alf → alf}/adapter.rb +0 -0
  7. data/lib/{alf-adapter/alf → alf}/adapter/connection.rb +4 -10
  8. data/lib/{alf-adapter/alf → alf}/adapter/connection/schema_cached.rb +0 -0
  9. data/lib/{alf-adapter-fs/alf → alf}/adapter/folder.rb +0 -0
  10. data/lib/{alf-adapter-fs/alf → alf}/adapter/folder/connection.rb +3 -2
  11. data/lib/{alf-adapter-fs/alf → alf}/adapter/fs.rb +0 -0
  12. data/lib/{alf-aggregator/alf → alf}/aggregator.rb +12 -9
  13. data/lib/{alf-aggregator/alf → alf}/aggregator/avg.rb +0 -0
  14. data/lib/{alf-aggregator/alf → alf}/aggregator/collect.rb +0 -0
  15. data/lib/{alf-aggregator/alf → alf}/aggregator/concat.rb +0 -0
  16. data/lib/{alf-aggregator/alf → alf}/aggregator/count.rb +0 -0
  17. data/lib/{alf-aggregator/alf → alf}/aggregator/max.rb +0 -0
  18. data/lib/{alf-aggregator/alf → alf}/aggregator/min.rb +0 -0
  19. data/lib/{alf-aggregator/alf → alf}/aggregator/stddev.rb +0 -0
  20. data/lib/{alf-aggregator/alf → alf}/aggregator/sum.rb +0 -0
  21. data/lib/{alf-aggregator/alf → alf}/aggregator/variance.rb +0 -0
  22. data/lib/{alf-algebra/alf → alf}/algebra.rb +1 -0
  23. data/lib/{alf-algebra/alf → alf}/algebra/operand.rb +13 -6
  24. data/lib/{alf-algebra/alf → alf}/algebra/operand/fake.rb +18 -4
  25. data/lib/alf/algebra/operand/named.rb +65 -0
  26. data/lib/{alf-algebra/alf → alf}/algebra/operand/proxy.rb +7 -3
  27. data/lib/{alf-algebra/alf → alf}/algebra/operator.rb +40 -12
  28. data/lib/{alf-algebra/alf → alf}/algebra/operator/autonum.rb +9 -1
  29. data/lib/{alf-algebra/alf → alf}/algebra/operator/clip.rb +9 -1
  30. data/lib/{alf-algebra/alf → alf}/algebra/operator/coerce.rb +9 -1
  31. data/lib/{alf-algebra/alf → alf}/algebra/operator/compact.rb +8 -1
  32. data/lib/{alf-algebra/alf → alf}/algebra/operator/defaults.rb +8 -1
  33. data/lib/{alf-algebra/alf → alf}/algebra/operator/extend.rb +9 -1
  34. data/lib/{alf-algebra/alf → alf}/algebra/operator/frame.rb +12 -1
  35. data/lib/{alf-algebra/alf → alf}/algebra/operator/generator.rb +8 -1
  36. data/lib/{alf-algebra/alf → alf}/algebra/operator/group.rb +10 -1
  37. data/lib/{alf-algebra/alf → alf}/algebra/operator/hierarchize.rb +8 -0
  38. data/lib/{alf-algebra/alf → alf}/algebra/operator/intersect.rb +9 -1
  39. data/lib/{alf-algebra/alf → alf}/algebra/operator/join.rb +9 -1
  40. data/lib/{alf-algebra/alf → alf}/algebra/operator/matching.rb +10 -2
  41. data/lib/{alf-algebra/alf → alf}/algebra/operator/minus.rb +9 -1
  42. data/lib/{alf-algebra/alf → alf}/algebra/operator/not_matching.rb +9 -1
  43. data/lib/{alf-algebra/alf → alf}/algebra/operator/page.rb +11 -1
  44. data/lib/{alf-algebra/alf → alf}/algebra/operator/project.rb +9 -1
  45. data/lib/{alf-algebra/alf → alf}/algebra/operator/quota.rb +12 -1
  46. data/lib/{alf-algebra/alf → alf}/algebra/operator/rank.rb +11 -2
  47. data/lib/{alf-algebra/alf → alf}/algebra/operator/rename.rb +10 -1
  48. data/lib/{alf-algebra/alf → alf}/algebra/operator/restrict.rb +12 -2
  49. data/lib/{alf-algebra/alf → alf}/algebra/operator/sort.rb +9 -1
  50. data/lib/{alf-algebra/alf → alf}/algebra/operator/summarize.rb +10 -1
  51. data/lib/{alf-algebra/alf → alf}/algebra/operator/ungroup.rb +11 -1
  52. data/lib/{alf-algebra/alf → alf}/algebra/operator/union.rb +9 -1
  53. data/lib/{alf-algebra/alf → alf}/algebra/operator/unwrap.rb +13 -1
  54. data/lib/{alf-algebra/alf → alf}/algebra/operator/wrap.rb +10 -1
  55. data/lib/alf/algebra/shortcut.rb +40 -0
  56. data/lib/alf/algebra/shortcut/allbut.rb +25 -0
  57. data/lib/{alf-algebra/alf → alf}/algebra/support.rb +2 -1
  58. data/lib/{alf-algebra/alf → alf}/algebra/support/binary.rb +0 -0
  59. data/lib/{alf-algebra/alf → alf}/algebra/support/classification.rb +0 -0
  60. data/lib/{alf-algebra/alf → alf}/algebra/support/compiler.rb +0 -0
  61. data/lib/{alf-algebra/alf → alf}/algebra/support/experimental.rb +0 -0
  62. data/lib/{alf-algebra/alf → alf}/algebra/support/non_relational.rb +0 -0
  63. data/lib/{alf-algebra/alf → alf}/algebra/support/nullary.rb +0 -0
  64. data/lib/{alf-algebra/alf → alf}/algebra/support/relational.rb +0 -0
  65. data/lib/{alf-algebra/alf → alf}/algebra/support/rewriter.rb +4 -0
  66. data/lib/{alf-algebra/alf → alf}/algebra/support/signature.rb +7 -8
  67. data/lib/alf/algebra/support/type_check.rb +51 -0
  68. data/lib/{alf-algebra/alf → alf}/algebra/support/unary.rb +0 -0
  69. data/lib/{alf-algebra/alf → alf}/algebra/support/visitor.rb +2 -1
  70. data/lib/{alf-algebra/alf → alf}/algebra/support/with_ordering.rb +0 -0
  71. data/lib/alf/compiler.rb +57 -0
  72. data/lib/alf/compiler/cog.rb +39 -0
  73. data/lib/alf/compiler/default.rb +168 -0
  74. data/lib/alf/compiler/plan.rb +77 -0
  75. data/lib/{alf-core → alf/core}/loader.rb +0 -0
  76. data/lib/{alf-core → alf/core}/version.rb +1 -1
  77. data/lib/{alf-database/alf → alf}/database.rb +0 -0
  78. data/lib/{alf-database/alf → alf}/database/connection.rb +10 -52
  79. data/lib/{alf-database/alf → alf}/database/options.rb +2 -5
  80. data/lib/{alf-core → alf}/dsl.rb +4 -4
  81. data/lib/{alf-engine/alf → alf}/engine.rb +0 -2
  82. data/lib/{alf-engine/alf → alf}/engine/aggregate.rb +6 -2
  83. data/lib/{alf-engine/alf → alf}/engine/autonum.rb +6 -2
  84. data/lib/{alf-engine/alf → alf}/engine/clip.rb +10 -2
  85. data/lib/{alf-engine/alf → alf}/engine/coerce.rb +6 -2
  86. data/lib/alf/engine/cog.rb +58 -0
  87. data/lib/{alf-engine/alf → alf}/engine/compact.rb +2 -2
  88. data/lib/{alf-engine/alf → alf}/engine/compact/set.rb +2 -2
  89. data/lib/{alf-engine/alf → alf}/engine/compact/uniq.rb +2 -2
  90. data/lib/{alf-engine/alf → alf}/engine/concat.rb +2 -2
  91. data/lib/{alf-engine/alf → alf}/engine/defaults.rb +6 -2
  92. data/lib/{alf-engine/alf → alf}/engine/filter.rb +8 -4
  93. data/lib/{alf-engine/alf → alf}/engine/generator.rb +6 -2
  94. data/lib/alf/engine/group.rb +7 -0
  95. data/lib/{alf-engine/alf → alf}/engine/group/hash.rb +11 -2
  96. data/lib/{alf-engine/alf → alf}/engine/hierarchize.rb +6 -2
  97. data/lib/{alf-engine/alf → alf}/engine/infer_heading.rb +2 -2
  98. data/lib/{alf-engine/alf → alf}/engine/join.rb +0 -0
  99. data/lib/{alf-engine/alf → alf}/engine/join/hash.rb +2 -2
  100. data/lib/{alf-engine/alf → alf}/engine/leaf.rb +7 -3
  101. data/lib/{alf-engine/alf → alf}/engine/materialize.rb +5 -1
  102. data/lib/{alf-engine/alf → alf}/engine/materialize/array.rb +3 -2
  103. data/lib/{alf-engine/alf → alf}/engine/materialize/hash.rb +3 -2
  104. data/lib/alf/engine/quota.rb +7 -0
  105. data/lib/{alf-engine/alf → alf}/engine/quota/cesure.rb +8 -3
  106. data/lib/alf/engine/rank.rb +7 -0
  107. data/lib/{alf-engine/alf → alf}/engine/rank/cesure.rb +8 -3
  108. data/lib/{alf-engine/alf → alf}/engine/rename.rb +6 -2
  109. data/lib/alf/engine/semi.rb +7 -0
  110. data/lib/{alf-engine/alf → alf}/engine/semi/hash.rb +7 -2
  111. data/lib/{alf-engine/alf → alf}/engine/set_attr.rb +8 -4
  112. data/lib/alf/engine/sort.rb +13 -0
  113. data/lib/{alf-engine/alf → alf}/engine/sort/in_memory.rb +12 -2
  114. data/lib/alf/engine/summarize.rb +13 -0
  115. data/lib/{alf-engine/alf → alf}/engine/summarize/cesure.rb +5 -4
  116. data/lib/{alf-engine/alf → alf}/engine/summarize/hash.rb +3 -2
  117. data/lib/{alf-engine/alf → alf}/engine/support/cesure.rb +0 -0
  118. data/lib/{alf-engine/alf → alf}/engine/take.rb +6 -2
  119. data/lib/{alf-engine/alf → alf}/engine/to_array.rb +13 -5
  120. data/lib/{alf-engine/alf → alf}/engine/type_safe.rb +2 -2
  121. data/lib/{alf-engine/alf → alf}/engine/ungroup.rb +7 -2
  122. data/lib/{alf-engine/alf → alf}/engine/unwrap.rb +11 -5
  123. data/lib/{alf-engine/alf → alf}/engine/wrap.rb +6 -2
  124. data/lib/{alf-core → alf}/errors.rb +2 -3
  125. data/lib/{alf-core → alf}/ext.rb +0 -0
  126. data/lib/{alf-core → alf}/ext/domain/heading_based.rb +5 -0
  127. data/lib/alf/facade.rb +53 -0
  128. data/lib/{alf-lang/alf → alf}/lang.rb +1 -1
  129. data/lib/{alf-lang/alf → alf}/lang/functional.rb +0 -4
  130. data/lib/{alf-lang/alf → alf}/lang/object_oriented.rb +0 -0
  131. data/lib/{alf-lang/alf → alf}/lang/oo/aggregation_methods.rb +1 -1
  132. data/lib/{alf-lang/alf → alf}/lang/oo/algebra_methods.rb +0 -12
  133. data/lib/{alf-lang/alf → alf}/lang/oo/rendering_methods.rb +1 -1
  134. data/lib/alf/lang/parser.rb +9 -0
  135. data/lib/alf/lang/parser/lispy.rb +63 -0
  136. data/lib/alf/lang/parser/safer.rb +69 -0
  137. data/lib/{alf-lang/alf → alf}/lang/predicates.rb +1 -1
  138. data/lib/{alf-optimizer/alf → alf}/optimizer.rb +15 -7
  139. data/lib/alf/optimizer/project.rb +182 -0
  140. data/lib/{alf-optimizer/alf → alf}/optimizer/restrict.rb +48 -50
  141. data/lib/{alf-predicate/alf → alf}/predicate.rb +16 -12
  142. data/lib/{alf-predicate/alf → alf}/predicate/factory.rb +13 -8
  143. data/lib/{alf-predicate/alf → alf}/predicate/grammar.rb +2 -5
  144. data/lib/{alf-predicate/alf → alf}/predicate/grammar.sexp.yml +11 -7
  145. data/lib/{alf-predicate/alf → alf}/predicate/nodes/and.rb +0 -0
  146. data/lib/{alf-predicate/alf → alf}/predicate/nodes/contradiction.rb +0 -0
  147. data/lib/{alf-predicate/alf → alf}/predicate/nodes/dyadic_comp.rb +0 -0
  148. data/lib/{alf-predicate/alf → alf}/predicate/nodes/eq.rb +0 -0
  149. data/lib/{alf-predicate/alf → alf}/predicate/nodes/expr.rb +10 -5
  150. data/lib/{alf-predicate/alf → alf}/predicate/nodes/gt.rb +0 -0
  151. data/lib/{alf-predicate/alf → alf}/predicate/nodes/gte.rb +0 -0
  152. data/lib/{alf-predicate/alf/predicate/nodes/var_ref.rb → alf/predicate/nodes/identifier.rb} +3 -3
  153. data/lib/{alf-predicate/alf → alf}/predicate/nodes/in.rb +2 -2
  154. data/lib/{alf-predicate/alf → alf}/predicate/nodes/literal.rb +0 -0
  155. data/lib/{alf-predicate/alf → alf}/predicate/nodes/lt.rb +0 -0
  156. data/lib/{alf-predicate/alf → alf}/predicate/nodes/lte.rb +0 -0
  157. data/lib/{alf-predicate/alf → alf}/predicate/nodes/nadic_bool.rb +0 -0
  158. data/lib/alf/predicate/nodes/native.rb +32 -0
  159. data/lib/{alf-predicate/alf → alf}/predicate/nodes/neq.rb +0 -0
  160. data/lib/{alf-predicate/alf → alf}/predicate/nodes/not.rb +0 -0
  161. data/lib/{alf-predicate/alf → alf}/predicate/nodes/or.rb +0 -0
  162. data/lib/{alf-predicate/alf/predicate/nodes/native.rb → alf/predicate/nodes/qualified_identifier.rb} +8 -4
  163. data/lib/{alf-predicate/alf → alf}/predicate/nodes/tautology.rb +0 -0
  164. data/lib/alf/predicate/processors.rb +3 -0
  165. data/lib/alf/predicate/processors/qualifier.rb +25 -0
  166. data/lib/alf/predicate/processors/renamer.rb +27 -0
  167. data/lib/{alf-predicate/alf → alf}/predicate/processors/to_ruby_code.rb +6 -11
  168. data/lib/{alf-io/alf → alf}/reader.rb +11 -2
  169. data/lib/{alf-io/alf → alf}/reader/csv.rb +0 -0
  170. data/lib/{alf-io/alf → alf}/reader/json.rb +0 -0
  171. data/lib/{alf-io/alf → alf}/reader/rash.rb +0 -0
  172. data/lib/{alf-io/alf → alf}/reader/ruby.rb +0 -0
  173. data/lib/alf/reader/yaml.rb +25 -0
  174. data/lib/{alf-relation/alf → alf}/relation.rb +12 -2
  175. data/lib/{alf-relvar/alf → alf}/relvar.rb +14 -21
  176. data/lib/alf/relvar/base.rb +35 -0
  177. data/lib/{alf-relvar/alf → alf}/relvar/fake.rb +3 -2
  178. data/lib/{alf-relvar/alf → alf}/relvar/read_only.rb +6 -30
  179. data/lib/{alf-relvar/alf → alf}/relvar/virtual.rb +0 -31
  180. data/lib/{alf-io/alf → alf}/renderer.rb +0 -0
  181. data/lib/{alf-io/alf → alf}/renderer/csv.rb +0 -0
  182. data/lib/{alf-io/alf → alf}/renderer/json.rb +0 -0
  183. data/lib/{alf-io/alf → alf}/renderer/rash.rb +0 -0
  184. data/lib/{alf-io/alf → alf}/renderer/text.rb +0 -0
  185. data/lib/{alf-io/alf → alf}/renderer/yaml.rb +2 -2
  186. data/lib/{alf-support/alf → alf}/support.rb +2 -1
  187. data/lib/{alf-support/alf → alf}/support/coerce.rb +0 -0
  188. data/lib/{alf-support/alf → alf}/support/config.rb +0 -0
  189. data/lib/{alf-io/alf → alf}/support/csv_utils.rb +0 -0
  190. data/lib/{alf-support/alf → alf}/support/dot_utils.rb +0 -0
  191. data/lib/{alf-support/alf → alf}/support/miscellaneous.rb +0 -0
  192. data/lib/{alf-support/alf → alf}/support/ordered_set.rb +0 -0
  193. data/lib/{alf-support/alf → alf}/support/registry.rb +0 -0
  194. data/lib/{alf-support/alf → alf}/support/scope.rb +0 -0
  195. data/lib/{alf-support/alf → alf}/support/to_lispy.rb +6 -1
  196. data/lib/{alf-support/alf → alf}/support/to_ruby_literal.rb +0 -0
  197. data/lib/alf/support/tree.rb +51 -0
  198. data/lib/{alf-support/alf → alf}/support/tuple_scope.rb +9 -1
  199. data/lib/{alf-relation/alf → alf}/tuple.rb +1 -1
  200. data/lib/{alf-types/alf → alf}/types.rb +0 -0
  201. data/lib/{alf-types/alf → alf}/types/attr_list.rb +2 -2
  202. data/lib/{alf-types/alf → alf}/types/attr_name.rb +0 -0
  203. data/lib/{alf-types/alf → alf}/types/boolean.rb +0 -0
  204. data/lib/{alf-types/alf → alf}/types/heading.rb +0 -0
  205. data/lib/{alf-types/alf → alf}/types/keys.rb +0 -0
  206. data/lib/{alf-types/alf → alf}/types/ordering.rb +7 -1
  207. data/lib/{alf-types/alf → alf}/types/renaming.rb +0 -0
  208. data/lib/{alf-types/alf → alf}/types/selection.rb +0 -0
  209. data/lib/{alf-types/alf → alf}/types/selector.rb +0 -0
  210. data/lib/{alf-types/alf → alf}/types/size.rb +0 -0
  211. data/lib/{alf-types/alf → alf}/types/summarization.rb +0 -0
  212. data/lib/{alf-types/alf → alf}/types/tuple_computation.rb +13 -4
  213. data/lib/{alf-types/alf → alf}/types/tuple_expression.rb +6 -19
  214. data/lib/{alf-types/alf → alf}/types/type_check.rb +1 -0
  215. data/lib/{alf-update/alf → alf}/update.rb +0 -0
  216. data/lib/{alf-update/alf → alf}/update/deleter.rb +0 -3
  217. data/lib/{alf-update/alf → alf}/update/inserter.rb +1 -7
  218. data/lib/{alf-update/alf → alf}/update/updater.rb +0 -2
  219. data/lib/{alf-viewpoint/alf → alf}/viewpoint.rb +9 -7
  220. data/lib/{alf-viewpoint/alf → alf}/viewpoint/metadata.rb +5 -2
  221. data/spec/compiler_helper.rb +20 -0
  222. data/spec/integration/relation/test_to_array.rb +6 -6
  223. data/spec/integration/test_examples.rb +14 -6
  224. data/spec/shared/a_cog.rb +8 -4
  225. data/spec/shared/a_valid_type_implementation.rb +4 -7
  226. data/spec/spec_helper.rb +9 -5
  227. data/spec/type_check_helper.rb +1 -0
  228. data/spec/unit/alf-adapter/shared_examples/an_adapter_with_readable_cogs.rb +1 -1
  229. data/spec/unit/alf-aggregator/test_concat.rb +8 -0
  230. data/spec/unit/alf-algebra/operand/named/test_hash_and_equal.rb +53 -0
  231. data/spec/unit/alf-algebra/operand/named/test_keys.rb +1 -1
  232. data/spec/unit/alf-algebra/operand/named/test_to_ascii_tree.rb +18 -0
  233. data/spec/unit/alf-algebra/operand/named/test_to_cog.rb +24 -0
  234. data/spec/unit/alf-algebra/operand/named/test_to_relvar.rb +1 -1
  235. data/spec/unit/alf-algebra/operand/named/test_type_check.rb +38 -0
  236. data/spec/unit/alf-algebra/operand/proxy/test_to_cog.rb +42 -0
  237. data/spec/unit/alf-algebra/operand/test_coerce.rb +0 -6
  238. data/spec/unit/alf-algebra/operand/test_proxy.rb +1 -1
  239. data/spec/unit/alf-algebra/operator/allbut/test_key_preserving.rb +1 -1
  240. data/spec/unit/alf-algebra/operator/allbut/test_keys.rb +1 -1
  241. data/spec/unit/alf-algebra/operator/allbut/test_type_check.rb +42 -0
  242. data/spec/unit/alf-algebra/operator/autonum/test_type_check.rb +30 -0
  243. data/spec/unit/alf-algebra/operator/clip/test_type_check.rb +42 -0
  244. data/spec/unit/alf-algebra/operator/coerce/test_type_check.rb +42 -0
  245. data/spec/unit/alf-algebra/operator/commons/test_resulting_type.rb +20 -0
  246. data/spec/unit/alf-algebra/operator/commons/test_to_ascii_tree.rb +40 -0
  247. data/spec/unit/alf-algebra/operator/extend/test_type_check.rb +42 -0
  248. data/spec/unit/alf-algebra/operator/frame/test_type_check.rb +54 -0
  249. data/spec/unit/alf-algebra/operator/group/test_type_check.rb +50 -0
  250. data/spec/unit/alf-algebra/operator/hierarchize/test_type_check.rb +54 -0
  251. data/spec/unit/alf-algebra/operator/intersect/test_type_check.rb +30 -0
  252. data/spec/unit/alf-algebra/operator/join/test_type_check.rb +62 -0
  253. data/spec/unit/alf-algebra/operator/matching/test_keys.rb +1 -1
  254. data/spec/unit/alf-algebra/operator/matching/test_type_check.rb +62 -0
  255. data/spec/unit/alf-algebra/operator/minus/test_type_check.rb +30 -0
  256. data/spec/unit/alf-algebra/operator/not_matching/test_type_check.rb +62 -0
  257. data/spec/unit/alf-algebra/operator/page/test_type_check.rb +50 -0
  258. data/spec/unit/alf-algebra/operator/project/test_type_check.rb +42 -0
  259. data/spec/unit/alf-algebra/operator/quota/test_type_check.rb +54 -0
  260. data/spec/unit/alf-algebra/operator/rank/test_type_check.rb +42 -0
  261. data/spec/unit/alf-algebra/operator/rename/test_type_check.rb +42 -0
  262. data/spec/unit/alf-algebra/operator/restrict/test_type_check.rb +46 -0
  263. data/spec/unit/alf-algebra/operator/shared/test_to_cog.rb +34 -0
  264. data/spec/unit/alf-algebra/operator/sort/test_type_check.rb +30 -0
  265. data/spec/unit/alf-algebra/operator/summarize/test_type_check.rb +42 -0
  266. data/spec/unit/alf-algebra/operator/test_hash_and_equal.rb +59 -0
  267. data/spec/unit/alf-algebra/operator/ungroup/test_type_check.rb +44 -0
  268. data/spec/unit/alf-algebra/operator/union/test_type_check.rb +30 -0
  269. data/spec/unit/alf-algebra/operator/unwrap/test_type_check.rb +44 -0
  270. data/spec/unit/alf-algebra/operator/wrap/test_type_check.rb +50 -0
  271. data/spec/unit/alf-algebra/support/signature/test_to_lispy.rb +24 -9
  272. data/spec/unit/alf-algebra/support/test_non_relational.rb +1 -2
  273. data/spec/unit/alf-algebra/support/test_relational.rb +1 -1
  274. data/spec/unit/alf-compiler/default/test_allbut.rb +65 -0
  275. data/spec/unit/alf-compiler/default/test_autonum.rb +30 -0
  276. data/spec/unit/alf-compiler/default/test_clip.rb +30 -0
  277. data/spec/unit/alf-compiler/default/test_coerce.rb +30 -0
  278. data/spec/unit/alf-compiler/default/test_compact.rb +26 -0
  279. data/spec/unit/alf-compiler/default/test_completude.rb +16 -0
  280. data/spec/unit/alf-compiler/default/test_defaults.rb +50 -0
  281. data/spec/unit/alf-compiler/default/test_extend.rb +34 -0
  282. data/spec/unit/alf-compiler/default/test_frame.rb +77 -0
  283. data/spec/unit/alf-compiler/default/test_generator.rb +30 -0
  284. data/spec/unit/alf-compiler/default/test_group.rb +38 -0
  285. data/spec/unit/alf-compiler/default/test_hierarchize.rb +40 -0
  286. data/spec/unit/alf-compiler/default/test_intersect.rb +34 -0
  287. data/spec/unit/alf-compiler/default/test_join.rb +34 -0
  288. data/spec/unit/alf-compiler/default/test_matching.rb +38 -0
  289. data/spec/unit/alf-compiler/default/test_minus.rb +38 -0
  290. data/spec/unit/alf-compiler/default/test_not_matching.rb +38 -0
  291. data/spec/unit/alf-compiler/default/test_page.rb +91 -0
  292. data/spec/unit/alf-compiler/default/test_project.rb +76 -0
  293. data/spec/unit/alf-compiler/default/test_quota.rb +88 -0
  294. data/spec/unit/alf-compiler/default/test_rank.rb +71 -0
  295. data/spec/unit/alf-compiler/default/test_rename.rb +30 -0
  296. data/spec/unit/alf-compiler/default/test_restrict.rb +34 -0
  297. data/spec/unit/alf-compiler/default/test_sort.rb +81 -0
  298. data/spec/unit/alf-compiler/default/test_summarize.rb +85 -0
  299. data/spec/unit/alf-compiler/default/test_ungroup.rb +30 -0
  300. data/spec/unit/alf-compiler/default/test_union.rb +36 -0
  301. data/spec/unit/alf-compiler/default/test_unwrap.rb +30 -0
  302. data/spec/unit/alf-compiler/default/test_wrap.rb +38 -0
  303. data/spec/unit/alf-compiler/shared/compiled_examples.rb +111 -0
  304. data/spec/unit/alf-compiler/test_principle.rb +332 -0
  305. data/spec/unit/alf-core/test_aggregator.rb +0 -24
  306. data/spec/unit/alf-database/connection/test_parse.rb +0 -49
  307. data/spec/unit/alf-database/connection/test_relvar.rb +1 -9
  308. data/spec/unit/alf-database/options/test_parser.rb +23 -0
  309. data/spec/unit/alf-engine/cog/test_to_ascii_tree.rb +14 -0
  310. data/spec/unit/alf-engine/test_aggregate.rb +2 -2
  311. data/spec/unit/alf-engine/test_filter.rb +1 -1
  312. data/spec/unit/alf-engine/test_to_array.rb +16 -2
  313. data/spec/unit/alf-io/reader/test_yaml.rb +30 -0
  314. data/spec/unit/alf-io/renderer/test_yaml.rb +11 -0
  315. data/spec/unit/alf-lang/functional/test_aggregation.rb +18 -4
  316. data/spec/unit/alf-lang/parser/lispy/test_connection_bang.rb +28 -0
  317. data/spec/unit/alf-lang/parser/lispy/test_parse.rb +38 -0
  318. data/spec/unit/alf-lang/parser/lispy/test_to_s.rb +16 -0
  319. data/spec/unit/alf-lang/parser/safer/safe.txt +5 -0
  320. data/spec/unit/alf-lang/parser/safer/test_parse.rb +82 -0
  321. data/spec/unit/alf-lang/parser/safer/unsafe.txt +14 -0
  322. data/spec/unit/alf-optimizer/restrict/test_on_autonum.rb +1 -1
  323. data/spec/unit/alf-optimizer/test_quota.rb +1 -1
  324. data/spec/unit/alf-optimizer/test_rename.rb +7 -0
  325. data/spec/unit/alf-optimizer/test_summarize.rb +1 -1
  326. data/spec/unit/alf-predicate/expr/test_to_proc.rb +4 -6
  327. data/spec/unit/alf-predicate/expr/test_to_ruby_code.rb +23 -23
  328. data/spec/unit/alf-predicate/factory/shared/a_comparison_factory_method.rb +3 -3
  329. data/spec/unit/alf-predicate/factory/test_between.rb +1 -1
  330. data/spec/unit/alf-predicate/factory/test_comp.rb +3 -3
  331. data/spec/unit/alf-predicate/factory/test_factor_predicate.rb +3 -3
  332. data/spec/unit/alf-predicate/factory/{test_var_ref.rb → test_identifier.rb} +4 -4
  333. data/spec/unit/alf-predicate/factory/test_in.rb +1 -1
  334. data/spec/unit/alf-predicate/factory/test_native.rb +9 -4
  335. data/spec/unit/alf-predicate/factory/test_qualified_identifier.rb +17 -0
  336. data/spec/unit/alf-predicate/grammar/test_match.rb +9 -9
  337. data/spec/unit/alf-predicate/grammar/test_sexpr.rb +11 -11
  338. data/spec/unit/alf-predicate/nodes/{var_ref → identifier}/test_and_split.rb +2 -2
  339. data/spec/unit/alf-predicate/nodes/{var_ref → identifier}/test_free_variables.rb +2 -2
  340. data/spec/unit/alf-predicate/nodes/identifier/test_name.rb +14 -0
  341. data/spec/unit/alf-predicate/nodes/qualified_identifier/test_and_split.rb +25 -0
  342. data/spec/unit/alf-predicate/nodes/qualified_identifier/test_free_variables.rb +14 -0
  343. data/spec/unit/alf-predicate/nodes/qualified_identifier/test_name.rb +14 -0
  344. data/spec/unit/alf-predicate/nodes/qualified_identifier/test_qualifier.rb +14 -0
  345. data/spec/unit/alf-predicate/predicate/test_and_split.rb +4 -4
  346. data/spec/unit/alf-predicate/predicate/test_bool_and.rb +1 -1
  347. data/spec/unit/alf-predicate/predicate/test_bool_not.rb +1 -1
  348. data/spec/unit/alf-predicate/predicate/test_bool_or.rb +1 -1
  349. data/spec/unit/alf-predicate/predicate/test_coerce.rb +9 -8
  350. data/spec/unit/alf-predicate/predicate/test_contradiction.rb +2 -2
  351. data/spec/unit/alf-predicate/predicate/test_factory_methods.rb +12 -12
  352. data/spec/unit/alf-predicate/predicate/test_qualify.rb +36 -0
  353. data/spec/unit/alf-predicate/predicate/test_rename.rb +58 -15
  354. data/spec/unit/alf-predicate/predicate/test_tautology.rb +2 -2
  355. data/spec/unit/alf-predicate/predicate/test_to_ruby_code.rb +8 -2
  356. data/spec/unit/alf-predicate/predicate/test_to_ruby_literal.rb +1 -1
  357. data/spec/unit/alf-predicate/test_predicate.rb +7 -8
  358. data/spec/unit/alf-relation/relation/class/test_dum.rb +19 -0
  359. data/spec/unit/alf-relation/relation/test_heading.rb +1 -1
  360. data/spec/unit/alf-relation/relation/test_keys.rb +17 -0
  361. data/spec/unit/alf-relation/relation/test_relation.rb +1 -1
  362. data/spec/unit/alf-relation/relation/test_to_a.rb +10 -10
  363. data/spec/unit/alf-relvar/base/test_oo_lang.rb +26 -10
  364. data/spec/unit/alf-relvar/base/test_to_cog.rb +2 -2
  365. data/spec/unit/alf-relvar/read_only/test_to_relation.rb +17 -0
  366. data/spec/unit/alf-relvar/read_only/test_type.rb +0 -4
  367. data/spec/unit/alf-relvar/virtual/test_oo_lang.rb +0 -4
  368. data/spec/unit/alf-relvar/virtual/test_to_cog.rb +4 -4
  369. data/spec/unit/alf-relvar/virtual/test_to_s.rb +1 -1
  370. data/spec/unit/alf-support/test_to_lispy.rb +13 -31
  371. data/spec/unit/alf-support/test_tuple_scope.rb +11 -0
  372. data/spec/unit/alf-types/ordering/test_coerce.rb +13 -0
  373. data/spec/unit/alf-types/ordering/test_lte.rb +43 -0
  374. data/spec/unit/alf-types/summarization/test_coerce.rb +2 -2
  375. data/spec/unit/alf-types/summarization/test_least.rb +1 -1
  376. data/spec/unit/alf-types/summarization/test_summarize.rb +1 -1
  377. data/spec/unit/alf-types/test_summarization.rb +2 -2
  378. data/spec/unit/alf-types/test_tuple_expression.rb +2 -2
  379. data/spec/unit/alf-types/tuple_computation/test_coerce.rb +4 -13
  380. data/spec/unit/alf-types/tuple_computation/test_empty.rb +24 -0
  381. data/spec/unit/alf-types/tuple_computation/test_project.rb +46 -0
  382. data/spec/unit/alf-types/tuple_expression/test_coerce.rb +1 -10
  383. data/spec/unit/alf-types/tuple_expression/test_evaluate.rb +0 -8
  384. data/spec/unit/alf-types/tuple_expression/test_to_ruby_literal.rb +0 -5
  385. data/spec/unit/alf-update/deleter/{test_var_ref.rb → test_identifier.rb} +1 -1
  386. data/spec/unit/alf-update/inserter/{test_var_ref.rb → test_identifier.rb} +1 -1
  387. data/spec/unit/alf-update/updater/{test_var_ref.rb → test_identifier.rb} +1 -1
  388. data/spec/unit/alf-viewpoint/test_native_const.rb +1 -1
  389. data/spec/update_helper.rb +18 -2
  390. metadata +417 -313
  391. data/lib/alf-algebra/alf/algebra/operand/named.rb +0 -36
  392. data/lib/alf-algebra/alf/algebra/operator/infer_heading.rb +0 -19
  393. data/lib/alf-algebra/alf/algebra/operator/type_safe.rb +0 -21
  394. data/lib/alf-algebra/alf/algebra/support/to_dot.rb +0 -196
  395. data/lib/alf-core/facade.rb +0 -39
  396. data/lib/alf-engine/alf/engine/cog.rb +0 -50
  397. data/lib/alf-engine/alf/engine/compiler.rb +0 -171
  398. data/lib/alf-engine/alf/engine/group.rb +0 -3
  399. data/lib/alf-engine/alf/engine/quota.rb +0 -3
  400. data/lib/alf-engine/alf/engine/rank.rb +0 -3
  401. data/lib/alf-engine/alf/engine/semi.rb +0 -3
  402. data/lib/alf-engine/alf/engine/sort.rb +0 -30
  403. data/lib/alf-engine/alf/engine/summarize.rb +0 -4
  404. data/lib/alf-engine/alf/engine/to_dot.rb +0 -60
  405. data/lib/alf-io/alf/io.rb +0 -6
  406. data/lib/alf-lang/alf/lang/lispy.rb +0 -65
  407. data/lib/alf-predicate/alf/predicate/parser.rb +0 -12
  408. data/lib/alf-predicate/alf/predicate/processors.rb +0 -3
  409. data/lib/alf-predicate/alf/predicate/processors/renamer.rb +0 -19
  410. data/lib/alf-predicate/alf/predicate/processors/to_proc.rb +0 -35
  411. data/lib/alf-relvar/alf/relvar/base.rb +0 -69
  412. data/lib/alf-support/alf/support/bindable.rb +0 -26
  413. data/spec/integration/algebra/test_to_dot.rb +0 -14
  414. data/spec/integration/relvar/test_type_safe.rb +0 -22
  415. data/spec/unit/alf-algebra/operator/infer_heading/test_keys.rb +0 -23
  416. data/spec/unit/alf-algebra/operator/test_infer_heading.rb +0 -16
  417. data/spec/unit/alf-algebra/operator/type_safe/test_heading.rb +0 -26
  418. data/spec/unit/alf-algebra/operator/type_safe/test_keys.rb +0 -26
  419. data/spec/unit/alf-engine/compiler/test_on_frame.rb +0 -70
  420. data/spec/unit/alf-engine/compiler/test_on_hierarchize.rb +0 -33
  421. data/spec/unit/alf-engine/compiler/test_on_page.rb +0 -128
  422. data/spec/unit/alf-engine/compiler/test_unsupported.rb +0 -48
  423. data/spec/unit/alf-lang/lispy/test_connection_bang.rb +0 -26
  424. data/spec/unit/alf-lang/lispy/test_parse.rb +0 -38
  425. data/spec/unit/alf-lang/lispy/test_to_s.rb +0 -14
  426. data/spec/unit/alf-optimizer/optimizer/test_optimizer.rb +0 -37
  427. data/spec/unit/alf-optimizer/test_infer_heading.rb +0 -9
  428. data/spec/unit/alf-predicate/grammar/test_parse.rb +0 -23
  429. data/spec/unit/alf-predicate/nodes/var_ref/test_var_name.rb +0 -14
  430. data/spec/unit/alf-relvar/base/test_name.rb +0 -15
  431. data/spec/unit/alf-relvar/virtual/test_connection.rb +0 -15
  432. data/spec/unit/alf-support/bindable/test_bind.rb +0 -60
  433. data/spec/unit/alf-support/bindable/test_bound.rb +0 -31
  434. data/spec/unit/alf-support/bindable/test_connection.rb +0 -31
  435. data/spec/unit/alf-support/bindable/test_connection_bang.rb +0 -35
  436. data/spec/unit/alf-update/inserter/test_type_safe.rb +0 -72
@@ -2,11 +2,6 @@ require 'spec_helper'
2
2
  module Alf
3
3
  describe TupleExpression, 'to_ruby_literal' do
4
4
 
5
- it 'should work when code is known' do
6
- expr = TupleExpression["status > 10"]
7
- expr.to_ruby_literal.should eq('Alf::TupleExpression["status > 10"]')
8
- end
9
-
10
5
  it 'should raise a NotImplementedError if no source code' do
11
6
  expr = TupleExpression[lambda{status > 10}]
12
7
  lambda{ expr.to_ruby_literal }.should raise_error(NotImplementedError)
@@ -1,7 +1,7 @@
1
1
  require 'update_helper'
2
2
  module Alf
3
3
  module Update
4
- describe Deleter, 'var_ref' do
4
+ describe Deleter, 'identifier' do
5
5
 
6
6
  let(:expr) { suppliers }
7
7
  let(:inserted) { [ {:id => 1} ] }
@@ -1,7 +1,7 @@
1
1
  require 'update_helper'
2
2
  module Alf
3
3
  module Update
4
- describe Inserter, 'var_ref' do
4
+ describe Inserter, 'identifier' do
5
5
 
6
6
  let(:expr) { suppliers }
7
7
  let(:inserted) { [ {:id => 1} ] }
@@ -1,7 +1,7 @@
1
1
  require 'update_helper'
2
2
  module Alf
3
3
  module Update
4
- describe Updater, 'var_ref' do
4
+ describe Updater, 'identifier' do
5
5
 
6
6
  let(:expr) { suppliers }
7
7
  let(:updating) { {:city => "London"} }
@@ -13,7 +13,7 @@ module Alf
13
13
  end
14
14
 
15
15
  it 'should allow being used in a Lispy' do
16
- Lang::Lispy.new([subject]).parse{
16
+ Lang::Parser::Lispy.new([subject]).parse{
17
17
  suppliers
18
18
  }.should be_a(Algebra::Operand::Named)
19
19
  end
@@ -39,11 +39,27 @@ module Helpers
39
39
  end
40
40
 
41
41
  def suppliers
42
- Alf::Algebra.named_operand(:suppliers, db_context)
42
+ @suppliers ||= an_operand
43
+ .with_connection(db_context)
44
+ .with_name(:suppliers)
45
+ .with_heading(sid: String, name: String, status: Integer, city: String)
46
+ .with_keys([:sid], [:name])
47
+ end
48
+
49
+ def supplies
50
+ @supplies ||= an_operand
51
+ .with_connection(db_context)
52
+ .with_name(:supplies)
53
+ .with_heading(sid: String, pid: String, qty: Integer)
54
+ .with_keys([:sid, :pid])
43
55
  end
44
56
 
45
57
  def parts
46
- Alf::Algebra.named_operand(:parts, db_context)
58
+ @parts ||= an_operand
59
+ .with_connection(db_context)
60
+ .with_name(:parts)
61
+ .with_heading(pid: String, name: String, color: String, weight: Float, city: String)
62
+ .with_keys([:pid])
47
63
  end
48
64
 
49
65
  def some_tuples
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alf-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-01 00:00:00.000000000 Z
12
+ date: 2013-10-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -44,45 +44,13 @@ dependencies:
44
44
  - !ruby/object:Gem::Version
45
45
  version: '2.14'
46
46
  - !ruby/object:Gem::Dependency
47
- name: yard
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 0.8.2
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 0.8.2
62
- - !ruby/object:Gem::Dependency
63
- name: bluecloth
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: '2.2'
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: '2.2'
78
- - !ruby/object:Gem::Dependency
79
- name: redcarpet
47
+ name: highline
80
48
  requirement: !ruby/object:Gem::Requirement
81
49
  none: false
82
50
  requirements:
83
51
  - - ~>
84
52
  - !ruby/object:Gem::Version
85
- version: '2.2'
53
+ version: '1.6'
86
54
  type: :development
87
55
  prerelease: false
88
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,15 +58,15 @@ dependencies:
90
58
  requirements:
91
59
  - - ~>
92
60
  - !ruby/object:Gem::Version
93
- version: '2.2'
61
+ version: '1.6'
94
62
  - !ruby/object:Gem::Dependency
95
- name: highline
63
+ name: ruby_cop
96
64
  requirement: !ruby/object:Gem::Requirement
97
65
  none: false
98
66
  requirements:
99
67
  - - ~>
100
68
  - !ruby/object:Gem::Version
101
- version: '1.6'
69
+ version: '1.0'
102
70
  type: :development
103
71
  prerelease: false
104
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +74,7 @@ dependencies:
106
74
  requirements:
107
75
  - - ~>
108
76
  - !ruby/object:Gem::Version
109
- version: '1.6'
77
+ version: '1.0'
110
78
  - !ruby/object:Gem::Dependency
111
79
  name: myrrha
112
80
  requirement: !ruby/object:Gem::Requirement
@@ -162,7 +130,7 @@ dependencies:
162
130
  requirements:
163
131
  - - ~>
164
132
  - !ruby/object:Gem::Version
165
- version: 0.5.1
133
+ version: 0.6.0
166
134
  type: :runtime
167
135
  prerelease: false
168
136
  version_requirements: !ruby/object:Gem::Requirement
@@ -170,7 +138,7 @@ dependencies:
170
138
  requirements:
171
139
  - - ~>
172
140
  - !ruby/object:Gem::Version
173
- version: 0.5.1
141
+ version: 0.6.0
174
142
  description: ! 'Alf brings the relational algebra both in Shell and in Ruby. In Shell,
175
143
  because
176
144
 
@@ -198,6 +166,7 @@ files:
198
166
  - examples/operators/compact.alf
199
167
  - examples/operators/defaults.alf
200
168
  - examples/operators/extend.alf
169
+ - examples/operators/frame.alf
201
170
  - examples/operators/group.alf
202
171
  - examples/operators/intersect.alf
203
172
  - examples/operators/join.alf
@@ -227,217 +196,222 @@ files:
227
196
  - examples/suppliers_and_parts/parts.rash
228
197
  - examples/suppliers_and_parts/suppliers.rash
229
198
  - examples/suppliers_and_parts/supplies.rash
230
- - lib/alf-adapter/alf/adapter/connection/schema_cached.rb
231
- - lib/alf-adapter/alf/adapter/connection.rb
232
- - lib/alf-adapter/alf/adapter.rb
233
- - lib/alf-adapter-fs/alf/adapter/folder/connection.rb
234
- - lib/alf-adapter-fs/alf/adapter/folder.rb
235
- - lib/alf-adapter-fs/alf/adapter/fs.rb
236
- - lib/alf-aggregator/alf/aggregator/avg.rb
237
- - lib/alf-aggregator/alf/aggregator/collect.rb
238
- - lib/alf-aggregator/alf/aggregator/concat.rb
239
- - lib/alf-aggregator/alf/aggregator/count.rb
240
- - lib/alf-aggregator/alf/aggregator/max.rb
241
- - lib/alf-aggregator/alf/aggregator/min.rb
242
- - lib/alf-aggregator/alf/aggregator/stddev.rb
243
- - lib/alf-aggregator/alf/aggregator/sum.rb
244
- - lib/alf-aggregator/alf/aggregator/variance.rb
245
- - lib/alf-aggregator/alf/aggregator.rb
246
- - lib/alf-algebra/alf/algebra/operand/fake.rb
247
- - lib/alf-algebra/alf/algebra/operand/named.rb
248
- - lib/alf-algebra/alf/algebra/operand/proxy.rb
249
- - lib/alf-algebra/alf/algebra/operand.rb
250
- - lib/alf-algebra/alf/algebra/operator/autonum.rb
251
- - lib/alf-algebra/alf/algebra/operator/clip.rb
252
- - lib/alf-algebra/alf/algebra/operator/coerce.rb
253
- - lib/alf-algebra/alf/algebra/operator/compact.rb
254
- - lib/alf-algebra/alf/algebra/operator/defaults.rb
255
- - lib/alf-algebra/alf/algebra/operator/extend.rb
256
- - lib/alf-algebra/alf/algebra/operator/frame.rb
257
- - lib/alf-algebra/alf/algebra/operator/generator.rb
258
- - lib/alf-algebra/alf/algebra/operator/group.rb
259
- - lib/alf-algebra/alf/algebra/operator/hierarchize.rb
260
- - lib/alf-algebra/alf/algebra/operator/infer_heading.rb
261
- - lib/alf-algebra/alf/algebra/operator/intersect.rb
262
- - lib/alf-algebra/alf/algebra/operator/join.rb
263
- - lib/alf-algebra/alf/algebra/operator/matching.rb
264
- - lib/alf-algebra/alf/algebra/operator/minus.rb
265
- - lib/alf-algebra/alf/algebra/operator/not_matching.rb
266
- - lib/alf-algebra/alf/algebra/operator/page.rb
267
- - lib/alf-algebra/alf/algebra/operator/project.rb
268
- - lib/alf-algebra/alf/algebra/operator/quota.rb
269
- - lib/alf-algebra/alf/algebra/operator/rank.rb
270
- - lib/alf-algebra/alf/algebra/operator/rename.rb
271
- - lib/alf-algebra/alf/algebra/operator/restrict.rb
272
- - lib/alf-algebra/alf/algebra/operator/sort.rb
273
- - lib/alf-algebra/alf/algebra/operator/summarize.rb
274
- - lib/alf-algebra/alf/algebra/operator/type_safe.rb
275
- - lib/alf-algebra/alf/algebra/operator/ungroup.rb
276
- - lib/alf-algebra/alf/algebra/operator/union.rb
277
- - lib/alf-algebra/alf/algebra/operator/unwrap.rb
278
- - lib/alf-algebra/alf/algebra/operator/wrap.rb
279
- - lib/alf-algebra/alf/algebra/operator.rb
280
- - lib/alf-algebra/alf/algebra/support/binary.rb
281
- - lib/alf-algebra/alf/algebra/support/classification.rb
282
- - lib/alf-algebra/alf/algebra/support/compiler.rb
283
- - lib/alf-algebra/alf/algebra/support/experimental.rb
284
- - lib/alf-algebra/alf/algebra/support/non_relational.rb
285
- - lib/alf-algebra/alf/algebra/support/nullary.rb
286
- - lib/alf-algebra/alf/algebra/support/relational.rb
287
- - lib/alf-algebra/alf/algebra/support/rewriter.rb
288
- - lib/alf-algebra/alf/algebra/support/signature.rb
289
- - lib/alf-algebra/alf/algebra/support/to_dot.rb
290
- - lib/alf-algebra/alf/algebra/support/unary.rb
291
- - lib/alf-algebra/alf/algebra/support/visitor.rb
292
- - lib/alf-algebra/alf/algebra/support/with_ordering.rb
293
- - lib/alf-algebra/alf/algebra/support.rb
294
- - lib/alf-algebra/alf/algebra.rb
295
- - lib/alf-core/dsl.rb
296
- - lib/alf-core/errors.rb
297
- - lib/alf-core/ext/domain/heading_based.rb
298
- - lib/alf-core/ext.rb
299
- - lib/alf-core/facade.rb
300
- - lib/alf-core/loader.rb
301
- - lib/alf-core/version.rb
199
+ - lib/alf/adapter/connection/schema_cached.rb
200
+ - lib/alf/adapter/connection.rb
201
+ - lib/alf/adapter/folder/connection.rb
202
+ - lib/alf/adapter/folder.rb
203
+ - lib/alf/adapter/fs.rb
204
+ - lib/alf/adapter.rb
205
+ - lib/alf/aggregator/avg.rb
206
+ - lib/alf/aggregator/collect.rb
207
+ - lib/alf/aggregator/concat.rb
208
+ - lib/alf/aggregator/count.rb
209
+ - lib/alf/aggregator/max.rb
210
+ - lib/alf/aggregator/min.rb
211
+ - lib/alf/aggregator/stddev.rb
212
+ - lib/alf/aggregator/sum.rb
213
+ - lib/alf/aggregator/variance.rb
214
+ - lib/alf/aggregator.rb
215
+ - lib/alf/algebra/operand/fake.rb
216
+ - lib/alf/algebra/operand/named.rb
217
+ - lib/alf/algebra/operand/proxy.rb
218
+ - lib/alf/algebra/operand.rb
219
+ - lib/alf/algebra/operator/autonum.rb
220
+ - lib/alf/algebra/operator/clip.rb
221
+ - lib/alf/algebra/operator/coerce.rb
222
+ - lib/alf/algebra/operator/compact.rb
223
+ - lib/alf/algebra/operator/defaults.rb
224
+ - lib/alf/algebra/operator/extend.rb
225
+ - lib/alf/algebra/operator/frame.rb
226
+ - lib/alf/algebra/operator/generator.rb
227
+ - lib/alf/algebra/operator/group.rb
228
+ - lib/alf/algebra/operator/hierarchize.rb
229
+ - lib/alf/algebra/operator/intersect.rb
230
+ - lib/alf/algebra/operator/join.rb
231
+ - lib/alf/algebra/operator/matching.rb
232
+ - lib/alf/algebra/operator/minus.rb
233
+ - lib/alf/algebra/operator/not_matching.rb
234
+ - lib/alf/algebra/operator/page.rb
235
+ - lib/alf/algebra/operator/project.rb
236
+ - lib/alf/algebra/operator/quota.rb
237
+ - lib/alf/algebra/operator/rank.rb
238
+ - lib/alf/algebra/operator/rename.rb
239
+ - lib/alf/algebra/operator/restrict.rb
240
+ - lib/alf/algebra/operator/sort.rb
241
+ - lib/alf/algebra/operator/summarize.rb
242
+ - lib/alf/algebra/operator/ungroup.rb
243
+ - lib/alf/algebra/operator/union.rb
244
+ - lib/alf/algebra/operator/unwrap.rb
245
+ - lib/alf/algebra/operator/wrap.rb
246
+ - lib/alf/algebra/operator.rb
247
+ - lib/alf/algebra/shortcut/allbut.rb
248
+ - lib/alf/algebra/shortcut.rb
249
+ - lib/alf/algebra/support/binary.rb
250
+ - lib/alf/algebra/support/classification.rb
251
+ - lib/alf/algebra/support/compiler.rb
252
+ - lib/alf/algebra/support/experimental.rb
253
+ - lib/alf/algebra/support/non_relational.rb
254
+ - lib/alf/algebra/support/nullary.rb
255
+ - lib/alf/algebra/support/relational.rb
256
+ - lib/alf/algebra/support/rewriter.rb
257
+ - lib/alf/algebra/support/signature.rb
258
+ - lib/alf/algebra/support/type_check.rb
259
+ - lib/alf/algebra/support/unary.rb
260
+ - lib/alf/algebra/support/visitor.rb
261
+ - lib/alf/algebra/support/with_ordering.rb
262
+ - lib/alf/algebra/support.rb
263
+ - lib/alf/algebra.rb
264
+ - lib/alf/compiler/cog.rb
265
+ - lib/alf/compiler/default.rb
266
+ - lib/alf/compiler/plan.rb
267
+ - lib/alf/compiler.rb
268
+ - lib/alf/core/loader.rb
269
+ - lib/alf/core/version.rb
270
+ - lib/alf/database/connection.rb
271
+ - lib/alf/database/options.rb
272
+ - lib/alf/database.rb
273
+ - lib/alf/dsl.rb
274
+ - lib/alf/engine/aggregate.rb
275
+ - lib/alf/engine/autonum.rb
276
+ - lib/alf/engine/clip.rb
277
+ - lib/alf/engine/coerce.rb
278
+ - lib/alf/engine/cog.rb
279
+ - lib/alf/engine/compact/set.rb
280
+ - lib/alf/engine/compact/uniq.rb
281
+ - lib/alf/engine/compact.rb
282
+ - lib/alf/engine/concat.rb
283
+ - lib/alf/engine/defaults.rb
284
+ - lib/alf/engine/filter.rb
285
+ - lib/alf/engine/generator.rb
286
+ - lib/alf/engine/group/hash.rb
287
+ - lib/alf/engine/group.rb
288
+ - lib/alf/engine/hierarchize.rb
289
+ - lib/alf/engine/infer_heading.rb
290
+ - lib/alf/engine/join/hash.rb
291
+ - lib/alf/engine/join.rb
292
+ - lib/alf/engine/leaf.rb
293
+ - lib/alf/engine/materialize/array.rb
294
+ - lib/alf/engine/materialize/hash.rb
295
+ - lib/alf/engine/materialize.rb
296
+ - lib/alf/engine/quota/cesure.rb
297
+ - lib/alf/engine/quota.rb
298
+ - lib/alf/engine/rank/cesure.rb
299
+ - lib/alf/engine/rank.rb
300
+ - lib/alf/engine/rename.rb
301
+ - lib/alf/engine/semi/hash.rb
302
+ - lib/alf/engine/semi.rb
303
+ - lib/alf/engine/set_attr.rb
304
+ - lib/alf/engine/sort/in_memory.rb
305
+ - lib/alf/engine/sort.rb
306
+ - lib/alf/engine/summarize/cesure.rb
307
+ - lib/alf/engine/summarize/hash.rb
308
+ - lib/alf/engine/summarize.rb
309
+ - lib/alf/engine/support/cesure.rb
310
+ - lib/alf/engine/take.rb
311
+ - lib/alf/engine/to_array.rb
312
+ - lib/alf/engine/type_safe.rb
313
+ - lib/alf/engine/ungroup.rb
314
+ - lib/alf/engine/unwrap.rb
315
+ - lib/alf/engine/wrap.rb
316
+ - lib/alf/engine.rb
317
+ - lib/alf/errors.rb
318
+ - lib/alf/ext/domain/heading_based.rb
319
+ - lib/alf/ext.rb
320
+ - lib/alf/facade.rb
321
+ - lib/alf/lang/functional.rb
322
+ - lib/alf/lang/object_oriented.rb
323
+ - lib/alf/lang/oo/aggregation_methods.rb
324
+ - lib/alf/lang/oo/algebra_methods.rb
325
+ - lib/alf/lang/oo/rendering_methods.rb
326
+ - lib/alf/lang/parser/lispy.rb
327
+ - lib/alf/lang/parser/safer.rb
328
+ - lib/alf/lang/parser.rb
329
+ - lib/alf/lang/predicates.rb
330
+ - lib/alf/lang.rb
331
+ - lib/alf/optimizer/project.rb
332
+ - lib/alf/optimizer/restrict.rb
333
+ - lib/alf/optimizer.rb
334
+ - lib/alf/predicate/factory.rb
335
+ - lib/alf/predicate/grammar.rb
336
+ - lib/alf/predicate/grammar.sexp.yml
337
+ - lib/alf/predicate/nodes/and.rb
338
+ - lib/alf/predicate/nodes/contradiction.rb
339
+ - lib/alf/predicate/nodes/dyadic_comp.rb
340
+ - lib/alf/predicate/nodes/eq.rb
341
+ - lib/alf/predicate/nodes/expr.rb
342
+ - lib/alf/predicate/nodes/gt.rb
343
+ - lib/alf/predicate/nodes/gte.rb
344
+ - lib/alf/predicate/nodes/identifier.rb
345
+ - lib/alf/predicate/nodes/in.rb
346
+ - lib/alf/predicate/nodes/literal.rb
347
+ - lib/alf/predicate/nodes/lt.rb
348
+ - lib/alf/predicate/nodes/lte.rb
349
+ - lib/alf/predicate/nodes/nadic_bool.rb
350
+ - lib/alf/predicate/nodes/native.rb
351
+ - lib/alf/predicate/nodes/neq.rb
352
+ - lib/alf/predicate/nodes/not.rb
353
+ - lib/alf/predicate/nodes/or.rb
354
+ - lib/alf/predicate/nodes/qualified_identifier.rb
355
+ - lib/alf/predicate/nodes/tautology.rb
356
+ - lib/alf/predicate/processors/qualifier.rb
357
+ - lib/alf/predicate/processors/renamer.rb
358
+ - lib/alf/predicate/processors/to_ruby_code.rb
359
+ - lib/alf/predicate/processors.rb
360
+ - lib/alf/predicate.rb
361
+ - lib/alf/reader/csv.rb
362
+ - lib/alf/reader/json.rb
363
+ - lib/alf/reader/rash.rb
364
+ - lib/alf/reader/ruby.rb
365
+ - lib/alf/reader/yaml.rb
366
+ - lib/alf/reader.rb
367
+ - lib/alf/relation.rb
368
+ - lib/alf/relvar/base.rb
369
+ - lib/alf/relvar/fake.rb
370
+ - lib/alf/relvar/read_only.rb
371
+ - lib/alf/relvar/virtual.rb
372
+ - lib/alf/relvar.rb
373
+ - lib/alf/renderer/csv.rb
374
+ - lib/alf/renderer/json.rb
375
+ - lib/alf/renderer/rash.rb
376
+ - lib/alf/renderer/text.rb
377
+ - lib/alf/renderer/yaml.rb
378
+ - lib/alf/renderer.rb
379
+ - lib/alf/support/coerce.rb
380
+ - lib/alf/support/config.rb
381
+ - lib/alf/support/csv_utils.rb
382
+ - lib/alf/support/dot_utils.rb
383
+ - lib/alf/support/miscellaneous.rb
384
+ - lib/alf/support/ordered_set.rb
385
+ - lib/alf/support/registry.rb
386
+ - lib/alf/support/scope.rb
387
+ - lib/alf/support/to_lispy.rb
388
+ - lib/alf/support/to_ruby_literal.rb
389
+ - lib/alf/support/tree.rb
390
+ - lib/alf/support/tuple_scope.rb
391
+ - lib/alf/support.rb
392
+ - lib/alf/tuple.rb
393
+ - lib/alf/types/attr_list.rb
394
+ - lib/alf/types/attr_name.rb
395
+ - lib/alf/types/boolean.rb
396
+ - lib/alf/types/heading.rb
397
+ - lib/alf/types/keys.rb
398
+ - lib/alf/types/ordering.rb
399
+ - lib/alf/types/renaming.rb
400
+ - lib/alf/types/selection.rb
401
+ - lib/alf/types/selector.rb
402
+ - lib/alf/types/size.rb
403
+ - lib/alf/types/summarization.rb
404
+ - lib/alf/types/tuple_computation.rb
405
+ - lib/alf/types/tuple_expression.rb
406
+ - lib/alf/types/type_check.rb
407
+ - lib/alf/types.rb
408
+ - lib/alf/update/deleter.rb
409
+ - lib/alf/update/inserter.rb
410
+ - lib/alf/update/updater.rb
411
+ - lib/alf/update.rb
412
+ - lib/alf/viewpoint/metadata.rb
413
+ - lib/alf/viewpoint.rb
302
414
  - lib/alf-core.rb
303
- - lib/alf-database/alf/database/connection.rb
304
- - lib/alf-database/alf/database/options.rb
305
- - lib/alf-database/alf/database.rb
306
- - lib/alf-engine/alf/engine/aggregate.rb
307
- - lib/alf-engine/alf/engine/autonum.rb
308
- - lib/alf-engine/alf/engine/clip.rb
309
- - lib/alf-engine/alf/engine/coerce.rb
310
- - lib/alf-engine/alf/engine/cog.rb
311
- - lib/alf-engine/alf/engine/compact/set.rb
312
- - lib/alf-engine/alf/engine/compact/uniq.rb
313
- - lib/alf-engine/alf/engine/compact.rb
314
- - lib/alf-engine/alf/engine/compiler.rb
315
- - lib/alf-engine/alf/engine/concat.rb
316
- - lib/alf-engine/alf/engine/defaults.rb
317
- - lib/alf-engine/alf/engine/filter.rb
318
- - lib/alf-engine/alf/engine/generator.rb
319
- - lib/alf-engine/alf/engine/group/hash.rb
320
- - lib/alf-engine/alf/engine/group.rb
321
- - lib/alf-engine/alf/engine/hierarchize.rb
322
- - lib/alf-engine/alf/engine/infer_heading.rb
323
- - lib/alf-engine/alf/engine/join/hash.rb
324
- - lib/alf-engine/alf/engine/join.rb
325
- - lib/alf-engine/alf/engine/leaf.rb
326
- - lib/alf-engine/alf/engine/materialize/array.rb
327
- - lib/alf-engine/alf/engine/materialize/hash.rb
328
- - lib/alf-engine/alf/engine/materialize.rb
329
- - lib/alf-engine/alf/engine/quota/cesure.rb
330
- - lib/alf-engine/alf/engine/quota.rb
331
- - lib/alf-engine/alf/engine/rank/cesure.rb
332
- - lib/alf-engine/alf/engine/rank.rb
333
- - lib/alf-engine/alf/engine/rename.rb
334
- - lib/alf-engine/alf/engine/semi/hash.rb
335
- - lib/alf-engine/alf/engine/semi.rb
336
- - lib/alf-engine/alf/engine/set_attr.rb
337
- - lib/alf-engine/alf/engine/sort/in_memory.rb
338
- - lib/alf-engine/alf/engine/sort.rb
339
- - lib/alf-engine/alf/engine/summarize/cesure.rb
340
- - lib/alf-engine/alf/engine/summarize/hash.rb
341
- - lib/alf-engine/alf/engine/summarize.rb
342
- - lib/alf-engine/alf/engine/support/cesure.rb
343
- - lib/alf-engine/alf/engine/take.rb
344
- - lib/alf-engine/alf/engine/to_array.rb
345
- - lib/alf-engine/alf/engine/to_dot.rb
346
- - lib/alf-engine/alf/engine/type_safe.rb
347
- - lib/alf-engine/alf/engine/ungroup.rb
348
- - lib/alf-engine/alf/engine/unwrap.rb
349
- - lib/alf-engine/alf/engine/wrap.rb
350
- - lib/alf-engine/alf/engine.rb
351
- - lib/alf-io/alf/io.rb
352
- - lib/alf-io/alf/reader/csv.rb
353
- - lib/alf-io/alf/reader/json.rb
354
- - lib/alf-io/alf/reader/rash.rb
355
- - lib/alf-io/alf/reader/ruby.rb
356
- - lib/alf-io/alf/reader.rb
357
- - lib/alf-io/alf/renderer/csv.rb
358
- - lib/alf-io/alf/renderer/json.rb
359
- - lib/alf-io/alf/renderer/rash.rb
360
- - lib/alf-io/alf/renderer/text.rb
361
- - lib/alf-io/alf/renderer/yaml.rb
362
- - lib/alf-io/alf/renderer.rb
363
- - lib/alf-io/alf/support/csv_utils.rb
364
- - lib/alf-lang/alf/lang/functional.rb
365
- - lib/alf-lang/alf/lang/lispy.rb
366
- - lib/alf-lang/alf/lang/object_oriented.rb
367
- - lib/alf-lang/alf/lang/oo/aggregation_methods.rb
368
- - lib/alf-lang/alf/lang/oo/algebra_methods.rb
369
- - lib/alf-lang/alf/lang/oo/rendering_methods.rb
370
- - lib/alf-lang/alf/lang/predicates.rb
371
- - lib/alf-lang/alf/lang.rb
372
- - lib/alf-optimizer/alf/optimizer/restrict.rb
373
- - lib/alf-optimizer/alf/optimizer.rb
374
- - lib/alf-predicate/alf/predicate/factory.rb
375
- - lib/alf-predicate/alf/predicate/grammar.rb
376
- - lib/alf-predicate/alf/predicate/grammar.sexp.yml
377
- - lib/alf-predicate/alf/predicate/nodes/and.rb
378
- - lib/alf-predicate/alf/predicate/nodes/contradiction.rb
379
- - lib/alf-predicate/alf/predicate/nodes/dyadic_comp.rb
380
- - lib/alf-predicate/alf/predicate/nodes/eq.rb
381
- - lib/alf-predicate/alf/predicate/nodes/expr.rb
382
- - lib/alf-predicate/alf/predicate/nodes/gt.rb
383
- - lib/alf-predicate/alf/predicate/nodes/gte.rb
384
- - lib/alf-predicate/alf/predicate/nodes/in.rb
385
- - lib/alf-predicate/alf/predicate/nodes/literal.rb
386
- - lib/alf-predicate/alf/predicate/nodes/lt.rb
387
- - lib/alf-predicate/alf/predicate/nodes/lte.rb
388
- - lib/alf-predicate/alf/predicate/nodes/nadic_bool.rb
389
- - lib/alf-predicate/alf/predicate/nodes/native.rb
390
- - lib/alf-predicate/alf/predicate/nodes/neq.rb
391
- - lib/alf-predicate/alf/predicate/nodes/not.rb
392
- - lib/alf-predicate/alf/predicate/nodes/or.rb
393
- - lib/alf-predicate/alf/predicate/nodes/tautology.rb
394
- - lib/alf-predicate/alf/predicate/nodes/var_ref.rb
395
- - lib/alf-predicate/alf/predicate/parser.rb
396
- - lib/alf-predicate/alf/predicate/processors/renamer.rb
397
- - lib/alf-predicate/alf/predicate/processors/to_proc.rb
398
- - lib/alf-predicate/alf/predicate/processors/to_ruby_code.rb
399
- - lib/alf-predicate/alf/predicate/processors.rb
400
- - lib/alf-predicate/alf/predicate.rb
401
- - lib/alf-relation/alf/relation.rb
402
- - lib/alf-relation/alf/tuple.rb
403
- - lib/alf-relvar/alf/relvar/base.rb
404
- - lib/alf-relvar/alf/relvar/fake.rb
405
- - lib/alf-relvar/alf/relvar/read_only.rb
406
- - lib/alf-relvar/alf/relvar/virtual.rb
407
- - lib/alf-relvar/alf/relvar.rb
408
- - lib/alf-support/alf/support/bindable.rb
409
- - lib/alf-support/alf/support/coerce.rb
410
- - lib/alf-support/alf/support/config.rb
411
- - lib/alf-support/alf/support/dot_utils.rb
412
- - lib/alf-support/alf/support/miscellaneous.rb
413
- - lib/alf-support/alf/support/ordered_set.rb
414
- - lib/alf-support/alf/support/registry.rb
415
- - lib/alf-support/alf/support/scope.rb
416
- - lib/alf-support/alf/support/to_lispy.rb
417
- - lib/alf-support/alf/support/to_ruby_literal.rb
418
- - lib/alf-support/alf/support/tuple_scope.rb
419
- - lib/alf-support/alf/support.rb
420
- - lib/alf-types/alf/types/attr_list.rb
421
- - lib/alf-types/alf/types/attr_name.rb
422
- - lib/alf-types/alf/types/boolean.rb
423
- - lib/alf-types/alf/types/heading.rb
424
- - lib/alf-types/alf/types/keys.rb
425
- - lib/alf-types/alf/types/ordering.rb
426
- - lib/alf-types/alf/types/renaming.rb
427
- - lib/alf-types/alf/types/selection.rb
428
- - lib/alf-types/alf/types/selector.rb
429
- - lib/alf-types/alf/types/size.rb
430
- - lib/alf-types/alf/types/summarization.rb
431
- - lib/alf-types/alf/types/tuple_computation.rb
432
- - lib/alf-types/alf/types/tuple_expression.rb
433
- - lib/alf-types/alf/types/type_check.rb
434
- - lib/alf-types/alf/types.rb
435
- - lib/alf-update/alf/update/deleter.rb
436
- - lib/alf-update/alf/update/inserter.rb
437
- - lib/alf-update/alf/update/updater.rb
438
- - lib/alf-update/alf/update.rb
439
- - lib/alf-viewpoint/alf/viewpoint/metadata.rb
440
- - lib/alf-viewpoint/alf/viewpoint.rb
441
415
  - tasks/clean.rake
442
416
  - tasks/gem.rake
443
417
  - tasks/gh-pages.rake
@@ -453,16 +427,15 @@ files:
453
427
  - Manifest.txt
454
428
  - README.md
455
429
  - TODO.md
430
+ - spec/compiler_helper.rb
456
431
  - spec/integration/__database__/group.alf
457
432
  - spec/integration/__database__/parts.rash
458
433
  - spec/integration/__database__/suppliers.rash
459
434
  - spec/integration/__database__/suppliers_csv.csv
460
435
  - spec/integration/__database__/supplies.rash
461
- - spec/integration/algebra/test_to_dot.rb
462
436
  - spec/integration/ext/test_relation.rb
463
437
  - spec/integration/relation/test_extend.rb
464
438
  - spec/integration/relation/test_to_array.rb
465
- - spec/integration/relvar/test_type_safe.rb
466
439
  - spec/integration/test_alf.rb
467
440
  - spec/integration/test_examples.rb
468
441
  - spec/optimizer_helper.rb
@@ -478,6 +451,7 @@ files:
478
451
  - spec/shared/a_value.rb
479
452
  - spec/shared/an_operator_class.rb
480
453
  - spec/spec_helper.rb
454
+ - spec/type_check_helper.rb
481
455
  - spec/unit/alf-adapter/adapter/test_factor.rb
482
456
  - spec/unit/alf-adapter/connection/schema_cached/test_delegate.rb
483
457
  - spec/unit/alf-adapter/connection/schema_cached/test_heading.rb
@@ -502,18 +476,29 @@ files:
502
476
  - spec/unit/alf-aggregator/test_stddev.rb
503
477
  - spec/unit/alf-aggregator/test_sum.rb
504
478
  - spec/unit/alf-aggregator/test_variance.rb
479
+ - spec/unit/alf-algebra/operand/named/test_hash_and_equal.rb
505
480
  - spec/unit/alf-algebra/operand/named/test_keys.rb
481
+ - spec/unit/alf-algebra/operand/named/test_to_ascii_tree.rb
482
+ - spec/unit/alf-algebra/operand/named/test_to_cog.rb
506
483
  - spec/unit/alf-algebra/operand/named/test_to_relvar.rb
484
+ - spec/unit/alf-algebra/operand/named/test_type_check.rb
485
+ - spec/unit/alf-algebra/operand/proxy/test_to_cog.rb
507
486
  - spec/unit/alf-algebra/operand/test_coerce.rb
508
487
  - spec/unit/alf-algebra/operand/test_proxy.rb
509
488
  - spec/unit/alf-algebra/operator/allbut/test_key_preserving.rb
510
489
  - spec/unit/alf-algebra/operator/allbut/test_keys.rb
490
+ - spec/unit/alf-algebra/operator/allbut/test_type_check.rb
511
491
  - spec/unit/alf-algebra/operator/autonum/test_heading.rb
512
492
  - spec/unit/alf-algebra/operator/autonum/test_keys.rb
493
+ - spec/unit/alf-algebra/operator/autonum/test_type_check.rb
513
494
  - spec/unit/alf-algebra/operator/clip/test_heading.rb
514
495
  - spec/unit/alf-algebra/operator/clip/test_keys.rb
496
+ - spec/unit/alf-algebra/operator/clip/test_type_check.rb
515
497
  - spec/unit/alf-algebra/operator/coerce/test_heading.rb
516
498
  - spec/unit/alf-algebra/operator/coerce/test_keys.rb
499
+ - spec/unit/alf-algebra/operator/coerce/test_type_check.rb
500
+ - spec/unit/alf-algebra/operator/commons/test_resulting_type.rb
501
+ - spec/unit/alf-algebra/operator/commons/test_to_ascii_tree.rb
517
502
  - spec/unit/alf-algebra/operator/commons/test_with_operands.rb
518
503
  - spec/unit/alf-algebra/operator/compact/test_heading.rb
519
504
  - spec/unit/alf-algebra/operator/compact/test_keys.rb
@@ -521,38 +506,55 @@ files:
521
506
  - spec/unit/alf-algebra/operator/defaults/test_keys.rb
522
507
  - spec/unit/alf-algebra/operator/extend/test_heading.rb
523
508
  - spec/unit/alf-algebra/operator/extend/test_keys.rb
509
+ - spec/unit/alf-algebra/operator/extend/test_type_check.rb
510
+ - spec/unit/alf-algebra/operator/frame/test_type_check.rb
524
511
  - spec/unit/alf-algebra/operator/generator/test_heading.rb
525
512
  - spec/unit/alf-algebra/operator/generator/test_keys.rb
526
513
  - spec/unit/alf-algebra/operator/group/test_heading.rb
527
514
  - spec/unit/alf-algebra/operator/group/test_keys.rb
515
+ - spec/unit/alf-algebra/operator/group/test_type_check.rb
528
516
  - spec/unit/alf-algebra/operator/hierarchize/test_heading.rb
529
- - spec/unit/alf-algebra/operator/infer_heading/test_keys.rb
517
+ - spec/unit/alf-algebra/operator/hierarchize/test_type_check.rb
530
518
  - spec/unit/alf-algebra/operator/intersect/test_heading.rb
531
519
  - spec/unit/alf-algebra/operator/intersect/test_keys.rb
520
+ - spec/unit/alf-algebra/operator/intersect/test_type_check.rb
532
521
  - spec/unit/alf-algebra/operator/join/test_heading.rb
533
522
  - spec/unit/alf-algebra/operator/join/test_keys.rb
523
+ - spec/unit/alf-algebra/operator/join/test_type_check.rb
534
524
  - spec/unit/alf-algebra/operator/matching/test_heading.rb
535
525
  - spec/unit/alf-algebra/operator/matching/test_keys.rb
526
+ - spec/unit/alf-algebra/operator/matching/test_type_check.rb
536
527
  - spec/unit/alf-algebra/operator/minus/test_heading.rb
537
528
  - spec/unit/alf-algebra/operator/minus/test_keys.rb
529
+ - spec/unit/alf-algebra/operator/minus/test_type_check.rb
538
530
  - spec/unit/alf-algebra/operator/not_matching/test_heading.rb
539
531
  - spec/unit/alf-algebra/operator/not_matching/test_keys.rb
532
+ - spec/unit/alf-algebra/operator/not_matching/test_type_check.rb
533
+ - spec/unit/alf-algebra/operator/page/test_type_check.rb
540
534
  - spec/unit/alf-algebra/operator/project/test_heading.rb
541
535
  - spec/unit/alf-algebra/operator/project/test_key_preserving.rb
542
536
  - spec/unit/alf-algebra/operator/project/test_keys.rb
537
+ - spec/unit/alf-algebra/operator/project/test_type_check.rb
543
538
  - spec/unit/alf-algebra/operator/quota/test_heading.rb
544
539
  - spec/unit/alf-algebra/operator/quota/test_keys.rb
540
+ - spec/unit/alf-algebra/operator/quota/test_type_check.rb
545
541
  - spec/unit/alf-algebra/operator/rank/test_heading.rb
546
542
  - spec/unit/alf-algebra/operator/rank/test_keys.rb
543
+ - spec/unit/alf-algebra/operator/rank/test_type_check.rb
547
544
  - spec/unit/alf-algebra/operator/rename/test_complete_renaming.rb
548
545
  - spec/unit/alf-algebra/operator/rename/test_heading.rb
549
546
  - spec/unit/alf-algebra/operator/rename/test_keys.rb
547
+ - spec/unit/alf-algebra/operator/rename/test_type_check.rb
550
548
  - spec/unit/alf-algebra/operator/restrict/test_heading.rb
551
549
  - spec/unit/alf-algebra/operator/restrict/test_keys.rb
550
+ - spec/unit/alf-algebra/operator/restrict/test_type_check.rb
551
+ - spec/unit/alf-algebra/operator/shared/test_to_cog.rb
552
552
  - spec/unit/alf-algebra/operator/sort/test_heading.rb
553
553
  - spec/unit/alf-algebra/operator/sort/test_keys.rb
554
+ - spec/unit/alf-algebra/operator/sort/test_type_check.rb
554
555
  - spec/unit/alf-algebra/operator/summarize/test_heading.rb
555
556
  - spec/unit/alf-algebra/operator/summarize/test_keys.rb
557
+ - spec/unit/alf-algebra/operator/summarize/test_type_check.rb
556
558
  - spec/unit/alf-algebra/operator/test_autonum.rb
557
559
  - spec/unit/alf-algebra/operator/test_clip.rb
558
560
  - spec/unit/alf-algebra/operator/test_coerce.rb
@@ -561,7 +563,7 @@ files:
561
563
  - spec/unit/alf-algebra/operator/test_extend.rb
562
564
  - spec/unit/alf-algebra/operator/test_generator.rb
563
565
  - spec/unit/alf-algebra/operator/test_group.rb
564
- - spec/unit/alf-algebra/operator/test_infer_heading.rb
566
+ - spec/unit/alf-algebra/operator/test_hash_and_equal.rb
565
567
  - spec/unit/alf-algebra/operator/test_intersect.rb
566
568
  - spec/unit/alf-algebra/operator/test_join.rb
567
569
  - spec/unit/alf-algebra/operator/test_minus.rb
@@ -577,16 +579,18 @@ files:
577
579
  - spec/unit/alf-algebra/operator/test_union.rb
578
580
  - spec/unit/alf-algebra/operator/test_unwrap.rb
579
581
  - spec/unit/alf-algebra/operator/test_wrap.rb
580
- - spec/unit/alf-algebra/operator/type_safe/test_heading.rb
581
- - spec/unit/alf-algebra/operator/type_safe/test_keys.rb
582
582
  - spec/unit/alf-algebra/operator/ungroup/test_heading.rb
583
583
  - spec/unit/alf-algebra/operator/ungroup/test_keys.rb
584
+ - spec/unit/alf-algebra/operator/ungroup/test_type_check.rb
584
585
  - spec/unit/alf-algebra/operator/union/test_heading.rb
585
586
  - spec/unit/alf-algebra/operator/union/test_keys.rb
587
+ - spec/unit/alf-algebra/operator/union/test_type_check.rb
586
588
  - spec/unit/alf-algebra/operator/unwrap/test_heading.rb
587
589
  - spec/unit/alf-algebra/operator/unwrap/test_keys.rb
590
+ - spec/unit/alf-algebra/operator/unwrap/test_type_check.rb
588
591
  - spec/unit/alf-algebra/operator/wrap/test_heading.rb
589
592
  - spec/unit/alf-algebra/operator/wrap/test_keys.rb
593
+ - spec/unit/alf-algebra/operator/wrap/test_type_check.rb
590
594
  - spec/unit/alf-algebra/support/binary/test_with_left.rb
591
595
  - spec/unit/alf-algebra/support/binary/test_with_right.rb
592
596
  - spec/unit/alf-algebra/support/signature/test_collect_on.rb
@@ -601,6 +605,37 @@ files:
601
605
  - spec/unit/alf-algebra/support/with_ordering/test_total_ordering.rb
602
606
  - spec/unit/alf-algebra/test_operator.rb
603
607
  - spec/unit/alf-algebra/test_rewriter.rb
608
+ - spec/unit/alf-compiler/default/test_allbut.rb
609
+ - spec/unit/alf-compiler/default/test_autonum.rb
610
+ - spec/unit/alf-compiler/default/test_clip.rb
611
+ - spec/unit/alf-compiler/default/test_coerce.rb
612
+ - spec/unit/alf-compiler/default/test_compact.rb
613
+ - spec/unit/alf-compiler/default/test_completude.rb
614
+ - spec/unit/alf-compiler/default/test_defaults.rb
615
+ - spec/unit/alf-compiler/default/test_extend.rb
616
+ - spec/unit/alf-compiler/default/test_frame.rb
617
+ - spec/unit/alf-compiler/default/test_generator.rb
618
+ - spec/unit/alf-compiler/default/test_group.rb
619
+ - spec/unit/alf-compiler/default/test_hierarchize.rb
620
+ - spec/unit/alf-compiler/default/test_intersect.rb
621
+ - spec/unit/alf-compiler/default/test_join.rb
622
+ - spec/unit/alf-compiler/default/test_matching.rb
623
+ - spec/unit/alf-compiler/default/test_minus.rb
624
+ - spec/unit/alf-compiler/default/test_not_matching.rb
625
+ - spec/unit/alf-compiler/default/test_page.rb
626
+ - spec/unit/alf-compiler/default/test_project.rb
627
+ - spec/unit/alf-compiler/default/test_quota.rb
628
+ - spec/unit/alf-compiler/default/test_rank.rb
629
+ - spec/unit/alf-compiler/default/test_rename.rb
630
+ - spec/unit/alf-compiler/default/test_restrict.rb
631
+ - spec/unit/alf-compiler/default/test_sort.rb
632
+ - spec/unit/alf-compiler/default/test_summarize.rb
633
+ - spec/unit/alf-compiler/default/test_ungroup.rb
634
+ - spec/unit/alf-compiler/default/test_union.rb
635
+ - spec/unit/alf-compiler/default/test_unwrap.rb
636
+ - spec/unit/alf-compiler/default/test_wrap.rb
637
+ - spec/unit/alf-compiler/shared/compiled_examples.rb
638
+ - spec/unit/alf-compiler/test_principle.rb
604
639
  - spec/unit/alf-core/alf/example.rash
605
640
  - spec/unit/alf-core/alf/test_connect.rb
606
641
  - spec/unit/alf-core/alf/test_database.rb
@@ -631,16 +666,14 @@ files:
631
666
  - spec/unit/alf-database/options/test_freeze.rb
632
667
  - spec/unit/alf-database/options/test_merge.rb
633
668
  - spec/unit/alf-database/options/test_new.rb
669
+ - spec/unit/alf-database/options/test_parser.rb
634
670
  - spec/unit/alf-database/options/test_schema_cache.rb
635
671
  - spec/unit/alf-database/options/test_viewpoint.rb
636
672
  - spec/unit/alf-database/shared_examples/a_facade_on_database_options.rb
673
+ - spec/unit/alf-engine/cog/test_to_ascii_tree.rb
637
674
  - spec/unit/alf-engine/cog/test_to_cog.rb
638
675
  - spec/unit/alf-engine/compact/test_set.rb
639
676
  - spec/unit/alf-engine/compact/test_uniq.rb
640
- - spec/unit/alf-engine/compiler/test_on_frame.rb
641
- - spec/unit/alf-engine/compiler/test_on_hierarchize.rb
642
- - spec/unit/alf-engine/compiler/test_on_page.rb
643
- - spec/unit/alf-engine/compiler/test_unsupported.rb
644
677
  - spec/unit/alf-engine/group/test_hash.rb
645
678
  - spec/unit/alf-engine/hierarchize/test_renamer.rb
646
679
  - spec/unit/alf-engine/infer_heading/test_heading.rb
@@ -682,6 +715,7 @@ files:
682
715
  - spec/unit/alf-io/reader/test_json.rb
683
716
  - spec/unit/alf-io/reader/test_rash.rb
684
717
  - spec/unit/alf-io/reader/test_ruby.rb
718
+ - spec/unit/alf-io/reader/test_yaml.rb
685
719
  - spec/unit/alf-io/renderer/class/test_by_mime_type.rb
686
720
  - spec/unit/alf-io/renderer/test_csv.rb
687
721
  - spec/unit/alf-io/renderer/test_initialize.rb
@@ -700,15 +734,17 @@ files:
700
734
  - spec/unit/alf-lang/functional/test_aggregation.rb
701
735
  - spec/unit/alf-lang/functional/test_relation.rb
702
736
  - spec/unit/alf-lang/functional/test_tuple.rb
703
- - spec/unit/alf-lang/lispy/test_connection_bang.rb
704
- - spec/unit/alf-lang/lispy/test_parse.rb
705
- - spec/unit/alf-lang/lispy/test_to_s.rb
706
737
  - spec/unit/alf-lang/object_oriented/test_rendering_methods.rb
707
738
  - spec/unit/alf-lang/object_oriented/test_to_array.rb
708
739
  - spec/unit/alf-lang/object_oriented/test_to_rash.rb
709
740
  - spec/unit/alf-lang/object_oriented/test_tuple_extract.rb
741
+ - spec/unit/alf-lang/parser/lispy/test_connection_bang.rb
742
+ - spec/unit/alf-lang/parser/lispy/test_parse.rb
743
+ - spec/unit/alf-lang/parser/lispy/test_to_s.rb
744
+ - spec/unit/alf-lang/parser/safer/safe.txt
745
+ - spec/unit/alf-lang/parser/safer/test_parse.rb
746
+ - spec/unit/alf-lang/parser/safer/unsafe.txt
710
747
  - spec/unit/alf-lang/test_predicates.rb
711
- - spec/unit/alf-optimizer/optimizer/test_optimizer.rb
712
748
  - spec/unit/alf-optimizer/optimizer/test_search.rb
713
749
  - spec/unit/alf-optimizer/restrict/test_on_autonum.rb
714
750
  - spec/unit/alf-optimizer/restrict/test_on_coerce.rb
@@ -726,7 +762,6 @@ files:
726
762
  - spec/unit/alf-optimizer/test_extend.rb
727
763
  - spec/unit/alf-optimizer/test_generator.rb
728
764
  - spec/unit/alf-optimizer/test_group.rb
729
- - spec/unit/alf-optimizer/test_infer_heading.rb
730
765
  - spec/unit/alf-optimizer/test_intersect.rb
731
766
  - spec/unit/alf-optimizer/test_minus.rb
732
767
  - spec/unit/alf-optimizer/test_project.rb
@@ -749,6 +784,7 @@ files:
749
784
  - spec/unit/alf-predicate/factory/test_factor_predicate.rb
750
785
  - spec/unit/alf-predicate/factory/test_gt.rb
751
786
  - spec/unit/alf-predicate/factory/test_gte.rb
787
+ - spec/unit/alf-predicate/factory/test_identifier.rb
752
788
  - spec/unit/alf-predicate/factory/test_in.rb
753
789
  - spec/unit/alf-predicate/factory/test_literal.rb
754
790
  - spec/unit/alf-predicate/factory/test_lt.rb
@@ -757,17 +793,20 @@ files:
757
793
  - spec/unit/alf-predicate/factory/test_neq.rb
758
794
  - spec/unit/alf-predicate/factory/test_not.rb
759
795
  - spec/unit/alf-predicate/factory/test_or.rb
796
+ - spec/unit/alf-predicate/factory/test_qualified_identifier.rb
760
797
  - spec/unit/alf-predicate/factory/test_tautology.rb
761
- - spec/unit/alf-predicate/factory/test_var_ref.rb
762
798
  - spec/unit/alf-predicate/grammar/test_match.rb
763
- - spec/unit/alf-predicate/grammar/test_parse.rb
764
799
  - spec/unit/alf-predicate/grammar/test_sexpr.rb
765
800
  - spec/unit/alf-predicate/nodes/and/test_and_split.rb
766
801
  - spec/unit/alf-predicate/nodes/dyadic_comp/test_and_split.rb
802
+ - spec/unit/alf-predicate/nodes/identifier/test_and_split.rb
803
+ - spec/unit/alf-predicate/nodes/identifier/test_free_variables.rb
804
+ - spec/unit/alf-predicate/nodes/identifier/test_name.rb
767
805
  - spec/unit/alf-predicate/nodes/nadic_bool/test_free_variables.rb
768
- - spec/unit/alf-predicate/nodes/var_ref/test_and_split.rb
769
- - spec/unit/alf-predicate/nodes/var_ref/test_free_variables.rb
770
- - spec/unit/alf-predicate/nodes/var_ref/test_var_name.rb
806
+ - spec/unit/alf-predicate/nodes/qualified_identifier/test_and_split.rb
807
+ - spec/unit/alf-predicate/nodes/qualified_identifier/test_free_variables.rb
808
+ - spec/unit/alf-predicate/nodes/qualified_identifier/test_name.rb
809
+ - spec/unit/alf-predicate/nodes/qualified_identifier/test_qualifier.rb
771
810
  - spec/unit/alf-predicate/predicate/test_and_split.rb
772
811
  - spec/unit/alf-predicate/predicate/test_bool_and.rb
773
812
  - spec/unit/alf-predicate/predicate/test_bool_not.rb
@@ -779,6 +818,7 @@ files:
779
818
  - spec/unit/alf-predicate/predicate/test_factory_methods.rb
780
819
  - spec/unit/alf-predicate/predicate/test_free_variables.rb
781
820
  - spec/unit/alf-predicate/predicate/test_hash_and_equal.rb
821
+ - spec/unit/alf-predicate/predicate/test_qualify.rb
782
822
  - spec/unit/alf-predicate/predicate/test_rename.rb
783
823
  - spec/unit/alf-predicate/predicate/test_tautology.rb
784
824
  - spec/unit/alf-predicate/predicate/test_to_proc.rb
@@ -786,6 +826,7 @@ files:
786
826
  - spec/unit/alf-predicate/predicate/test_to_ruby_literal.rb
787
827
  - spec/unit/alf-predicate/test_predicate.rb
788
828
  - spec/unit/alf-relation/relation/class/test_coerce.rb
829
+ - spec/unit/alf-relation/relation/class/test_dum.rb
789
830
  - spec/unit/alf-relation/relation/class/test_recursive_type.rb
790
831
  - spec/unit/alf-relation/relation/class/test_type.rb
791
832
  - spec/unit/alf-relation/relation/factored-types/test_allbut.rb
@@ -802,6 +843,7 @@ files:
802
843
  - spec/unit/alf-relation/relation/test_hash.rb
803
844
  - spec/unit/alf-relation/relation/test_heading.rb
804
845
  - spec/unit/alf-relation/relation/test_inspect.rb
846
+ - spec/unit/alf-relation/relation/test_keys.rb
805
847
  - spec/unit/alf-relation/relation/test_relation.rb
806
848
  - spec/unit/alf-relation/relation/test_relops.rb
807
849
  - spec/unit/alf-relation/relation/test_sugar.rb
@@ -838,13 +880,13 @@ files:
838
880
  - spec/unit/alf-relvar/base/test_insert.rb
839
881
  - spec/unit/alf-relvar/base/test_keys.rb
840
882
  - spec/unit/alf-relvar/base/test_lock.rb
841
- - spec/unit/alf-relvar/base/test_name.rb
842
883
  - spec/unit/alf-relvar/base/test_oo_lang.rb
843
884
  - spec/unit/alf-relvar/base/test_to_cog.rb
844
885
  - spec/unit/alf-relvar/base/test_to_lispy.rb
845
886
  - spec/unit/alf-relvar/base/test_to_relvar.rb
846
887
  - spec/unit/alf-relvar/base/test_to_s.rb
847
888
  - spec/unit/alf-relvar/base/test_update.rb
889
+ - spec/unit/alf-relvar/read_only/test_to_relation.rb
848
890
  - spec/unit/alf-relvar/read_only/test_type.rb
849
891
  - spec/unit/alf-relvar/shared/test_empty.rb
850
892
  - spec/unit/alf-relvar/shared/test_empty_bang.rb
@@ -852,7 +894,6 @@ files:
852
894
  - spec/unit/alf-relvar/shared/test_to_relation.rb
853
895
  - spec/unit/alf-relvar/shared/test_type.rb
854
896
  - spec/unit/alf-relvar/shared/test_upsert.rb
855
- - spec/unit/alf-relvar/virtual/test_connection.rb
856
897
  - spec/unit/alf-relvar/virtual/test_delete.rb
857
898
  - spec/unit/alf-relvar/virtual/test_expr.rb
858
899
  - spec/unit/alf-relvar/virtual/test_heading.rb
@@ -864,10 +905,6 @@ files:
864
905
  - spec/unit/alf-relvar/virtual/test_to_relvar.rb
865
906
  - spec/unit/alf-relvar/virtual/test_to_s.rb
866
907
  - spec/unit/alf-relvar/virtual/test_update.rb
867
- - spec/unit/alf-support/bindable/test_bind.rb
868
- - spec/unit/alf-support/bindable/test_bound.rb
869
- - spec/unit/alf-support/bindable/test_connection.rb
870
- - spec/unit/alf-support/bindable/test_connection_bang.rb
871
908
  - spec/unit/alf-support/config/test_dup.rb
872
909
  - spec/unit/alf-support/config/test_freeze.rb
873
910
  - spec/unit/alf-support/config/test_hash_get.rb
@@ -947,6 +984,7 @@ files:
947
984
  - spec/unit/alf-types/ordering/test_compare.rb
948
985
  - spec/unit/alf-types/ordering/test_dive.rb
949
986
  - spec/unit/alf-types/ordering/test_hash_get.rb
987
+ - spec/unit/alf-types/ordering/test_lte.rb
950
988
  - spec/unit/alf-types/ordering/test_merge.rb
951
989
  - spec/unit/alf-types/ordering/test_reverse.rb
952
990
  - spec/unit/alf-types/ordering/test_selectors.rb
@@ -983,6 +1021,8 @@ files:
983
1021
  - spec/unit/alf-types/test_tuple_computation.rb
984
1022
  - spec/unit/alf-types/test_tuple_expression.rb
985
1023
  - spec/unit/alf-types/tuple_computation/test_coerce.rb
1024
+ - spec/unit/alf-types/tuple_computation/test_empty.rb
1025
+ - spec/unit/alf-types/tuple_computation/test_project.rb
986
1026
  - spec/unit/alf-types/tuple_computation/test_to_attr_list.rb
987
1027
  - spec/unit/alf-types/tuple_computation/test_to_heading.rb
988
1028
  - spec/unit/alf-types/tuple_expression/test_coerce.rb
@@ -994,13 +1034,13 @@ files:
994
1034
  - spec/unit/alf-update/deleter/test_defaults.rb
995
1035
  - spec/unit/alf-update/deleter/test_extend.rb
996
1036
  - spec/unit/alf-update/deleter/test_group.rb
1037
+ - spec/unit/alf-update/deleter/test_identifier.rb
997
1038
  - spec/unit/alf-update/deleter/test_intersect.rb
998
1039
  - spec/unit/alf-update/deleter/test_project.rb
999
1040
  - spec/unit/alf-update/deleter/test_rank.rb
1000
1041
  - spec/unit/alf-update/deleter/test_rename.rb
1001
1042
  - spec/unit/alf-update/deleter/test_restrict.rb
1002
1043
  - spec/unit/alf-update/deleter/test_sort.rb
1003
- - spec/unit/alf-update/deleter/test_var_ref.rb
1004
1044
  - spec/unit/alf-update/deleter/test_wrap.rb
1005
1045
  - spec/unit/alf-update/inserter/test_autonum.rb
1006
1046
  - spec/unit/alf-update/inserter/test_clip.rb
@@ -1008,6 +1048,7 @@ files:
1008
1048
  - spec/unit/alf-update/inserter/test_defaults.rb
1009
1049
  - spec/unit/alf-update/inserter/test_extend.rb
1010
1050
  - spec/unit/alf-update/inserter/test_group.rb
1051
+ - spec/unit/alf-update/inserter/test_identifier.rb
1011
1052
  - spec/unit/alf-update/inserter/test_intersect.rb
1012
1053
  - spec/unit/alf-update/inserter/test_join.rb
1013
1054
  - spec/unit/alf-update/inserter/test_matching.rb
@@ -1018,11 +1059,9 @@ files:
1018
1059
  - spec/unit/alf-update/inserter/test_rename.rb
1019
1060
  - spec/unit/alf-update/inserter/test_restrict.rb
1020
1061
  - spec/unit/alf-update/inserter/test_sort.rb
1021
- - spec/unit/alf-update/inserter/test_type_safe.rb
1022
1062
  - spec/unit/alf-update/inserter/test_union.rb
1023
- - spec/unit/alf-update/inserter/test_var_ref.rb
1024
1063
  - spec/unit/alf-update/inserter/test_wrap.rb
1025
- - spec/unit/alf-update/updater/test_var_ref.rb
1064
+ - spec/unit/alf-update/updater/test_identifier.rb
1026
1065
  - spec/unit/alf-viewpoint/metadata/test_add_members.rb
1027
1066
  - spec/unit/alf-viewpoint/metadata/test_all_members.rb
1028
1067
  - spec/unit/alf-viewpoint/metadata/test_depends.rb
@@ -1054,7 +1093,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1054
1093
  version: '0'
1055
1094
  segments:
1056
1095
  - 0
1057
- hash: 4082088345707548282
1096
+ hash: -2481371904004844195
1058
1097
  required_rubygems_version: !ruby/object:Gem::Requirement
1059
1098
  none: false
1060
1099
  requirements:
@@ -1068,16 +1107,15 @@ signing_key:
1068
1107
  specification_version: 3
1069
1108
  summary: Relational Algebra at your fingertips
1070
1109
  test_files:
1110
+ - spec/compiler_helper.rb
1071
1111
  - spec/integration/__database__/group.alf
1072
1112
  - spec/integration/__database__/parts.rash
1073
1113
  - spec/integration/__database__/suppliers.rash
1074
1114
  - spec/integration/__database__/suppliers_csv.csv
1075
1115
  - spec/integration/__database__/supplies.rash
1076
- - spec/integration/algebra/test_to_dot.rb
1077
1116
  - spec/integration/ext/test_relation.rb
1078
1117
  - spec/integration/relation/test_extend.rb
1079
1118
  - spec/integration/relation/test_to_array.rb
1080
- - spec/integration/relvar/test_type_safe.rb
1081
1119
  - spec/integration/test_alf.rb
1082
1120
  - spec/integration/test_examples.rb
1083
1121
  - spec/optimizer_helper.rb
@@ -1093,6 +1131,7 @@ test_files:
1093
1131
  - spec/shared/a_value.rb
1094
1132
  - spec/shared/an_operator_class.rb
1095
1133
  - spec/spec_helper.rb
1134
+ - spec/type_check_helper.rb
1096
1135
  - spec/unit/alf-adapter/adapter/test_factor.rb
1097
1136
  - spec/unit/alf-adapter/connection/schema_cached/test_delegate.rb
1098
1137
  - spec/unit/alf-adapter/connection/schema_cached/test_heading.rb
@@ -1117,18 +1156,29 @@ test_files:
1117
1156
  - spec/unit/alf-aggregator/test_stddev.rb
1118
1157
  - spec/unit/alf-aggregator/test_sum.rb
1119
1158
  - spec/unit/alf-aggregator/test_variance.rb
1159
+ - spec/unit/alf-algebra/operand/named/test_hash_and_equal.rb
1120
1160
  - spec/unit/alf-algebra/operand/named/test_keys.rb
1161
+ - spec/unit/alf-algebra/operand/named/test_to_ascii_tree.rb
1162
+ - spec/unit/alf-algebra/operand/named/test_to_cog.rb
1121
1163
  - spec/unit/alf-algebra/operand/named/test_to_relvar.rb
1164
+ - spec/unit/alf-algebra/operand/named/test_type_check.rb
1165
+ - spec/unit/alf-algebra/operand/proxy/test_to_cog.rb
1122
1166
  - spec/unit/alf-algebra/operand/test_coerce.rb
1123
1167
  - spec/unit/alf-algebra/operand/test_proxy.rb
1124
1168
  - spec/unit/alf-algebra/operator/allbut/test_key_preserving.rb
1125
1169
  - spec/unit/alf-algebra/operator/allbut/test_keys.rb
1170
+ - spec/unit/alf-algebra/operator/allbut/test_type_check.rb
1126
1171
  - spec/unit/alf-algebra/operator/autonum/test_heading.rb
1127
1172
  - spec/unit/alf-algebra/operator/autonum/test_keys.rb
1173
+ - spec/unit/alf-algebra/operator/autonum/test_type_check.rb
1128
1174
  - spec/unit/alf-algebra/operator/clip/test_heading.rb
1129
1175
  - spec/unit/alf-algebra/operator/clip/test_keys.rb
1176
+ - spec/unit/alf-algebra/operator/clip/test_type_check.rb
1130
1177
  - spec/unit/alf-algebra/operator/coerce/test_heading.rb
1131
1178
  - spec/unit/alf-algebra/operator/coerce/test_keys.rb
1179
+ - spec/unit/alf-algebra/operator/coerce/test_type_check.rb
1180
+ - spec/unit/alf-algebra/operator/commons/test_resulting_type.rb
1181
+ - spec/unit/alf-algebra/operator/commons/test_to_ascii_tree.rb
1132
1182
  - spec/unit/alf-algebra/operator/commons/test_with_operands.rb
1133
1183
  - spec/unit/alf-algebra/operator/compact/test_heading.rb
1134
1184
  - spec/unit/alf-algebra/operator/compact/test_keys.rb
@@ -1136,38 +1186,55 @@ test_files:
1136
1186
  - spec/unit/alf-algebra/operator/defaults/test_keys.rb
1137
1187
  - spec/unit/alf-algebra/operator/extend/test_heading.rb
1138
1188
  - spec/unit/alf-algebra/operator/extend/test_keys.rb
1189
+ - spec/unit/alf-algebra/operator/extend/test_type_check.rb
1190
+ - spec/unit/alf-algebra/operator/frame/test_type_check.rb
1139
1191
  - spec/unit/alf-algebra/operator/generator/test_heading.rb
1140
1192
  - spec/unit/alf-algebra/operator/generator/test_keys.rb
1141
1193
  - spec/unit/alf-algebra/operator/group/test_heading.rb
1142
1194
  - spec/unit/alf-algebra/operator/group/test_keys.rb
1195
+ - spec/unit/alf-algebra/operator/group/test_type_check.rb
1143
1196
  - spec/unit/alf-algebra/operator/hierarchize/test_heading.rb
1144
- - spec/unit/alf-algebra/operator/infer_heading/test_keys.rb
1197
+ - spec/unit/alf-algebra/operator/hierarchize/test_type_check.rb
1145
1198
  - spec/unit/alf-algebra/operator/intersect/test_heading.rb
1146
1199
  - spec/unit/alf-algebra/operator/intersect/test_keys.rb
1200
+ - spec/unit/alf-algebra/operator/intersect/test_type_check.rb
1147
1201
  - spec/unit/alf-algebra/operator/join/test_heading.rb
1148
1202
  - spec/unit/alf-algebra/operator/join/test_keys.rb
1203
+ - spec/unit/alf-algebra/operator/join/test_type_check.rb
1149
1204
  - spec/unit/alf-algebra/operator/matching/test_heading.rb
1150
1205
  - spec/unit/alf-algebra/operator/matching/test_keys.rb
1206
+ - spec/unit/alf-algebra/operator/matching/test_type_check.rb
1151
1207
  - spec/unit/alf-algebra/operator/minus/test_heading.rb
1152
1208
  - spec/unit/alf-algebra/operator/minus/test_keys.rb
1209
+ - spec/unit/alf-algebra/operator/minus/test_type_check.rb
1153
1210
  - spec/unit/alf-algebra/operator/not_matching/test_heading.rb
1154
1211
  - spec/unit/alf-algebra/operator/not_matching/test_keys.rb
1212
+ - spec/unit/alf-algebra/operator/not_matching/test_type_check.rb
1213
+ - spec/unit/alf-algebra/operator/page/test_type_check.rb
1155
1214
  - spec/unit/alf-algebra/operator/project/test_heading.rb
1156
1215
  - spec/unit/alf-algebra/operator/project/test_key_preserving.rb
1157
1216
  - spec/unit/alf-algebra/operator/project/test_keys.rb
1217
+ - spec/unit/alf-algebra/operator/project/test_type_check.rb
1158
1218
  - spec/unit/alf-algebra/operator/quota/test_heading.rb
1159
1219
  - spec/unit/alf-algebra/operator/quota/test_keys.rb
1220
+ - spec/unit/alf-algebra/operator/quota/test_type_check.rb
1160
1221
  - spec/unit/alf-algebra/operator/rank/test_heading.rb
1161
1222
  - spec/unit/alf-algebra/operator/rank/test_keys.rb
1223
+ - spec/unit/alf-algebra/operator/rank/test_type_check.rb
1162
1224
  - spec/unit/alf-algebra/operator/rename/test_complete_renaming.rb
1163
1225
  - spec/unit/alf-algebra/operator/rename/test_heading.rb
1164
1226
  - spec/unit/alf-algebra/operator/rename/test_keys.rb
1227
+ - spec/unit/alf-algebra/operator/rename/test_type_check.rb
1165
1228
  - spec/unit/alf-algebra/operator/restrict/test_heading.rb
1166
1229
  - spec/unit/alf-algebra/operator/restrict/test_keys.rb
1230
+ - spec/unit/alf-algebra/operator/restrict/test_type_check.rb
1231
+ - spec/unit/alf-algebra/operator/shared/test_to_cog.rb
1167
1232
  - spec/unit/alf-algebra/operator/sort/test_heading.rb
1168
1233
  - spec/unit/alf-algebra/operator/sort/test_keys.rb
1234
+ - spec/unit/alf-algebra/operator/sort/test_type_check.rb
1169
1235
  - spec/unit/alf-algebra/operator/summarize/test_heading.rb
1170
1236
  - spec/unit/alf-algebra/operator/summarize/test_keys.rb
1237
+ - spec/unit/alf-algebra/operator/summarize/test_type_check.rb
1171
1238
  - spec/unit/alf-algebra/operator/test_autonum.rb
1172
1239
  - spec/unit/alf-algebra/operator/test_clip.rb
1173
1240
  - spec/unit/alf-algebra/operator/test_coerce.rb
@@ -1176,7 +1243,7 @@ test_files:
1176
1243
  - spec/unit/alf-algebra/operator/test_extend.rb
1177
1244
  - spec/unit/alf-algebra/operator/test_generator.rb
1178
1245
  - spec/unit/alf-algebra/operator/test_group.rb
1179
- - spec/unit/alf-algebra/operator/test_infer_heading.rb
1246
+ - spec/unit/alf-algebra/operator/test_hash_and_equal.rb
1180
1247
  - spec/unit/alf-algebra/operator/test_intersect.rb
1181
1248
  - spec/unit/alf-algebra/operator/test_join.rb
1182
1249
  - spec/unit/alf-algebra/operator/test_minus.rb
@@ -1192,16 +1259,18 @@ test_files:
1192
1259
  - spec/unit/alf-algebra/operator/test_union.rb
1193
1260
  - spec/unit/alf-algebra/operator/test_unwrap.rb
1194
1261
  - spec/unit/alf-algebra/operator/test_wrap.rb
1195
- - spec/unit/alf-algebra/operator/type_safe/test_heading.rb
1196
- - spec/unit/alf-algebra/operator/type_safe/test_keys.rb
1197
1262
  - spec/unit/alf-algebra/operator/ungroup/test_heading.rb
1198
1263
  - spec/unit/alf-algebra/operator/ungroup/test_keys.rb
1264
+ - spec/unit/alf-algebra/operator/ungroup/test_type_check.rb
1199
1265
  - spec/unit/alf-algebra/operator/union/test_heading.rb
1200
1266
  - spec/unit/alf-algebra/operator/union/test_keys.rb
1267
+ - spec/unit/alf-algebra/operator/union/test_type_check.rb
1201
1268
  - spec/unit/alf-algebra/operator/unwrap/test_heading.rb
1202
1269
  - spec/unit/alf-algebra/operator/unwrap/test_keys.rb
1270
+ - spec/unit/alf-algebra/operator/unwrap/test_type_check.rb
1203
1271
  - spec/unit/alf-algebra/operator/wrap/test_heading.rb
1204
1272
  - spec/unit/alf-algebra/operator/wrap/test_keys.rb
1273
+ - spec/unit/alf-algebra/operator/wrap/test_type_check.rb
1205
1274
  - spec/unit/alf-algebra/support/binary/test_with_left.rb
1206
1275
  - spec/unit/alf-algebra/support/binary/test_with_right.rb
1207
1276
  - spec/unit/alf-algebra/support/signature/test_collect_on.rb
@@ -1216,6 +1285,37 @@ test_files:
1216
1285
  - spec/unit/alf-algebra/support/with_ordering/test_total_ordering.rb
1217
1286
  - spec/unit/alf-algebra/test_operator.rb
1218
1287
  - spec/unit/alf-algebra/test_rewriter.rb
1288
+ - spec/unit/alf-compiler/default/test_allbut.rb
1289
+ - spec/unit/alf-compiler/default/test_autonum.rb
1290
+ - spec/unit/alf-compiler/default/test_clip.rb
1291
+ - spec/unit/alf-compiler/default/test_coerce.rb
1292
+ - spec/unit/alf-compiler/default/test_compact.rb
1293
+ - spec/unit/alf-compiler/default/test_completude.rb
1294
+ - spec/unit/alf-compiler/default/test_defaults.rb
1295
+ - spec/unit/alf-compiler/default/test_extend.rb
1296
+ - spec/unit/alf-compiler/default/test_frame.rb
1297
+ - spec/unit/alf-compiler/default/test_generator.rb
1298
+ - spec/unit/alf-compiler/default/test_group.rb
1299
+ - spec/unit/alf-compiler/default/test_hierarchize.rb
1300
+ - spec/unit/alf-compiler/default/test_intersect.rb
1301
+ - spec/unit/alf-compiler/default/test_join.rb
1302
+ - spec/unit/alf-compiler/default/test_matching.rb
1303
+ - spec/unit/alf-compiler/default/test_minus.rb
1304
+ - spec/unit/alf-compiler/default/test_not_matching.rb
1305
+ - spec/unit/alf-compiler/default/test_page.rb
1306
+ - spec/unit/alf-compiler/default/test_project.rb
1307
+ - spec/unit/alf-compiler/default/test_quota.rb
1308
+ - spec/unit/alf-compiler/default/test_rank.rb
1309
+ - spec/unit/alf-compiler/default/test_rename.rb
1310
+ - spec/unit/alf-compiler/default/test_restrict.rb
1311
+ - spec/unit/alf-compiler/default/test_sort.rb
1312
+ - spec/unit/alf-compiler/default/test_summarize.rb
1313
+ - spec/unit/alf-compiler/default/test_ungroup.rb
1314
+ - spec/unit/alf-compiler/default/test_union.rb
1315
+ - spec/unit/alf-compiler/default/test_unwrap.rb
1316
+ - spec/unit/alf-compiler/default/test_wrap.rb
1317
+ - spec/unit/alf-compiler/shared/compiled_examples.rb
1318
+ - spec/unit/alf-compiler/test_principle.rb
1219
1319
  - spec/unit/alf-core/alf/example.rash
1220
1320
  - spec/unit/alf-core/alf/test_connect.rb
1221
1321
  - spec/unit/alf-core/alf/test_database.rb
@@ -1246,16 +1346,14 @@ test_files:
1246
1346
  - spec/unit/alf-database/options/test_freeze.rb
1247
1347
  - spec/unit/alf-database/options/test_merge.rb
1248
1348
  - spec/unit/alf-database/options/test_new.rb
1349
+ - spec/unit/alf-database/options/test_parser.rb
1249
1350
  - spec/unit/alf-database/options/test_schema_cache.rb
1250
1351
  - spec/unit/alf-database/options/test_viewpoint.rb
1251
1352
  - spec/unit/alf-database/shared_examples/a_facade_on_database_options.rb
1353
+ - spec/unit/alf-engine/cog/test_to_ascii_tree.rb
1252
1354
  - spec/unit/alf-engine/cog/test_to_cog.rb
1253
1355
  - spec/unit/alf-engine/compact/test_set.rb
1254
1356
  - spec/unit/alf-engine/compact/test_uniq.rb
1255
- - spec/unit/alf-engine/compiler/test_on_frame.rb
1256
- - spec/unit/alf-engine/compiler/test_on_hierarchize.rb
1257
- - spec/unit/alf-engine/compiler/test_on_page.rb
1258
- - spec/unit/alf-engine/compiler/test_unsupported.rb
1259
1357
  - spec/unit/alf-engine/group/test_hash.rb
1260
1358
  - spec/unit/alf-engine/hierarchize/test_renamer.rb
1261
1359
  - spec/unit/alf-engine/infer_heading/test_heading.rb
@@ -1297,6 +1395,7 @@ test_files:
1297
1395
  - spec/unit/alf-io/reader/test_json.rb
1298
1396
  - spec/unit/alf-io/reader/test_rash.rb
1299
1397
  - spec/unit/alf-io/reader/test_ruby.rb
1398
+ - spec/unit/alf-io/reader/test_yaml.rb
1300
1399
  - spec/unit/alf-io/renderer/class/test_by_mime_type.rb
1301
1400
  - spec/unit/alf-io/renderer/test_csv.rb
1302
1401
  - spec/unit/alf-io/renderer/test_initialize.rb
@@ -1315,15 +1414,17 @@ test_files:
1315
1414
  - spec/unit/alf-lang/functional/test_aggregation.rb
1316
1415
  - spec/unit/alf-lang/functional/test_relation.rb
1317
1416
  - spec/unit/alf-lang/functional/test_tuple.rb
1318
- - spec/unit/alf-lang/lispy/test_connection_bang.rb
1319
- - spec/unit/alf-lang/lispy/test_parse.rb
1320
- - spec/unit/alf-lang/lispy/test_to_s.rb
1321
1417
  - spec/unit/alf-lang/object_oriented/test_rendering_methods.rb
1322
1418
  - spec/unit/alf-lang/object_oriented/test_to_array.rb
1323
1419
  - spec/unit/alf-lang/object_oriented/test_to_rash.rb
1324
1420
  - spec/unit/alf-lang/object_oriented/test_tuple_extract.rb
1421
+ - spec/unit/alf-lang/parser/lispy/test_connection_bang.rb
1422
+ - spec/unit/alf-lang/parser/lispy/test_parse.rb
1423
+ - spec/unit/alf-lang/parser/lispy/test_to_s.rb
1424
+ - spec/unit/alf-lang/parser/safer/safe.txt
1425
+ - spec/unit/alf-lang/parser/safer/test_parse.rb
1426
+ - spec/unit/alf-lang/parser/safer/unsafe.txt
1325
1427
  - spec/unit/alf-lang/test_predicates.rb
1326
- - spec/unit/alf-optimizer/optimizer/test_optimizer.rb
1327
1428
  - spec/unit/alf-optimizer/optimizer/test_search.rb
1328
1429
  - spec/unit/alf-optimizer/restrict/test_on_autonum.rb
1329
1430
  - spec/unit/alf-optimizer/restrict/test_on_coerce.rb
@@ -1341,7 +1442,6 @@ test_files:
1341
1442
  - spec/unit/alf-optimizer/test_extend.rb
1342
1443
  - spec/unit/alf-optimizer/test_generator.rb
1343
1444
  - spec/unit/alf-optimizer/test_group.rb
1344
- - spec/unit/alf-optimizer/test_infer_heading.rb
1345
1445
  - spec/unit/alf-optimizer/test_intersect.rb
1346
1446
  - spec/unit/alf-optimizer/test_minus.rb
1347
1447
  - spec/unit/alf-optimizer/test_project.rb
@@ -1364,6 +1464,7 @@ test_files:
1364
1464
  - spec/unit/alf-predicate/factory/test_factor_predicate.rb
1365
1465
  - spec/unit/alf-predicate/factory/test_gt.rb
1366
1466
  - spec/unit/alf-predicate/factory/test_gte.rb
1467
+ - spec/unit/alf-predicate/factory/test_identifier.rb
1367
1468
  - spec/unit/alf-predicate/factory/test_in.rb
1368
1469
  - spec/unit/alf-predicate/factory/test_literal.rb
1369
1470
  - spec/unit/alf-predicate/factory/test_lt.rb
@@ -1372,17 +1473,20 @@ test_files:
1372
1473
  - spec/unit/alf-predicate/factory/test_neq.rb
1373
1474
  - spec/unit/alf-predicate/factory/test_not.rb
1374
1475
  - spec/unit/alf-predicate/factory/test_or.rb
1476
+ - spec/unit/alf-predicate/factory/test_qualified_identifier.rb
1375
1477
  - spec/unit/alf-predicate/factory/test_tautology.rb
1376
- - spec/unit/alf-predicate/factory/test_var_ref.rb
1377
1478
  - spec/unit/alf-predicate/grammar/test_match.rb
1378
- - spec/unit/alf-predicate/grammar/test_parse.rb
1379
1479
  - spec/unit/alf-predicate/grammar/test_sexpr.rb
1380
1480
  - spec/unit/alf-predicate/nodes/and/test_and_split.rb
1381
1481
  - spec/unit/alf-predicate/nodes/dyadic_comp/test_and_split.rb
1482
+ - spec/unit/alf-predicate/nodes/identifier/test_and_split.rb
1483
+ - spec/unit/alf-predicate/nodes/identifier/test_free_variables.rb
1484
+ - spec/unit/alf-predicate/nodes/identifier/test_name.rb
1382
1485
  - spec/unit/alf-predicate/nodes/nadic_bool/test_free_variables.rb
1383
- - spec/unit/alf-predicate/nodes/var_ref/test_and_split.rb
1384
- - spec/unit/alf-predicate/nodes/var_ref/test_free_variables.rb
1385
- - spec/unit/alf-predicate/nodes/var_ref/test_var_name.rb
1486
+ - spec/unit/alf-predicate/nodes/qualified_identifier/test_and_split.rb
1487
+ - spec/unit/alf-predicate/nodes/qualified_identifier/test_free_variables.rb
1488
+ - spec/unit/alf-predicate/nodes/qualified_identifier/test_name.rb
1489
+ - spec/unit/alf-predicate/nodes/qualified_identifier/test_qualifier.rb
1386
1490
  - spec/unit/alf-predicate/predicate/test_and_split.rb
1387
1491
  - spec/unit/alf-predicate/predicate/test_bool_and.rb
1388
1492
  - spec/unit/alf-predicate/predicate/test_bool_not.rb
@@ -1394,6 +1498,7 @@ test_files:
1394
1498
  - spec/unit/alf-predicate/predicate/test_factory_methods.rb
1395
1499
  - spec/unit/alf-predicate/predicate/test_free_variables.rb
1396
1500
  - spec/unit/alf-predicate/predicate/test_hash_and_equal.rb
1501
+ - spec/unit/alf-predicate/predicate/test_qualify.rb
1397
1502
  - spec/unit/alf-predicate/predicate/test_rename.rb
1398
1503
  - spec/unit/alf-predicate/predicate/test_tautology.rb
1399
1504
  - spec/unit/alf-predicate/predicate/test_to_proc.rb
@@ -1401,6 +1506,7 @@ test_files:
1401
1506
  - spec/unit/alf-predicate/predicate/test_to_ruby_literal.rb
1402
1507
  - spec/unit/alf-predicate/test_predicate.rb
1403
1508
  - spec/unit/alf-relation/relation/class/test_coerce.rb
1509
+ - spec/unit/alf-relation/relation/class/test_dum.rb
1404
1510
  - spec/unit/alf-relation/relation/class/test_recursive_type.rb
1405
1511
  - spec/unit/alf-relation/relation/class/test_type.rb
1406
1512
  - spec/unit/alf-relation/relation/factored-types/test_allbut.rb
@@ -1417,6 +1523,7 @@ test_files:
1417
1523
  - spec/unit/alf-relation/relation/test_hash.rb
1418
1524
  - spec/unit/alf-relation/relation/test_heading.rb
1419
1525
  - spec/unit/alf-relation/relation/test_inspect.rb
1526
+ - spec/unit/alf-relation/relation/test_keys.rb
1420
1527
  - spec/unit/alf-relation/relation/test_relation.rb
1421
1528
  - spec/unit/alf-relation/relation/test_relops.rb
1422
1529
  - spec/unit/alf-relation/relation/test_sugar.rb
@@ -1453,13 +1560,13 @@ test_files:
1453
1560
  - spec/unit/alf-relvar/base/test_insert.rb
1454
1561
  - spec/unit/alf-relvar/base/test_keys.rb
1455
1562
  - spec/unit/alf-relvar/base/test_lock.rb
1456
- - spec/unit/alf-relvar/base/test_name.rb
1457
1563
  - spec/unit/alf-relvar/base/test_oo_lang.rb
1458
1564
  - spec/unit/alf-relvar/base/test_to_cog.rb
1459
1565
  - spec/unit/alf-relvar/base/test_to_lispy.rb
1460
1566
  - spec/unit/alf-relvar/base/test_to_relvar.rb
1461
1567
  - spec/unit/alf-relvar/base/test_to_s.rb
1462
1568
  - spec/unit/alf-relvar/base/test_update.rb
1569
+ - spec/unit/alf-relvar/read_only/test_to_relation.rb
1463
1570
  - spec/unit/alf-relvar/read_only/test_type.rb
1464
1571
  - spec/unit/alf-relvar/shared/test_empty.rb
1465
1572
  - spec/unit/alf-relvar/shared/test_empty_bang.rb
@@ -1467,7 +1574,6 @@ test_files:
1467
1574
  - spec/unit/alf-relvar/shared/test_to_relation.rb
1468
1575
  - spec/unit/alf-relvar/shared/test_type.rb
1469
1576
  - spec/unit/alf-relvar/shared/test_upsert.rb
1470
- - spec/unit/alf-relvar/virtual/test_connection.rb
1471
1577
  - spec/unit/alf-relvar/virtual/test_delete.rb
1472
1578
  - spec/unit/alf-relvar/virtual/test_expr.rb
1473
1579
  - spec/unit/alf-relvar/virtual/test_heading.rb
@@ -1479,10 +1585,6 @@ test_files:
1479
1585
  - spec/unit/alf-relvar/virtual/test_to_relvar.rb
1480
1586
  - spec/unit/alf-relvar/virtual/test_to_s.rb
1481
1587
  - spec/unit/alf-relvar/virtual/test_update.rb
1482
- - spec/unit/alf-support/bindable/test_bind.rb
1483
- - spec/unit/alf-support/bindable/test_bound.rb
1484
- - spec/unit/alf-support/bindable/test_connection.rb
1485
- - spec/unit/alf-support/bindable/test_connection_bang.rb
1486
1588
  - spec/unit/alf-support/config/test_dup.rb
1487
1589
  - spec/unit/alf-support/config/test_freeze.rb
1488
1590
  - spec/unit/alf-support/config/test_hash_get.rb
@@ -1562,6 +1664,7 @@ test_files:
1562
1664
  - spec/unit/alf-types/ordering/test_compare.rb
1563
1665
  - spec/unit/alf-types/ordering/test_dive.rb
1564
1666
  - spec/unit/alf-types/ordering/test_hash_get.rb
1667
+ - spec/unit/alf-types/ordering/test_lte.rb
1565
1668
  - spec/unit/alf-types/ordering/test_merge.rb
1566
1669
  - spec/unit/alf-types/ordering/test_reverse.rb
1567
1670
  - spec/unit/alf-types/ordering/test_selectors.rb
@@ -1598,6 +1701,8 @@ test_files:
1598
1701
  - spec/unit/alf-types/test_tuple_computation.rb
1599
1702
  - spec/unit/alf-types/test_tuple_expression.rb
1600
1703
  - spec/unit/alf-types/tuple_computation/test_coerce.rb
1704
+ - spec/unit/alf-types/tuple_computation/test_empty.rb
1705
+ - spec/unit/alf-types/tuple_computation/test_project.rb
1601
1706
  - spec/unit/alf-types/tuple_computation/test_to_attr_list.rb
1602
1707
  - spec/unit/alf-types/tuple_computation/test_to_heading.rb
1603
1708
  - spec/unit/alf-types/tuple_expression/test_coerce.rb
@@ -1609,13 +1714,13 @@ test_files:
1609
1714
  - spec/unit/alf-update/deleter/test_defaults.rb
1610
1715
  - spec/unit/alf-update/deleter/test_extend.rb
1611
1716
  - spec/unit/alf-update/deleter/test_group.rb
1717
+ - spec/unit/alf-update/deleter/test_identifier.rb
1612
1718
  - spec/unit/alf-update/deleter/test_intersect.rb
1613
1719
  - spec/unit/alf-update/deleter/test_project.rb
1614
1720
  - spec/unit/alf-update/deleter/test_rank.rb
1615
1721
  - spec/unit/alf-update/deleter/test_rename.rb
1616
1722
  - spec/unit/alf-update/deleter/test_restrict.rb
1617
1723
  - spec/unit/alf-update/deleter/test_sort.rb
1618
- - spec/unit/alf-update/deleter/test_var_ref.rb
1619
1724
  - spec/unit/alf-update/deleter/test_wrap.rb
1620
1725
  - spec/unit/alf-update/inserter/test_autonum.rb
1621
1726
  - spec/unit/alf-update/inserter/test_clip.rb
@@ -1623,6 +1728,7 @@ test_files:
1623
1728
  - spec/unit/alf-update/inserter/test_defaults.rb
1624
1729
  - spec/unit/alf-update/inserter/test_extend.rb
1625
1730
  - spec/unit/alf-update/inserter/test_group.rb
1731
+ - spec/unit/alf-update/inserter/test_identifier.rb
1626
1732
  - spec/unit/alf-update/inserter/test_intersect.rb
1627
1733
  - spec/unit/alf-update/inserter/test_join.rb
1628
1734
  - spec/unit/alf-update/inserter/test_matching.rb
@@ -1633,11 +1739,9 @@ test_files:
1633
1739
  - spec/unit/alf-update/inserter/test_rename.rb
1634
1740
  - spec/unit/alf-update/inserter/test_restrict.rb
1635
1741
  - spec/unit/alf-update/inserter/test_sort.rb
1636
- - spec/unit/alf-update/inserter/test_type_safe.rb
1637
1742
  - spec/unit/alf-update/inserter/test_union.rb
1638
- - spec/unit/alf-update/inserter/test_var_ref.rb
1639
1743
  - spec/unit/alf-update/inserter/test_wrap.rb
1640
- - spec/unit/alf-update/updater/test_var_ref.rb
1744
+ - spec/unit/alf-update/updater/test_identifier.rb
1641
1745
  - spec/unit/alf-viewpoint/metadata/test_add_members.rb
1642
1746
  - spec/unit/alf-viewpoint/metadata/test_all_members.rb
1643
1747
  - spec/unit/alf-viewpoint/metadata/test_depends.rb