finitio 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +66 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +34 -30
- data/finitio.gemspec +1 -1
- data/lib/finitio.rb +7 -39
- data/lib/finitio/errors.rb +14 -0
- data/lib/finitio/support.rb +4 -1
- data/lib/finitio/support/attribute.rb +13 -7
- data/lib/finitio/support/compilation.rb +55 -0
- data/lib/finitio/support/constraint.rb +46 -0
- data/lib/finitio/support/contract.rb +33 -0
- data/lib/finitio/support/dress_helper.rb +3 -2
- data/lib/finitio/support/heading.rb +57 -17
- data/lib/finitio/support/metadata.rb +20 -0
- data/lib/finitio/support/type_factory.rb +154 -41
- data/lib/finitio/syntax.rb +16 -31
- data/lib/finitio/syntax/expr.rb +56 -0
- data/lib/finitio/syntax/expr/arith_op.rb +22 -0
- data/lib/finitio/syntax/expr/comparison.rb +22 -0
- data/lib/finitio/syntax/expr/fn_call.rb +24 -0
- data/lib/finitio/syntax/expr/identifier.rb +18 -0
- data/lib/finitio/syntax/expr/literal.rb +19 -0
- data/lib/finitio/syntax/expr/logic_dyadic.rb +22 -0
- data/lib/finitio/syntax/expr/logic_not.rb +21 -0
- data/lib/finitio/syntax/expr/oo_call.rb +24 -0
- data/lib/finitio/syntax/expr/parenthesized.rb +20 -0
- data/lib/finitio/syntax/expr/unary_minus_op.rb +21 -0
- data/lib/finitio/syntax/expressions.citrus +129 -0
- data/lib/finitio/syntax/finitio.citrus +10 -208
- data/lib/finitio/syntax/finitio.sexp +5 -1
- data/lib/finitio/syntax/lexer.citrus +91 -0
- data/lib/finitio/syntax/literal.rb +16 -0
- data/lib/finitio/syntax/literal/boolean.rb +22 -0
- data/lib/finitio/syntax/literal/integer.rb +14 -0
- data/lib/finitio/syntax/literal/real.rb +14 -0
- data/lib/finitio/syntax/literal/string.rb +14 -0
- data/lib/finitio/syntax/literals.citrus +44 -0
- data/lib/finitio/syntax/node.rb +53 -0
- data/lib/finitio/syntax/type.rb +28 -0
- data/lib/finitio/syntax/type/ad_type.rb +29 -0
- data/lib/finitio/syntax/{any_type.rb → type/any_type.rb} +1 -1
- data/lib/finitio/syntax/type/attribute.rb +33 -0
- data/lib/finitio/syntax/{builtin_type.rb → type/builtin_type.rb} +3 -1
- data/lib/finitio/syntax/{constraint_def.rb → type/constraint_def.rb} +4 -3
- data/lib/finitio/syntax/type/constraints.rb +17 -0
- data/lib/finitio/syntax/{contract.rb → type/contract.rb} +9 -3
- data/lib/finitio/syntax/{definitions.rb → type/definitions.rb} +1 -0
- data/lib/finitio/syntax/{expression.rb → type/expression.rb} +2 -1
- data/lib/finitio/syntax/{external_pair.rb → type/external_pair.rb} +3 -1
- data/lib/finitio/syntax/type/heading.rb +30 -0
- data/lib/finitio/syntax/{inline_pair.rb → type/inline_pair.rb} +3 -1
- data/lib/finitio/syntax/{lambda_expr.rb → type/lambda_expr.rb} +3 -0
- data/lib/finitio/syntax/type/main_type.rb +18 -0
- data/lib/finitio/syntax/type/metadata.rb +18 -0
- data/lib/finitio/syntax/type/metadata_attr.rb +15 -0
- data/lib/finitio/syntax/{named_constraint.rb → type/named_constraint.rb} +10 -3
- data/lib/finitio/syntax/type/relation_type.rb +24 -0
- data/lib/finitio/syntax/{seq_type.rb → type/seq_type.rb} +3 -0
- data/lib/finitio/syntax/{set_type.rb → type/set_type.rb} +3 -0
- data/lib/finitio/syntax/type/struct_type.rb +17 -0
- data/lib/finitio/syntax/{sub_type.rb → type/sub_type.rb} +3 -0
- data/lib/finitio/syntax/{system.rb → type/system.rb} +5 -4
- data/lib/finitio/syntax/type/tuple_type.rb +24 -0
- data/lib/finitio/syntax/{type_def.rb → type/type_def.rb} +8 -3
- data/lib/finitio/syntax/{type_ref.rb → type/type_ref.rb} +4 -1
- data/lib/finitio/syntax/{union_type.rb → type/union_type.rb} +1 -0
- data/lib/finitio/syntax/{unnamed_constraint.rb → type/unnamed_constraint.rb} +7 -1
- data/lib/finitio/syntax/types.citrus +196 -0
- data/lib/finitio/system.rb +15 -15
- data/lib/finitio/type.rb +38 -6
- data/lib/finitio/type/ad_type.rb +41 -18
- data/lib/finitio/type/alias_type.rb +37 -0
- data/lib/finitio/type/any_type.rb +7 -3
- data/lib/finitio/type/builtin_type.rb +5 -4
- data/lib/finitio/{support → type}/collection_type.rb +3 -4
- data/lib/finitio/type/hash_based_type.rb +91 -0
- data/lib/finitio/type/heading_based_type.rb +28 -0
- data/lib/finitio/type/multi_relation_type.rb +34 -0
- data/lib/finitio/type/multi_tuple_type.rb +29 -0
- data/lib/finitio/type/proxy_type.rb +40 -0
- data/lib/finitio/type/rel_based_type.rb +42 -0
- data/lib/finitio/type/relation_type.rb +6 -47
- data/lib/finitio/type/seq_type.rb +4 -0
- data/lib/finitio/type/set_type.rb +4 -0
- data/lib/finitio/type/struct_type.rb +84 -0
- data/lib/finitio/type/sub_type.rb +25 -22
- data/lib/finitio/type/tuple_type.rb +6 -57
- data/lib/finitio/type/union_type.rb +12 -5
- data/lib/finitio/version.rb +2 -2
- data/spec/{unit/attribute → attribute}/test_equality.rb +8 -5
- data/spec/{unit/attribute → attribute}/test_fetch_on.rb +5 -5
- data/spec/attribute/test_initialize.rb +26 -0
- data/spec/attribute/test_optional.rb +18 -0
- data/spec/attribute/test_required.rb +18 -0
- data/spec/attribute/test_to_name.rb +20 -0
- data/spec/constraint/test_anonymous.rb +20 -0
- data/spec/constraint/test_equality.rb +39 -0
- data/spec/constraint/test_name.rb +20 -0
- data/spec/constraint/test_named.rb +20 -0
- data/spec/constraint/test_triple_equal.rb +13 -0
- data/spec/{unit/qrb/system.q → finitio/system.fio} +0 -0
- data/spec/{unit/qrb → finitio}/test_ast.rb +0 -0
- data/spec/finitio/test_parse.rb +23 -0
- data/spec/{unit/qrb/test_parse.rb → finitio/test_system.rb} +6 -6
- data/spec/heading/test_allow_extra.rb +24 -0
- data/spec/{unit/heading → heading}/test_each.rb +2 -2
- data/spec/heading/test_equality.rb +38 -0
- data/spec/heading/test_hash.rb +38 -0
- data/spec/heading/test_hash_get.rb +17 -0
- data/spec/{unit/heading → heading}/test_initialize.rb +2 -2
- data/spec/heading/test_multi.rb +57 -0
- data/spec/{unit/heading → heading}/test_size.rb +0 -0
- data/spec/heading/test_to_name.rb +58 -0
- data/spec/spec_helper.rb +17 -1
- data/spec/syntax/expr/test_free_variables.rb +46 -0
- data/spec/syntax/expr/test_to_proc_source.rb +43 -0
- data/spec/{unit/syntax → syntax}/nodes/test_ad_type.rb +26 -26
- data/spec/{unit/syntax → syntax}/nodes/test_any_type.rb +2 -2
- data/spec/syntax/nodes/test_attribute.rb +65 -0
- data/spec/{unit/syntax → syntax}/nodes/test_builtin_type.rb +5 -5
- data/spec/{unit/syntax → syntax}/nodes/test_comment.rb +1 -1
- data/spec/{unit/syntax → syntax}/nodes/test_constraint_def.rb +3 -8
- data/spec/{unit/syntax → syntax}/nodes/test_constraints.rb +21 -16
- data/spec/{unit/syntax → syntax}/nodes/test_contract.rb +28 -35
- data/spec/{unit/syntax → syntax}/nodes/test_expression.rb +13 -5
- data/spec/{unit/syntax → syntax}/nodes/test_heading.rb +25 -7
- data/spec/syntax/nodes/test_metadata.rb +28 -0
- data/spec/{unit/syntax → syntax}/nodes/test_named_constraint.rb +8 -8
- data/spec/syntax/nodes/test_relation_type.rb +84 -0
- data/spec/{unit/syntax → syntax}/nodes/test_seq_type.rb +4 -4
- data/spec/{unit/syntax → syntax}/nodes/test_set_type.rb +4 -4
- data/spec/{unit/syntax → syntax}/nodes/test_spacing.rb +1 -1
- data/spec/syntax/nodes/test_struct_type.rb +38 -0
- data/spec/{unit/syntax → syntax}/nodes/test_sub_type.rb +14 -14
- data/spec/{unit/syntax → syntax}/nodes/test_system.rb +3 -3
- data/spec/syntax/nodes/test_tuple_type.rb +94 -0
- data/spec/syntax/nodes/test_type_def.rb +57 -0
- data/spec/{unit/syntax → syntax}/nodes/test_type_ref.rb +3 -3
- data/spec/{unit/syntax → syntax}/nodes/test_union_type.rb +3 -3
- data/spec/{unit/syntax → syntax}/nodes/test_unnamed_constraint.rb +7 -7
- data/spec/syntax/test_compile.rb +41 -0
- data/spec/{unit/syntax → syntax}/test_compile_type.rb +1 -1
- data/spec/{unit/system → system}/test_add_type.rb +6 -6
- data/spec/{unit/system → system}/test_dsl.rb +2 -2
- data/spec/{unit/system → system}/test_dup.rb +4 -4
- data/spec/{unit/system → system}/test_fetch.rb +4 -4
- data/spec/{unit/system → system}/test_get_type.rb +2 -2
- data/spec/{unit/system → system}/test_initialize.rb +0 -0
- data/spec/test_finitio.rb +8 -0
- data/spec/{unit/type → type}/ad_type/test_default_name.rb +1 -2
- data/spec/{unit/type → type}/ad_type/test_dress.rb +19 -9
- data/spec/{unit/type → type}/ad_type/test_include.rb +3 -3
- data/spec/{unit/type → type}/ad_type/test_initialize.rb +15 -8
- data/spec/{unit/type → type}/ad_type/test_name.rb +2 -2
- data/spec/type/alias_type/test_default_name.rb +10 -0
- data/spec/type/alias_type/test_delegation.rb +29 -0
- data/spec/type/alias_type/test_name.rb +10 -0
- data/spec/{unit/type → type}/any_type/test_default_name.rb +1 -1
- data/spec/{unit/type → type}/any_type/test_dress.rb +0 -0
- data/spec/{unit/type → type}/any_type/test_equality.rb +4 -4
- data/spec/{unit/type → type}/any_type/test_include.rb +2 -2
- data/spec/{unit/type → type}/any_type/test_initialize.rb +0 -0
- data/spec/{unit/type → type}/any_type/test_name.rb +2 -2
- data/spec/{unit/type → type}/builtin_type/test_default_name.rb +1 -1
- data/spec/{unit/type → type}/builtin_type/test_dress.rb +3 -3
- data/spec/{unit/type → type}/builtin_type/test_equality.rb +4 -4
- data/spec/{unit/type → type}/builtin_type/test_include.rb +2 -2
- data/spec/{unit/type → type}/builtin_type/test_initialize.rb +1 -1
- data/spec/{unit/type → type}/builtin_type/test_name.rb +2 -2
- data/spec/type/multi_relation_type/test_default_name.rb +19 -0
- data/spec/type/multi_relation_type/test_dress.rb +206 -0
- data/spec/type/multi_relation_type/test_equality.rb +36 -0
- data/spec/type/multi_relation_type/test_include.rb +89 -0
- data/spec/type/multi_relation_type/test_initialize.rb +29 -0
- data/spec/type/multi_relation_type/test_name.rb +27 -0
- data/spec/type/multi_tuple_type/test_default_name.rb +17 -0
- data/spec/type/multi_tuple_type/test_dress.rb +146 -0
- data/spec/type/multi_tuple_type/test_equality.rb +32 -0
- data/spec/type/multi_tuple_type/test_include.rb +73 -0
- data/spec/type/multi_tuple_type/test_initialize.rb +30 -0
- data/spec/type/multi_tuple_type/test_name.rb +24 -0
- data/spec/type/proxy_type/test_delegation.rb +37 -0
- data/spec/type/proxy_type/test_resolve.rb +29 -0
- data/spec/{unit/type → type}/relation_type/test_default_name.rb +0 -0
- data/spec/{unit/type → type}/relation_type/test_dress.rb +24 -24
- data/spec/{unit/type → type}/relation_type/test_equality.rb +6 -6
- data/spec/{unit/type → type}/relation_type/test_include.rb +4 -4
- data/spec/{unit/type → type}/relation_type/test_initialize.rb +2 -2
- data/spec/{unit/type → type}/relation_type/test_name.rb +0 -0
- data/spec/{unit/type → type}/seq_type/test_default_name.rb +0 -0
- data/spec/{unit/type → type}/seq_type/test_dress.rb +5 -5
- data/spec/{unit/type → type}/seq_type/test_equality.rb +4 -4
- data/spec/{unit/type → type}/seq_type/test_include.rb +4 -4
- data/spec/{unit/type → type}/seq_type/test_initialize.rb +3 -3
- data/spec/{unit/type → type}/seq_type/test_name.rb +0 -0
- data/spec/{unit/type → type}/set_type/test_default_name.rb +0 -0
- data/spec/{unit/type → type}/set_type/test_dress.rb +8 -8
- data/spec/{unit/type → type}/set_type/test_equality.rb +4 -4
- data/spec/{unit/type → type}/set_type/test_include.rb +4 -4
- data/spec/{unit/type → type}/set_type/test_initialize.rb +3 -3
- data/spec/{unit/type → type}/set_type/test_name.rb +0 -0
- data/spec/type/struct_type/test_default_name.rb +10 -0
- data/spec/type/struct_type/test_dress.rb +105 -0
- data/spec/type/struct_type/test_equality.rb +28 -0
- data/spec/type/struct_type/test_include.rb +40 -0
- data/spec/type/struct_type/test_initialize.rb +22 -0
- data/spec/type/struct_type/test_name.rb +20 -0
- data/spec/{unit/type → type}/sub_type/test_default_name.rb +2 -2
- data/spec/{unit/type → type}/sub_type/test_dress.rb +14 -14
- data/spec/type/sub_type/test_equality.rb +46 -0
- data/spec/{unit/type → type}/sub_type/test_include.rb +6 -6
- data/spec/type/sub_type/test_initialize.rb +13 -0
- data/spec/{unit/type → type}/sub_type/test_name.rb +4 -4
- data/spec/{unit/type → type}/tuple_type/test_default_name.rb +0 -0
- data/spec/{unit/type → type}/tuple_type/test_dress.rb +18 -18
- data/spec/{unit/type → type}/tuple_type/test_equality.rb +6 -6
- data/spec/{unit/type → type}/tuple_type/test_include.rb +4 -4
- data/spec/{unit/type → type}/tuple_type/test_initialize.rb +4 -4
- data/spec/{unit/type → type}/tuple_type/test_name.rb +0 -0
- data/spec/{unit/type → type}/union_type/test_default_name.rb +0 -0
- data/spec/{unit/type → type}/union_type/test_dress.rb +7 -6
- data/spec/{unit/type → type}/union_type/test_equality.rb +7 -7
- data/spec/{unit/type → type}/union_type/test_include.rb +3 -3
- data/spec/{unit/type → type}/union_type/test_initialize.rb +3 -3
- data/spec/{unit/type → type}/union_type/test_name.rb +0 -0
- data/spec/{unit/type_factory → type_factory}/dsl/test_adt.rb +4 -4
- data/spec/{unit/type_factory → type_factory}/dsl/test_any.rb +1 -1
- data/spec/{unit/type_factory → type_factory}/dsl/test_attribute.rb +16 -2
- data/spec/{unit/type_factory → type_factory}/dsl/test_attributes.rb +1 -1
- data/spec/{unit/type_factory → type_factory}/dsl/test_builtin.rb +3 -3
- data/spec/type_factory/dsl/test_multi_relation.rb +39 -0
- data/spec/type_factory/dsl/test_multi_tuple.rb +37 -0
- data/spec/{unit/type_factory → type_factory}/dsl/test_relation.rb +6 -6
- data/spec/{unit/type_factory → type_factory}/dsl/test_seq.rb +4 -4
- data/spec/{unit/type_factory → type_factory}/dsl/test_set.rb +4 -4
- data/spec/type_factory/dsl/test_struct.rb +45 -0
- data/spec/{unit/type_factory → type_factory}/dsl/test_subtype.rb +10 -8
- data/spec/{unit/type_factory → type_factory}/dsl/test_tuple.rb +5 -5
- data/spec/{unit/type_factory → type_factory}/dsl/test_union.rb +6 -6
- data/spec/{unit/type_factory → type_factory}/factory/test_builtin.rb +1 -1
- data/spec/{unit/type_factory → type_factory}/factory/test_seq_type.rb +2 -2
- data/spec/{unit/type_factory → type_factory}/factory/test_set_type.rb +2 -2
- data/spec/type_factory/factory/test_struct_type.rb +18 -0
- data/spec/{unit/type_factory → type_factory}/factory/test_sub_type.rb +7 -7
- data/spec/{unit/type_factory → type_factory}/factory/test_tuple_type.rb +4 -4
- metadata +398 -286
- data/lib/finitio/data_type.rb +0 -29
- data/lib/finitio/syntax/ad_type.rb +0 -32
- data/lib/finitio/syntax/attribute.rb +0 -15
- data/lib/finitio/syntax/constraints.rb +0 -22
- data/lib/finitio/syntax/heading.rb +0 -19
- data/lib/finitio/syntax/relation_type.rb +0 -15
- data/lib/finitio/syntax/support.rb +0 -13
- data/lib/finitio/syntax/tuple_type.rb +0 -15
- data/spec/acceptance/Finitio/test_default.rb +0 -96
- data/spec/acceptance/Finitio/test_parsing.rb +0 -15
- data/spec/acceptance/ad_type/test_in_finitio.rb +0 -82
- data/spec/acceptance/ad_type/test_in_ruby.rb +0 -60
- data/spec/unit/attribute/test_initialize.rb +0 -13
- data/spec/unit/attribute/test_to_name.rb +0 -10
- data/spec/unit/heading/test_equality.rb +0 -28
- data/spec/unit/heading/test_to_name.rb +0 -32
- data/spec/unit/syntax/nodes/test_attribute.rb +0 -38
- data/spec/unit/syntax/nodes/test_relation_type.rb +0 -59
- data/spec/unit/syntax/nodes/test_tuple_type.rb +0 -59
- data/spec/unit/syntax/nodes/test_type_def.rb +0 -33
- data/spec/unit/test_finitio.rb +0 -15
- data/spec/unit/type/sub_type/test_equality.rb +0 -34
- data/spec/unit/type/sub_type/test_initialize.rb +0 -16
@@ -19,7 +19,7 @@ module Finitio
|
|
19
19
|
it{ should eq(expected) }
|
20
20
|
|
21
21
|
it 'should have the correct name' do
|
22
|
-
subject.name.
|
22
|
+
expect(subject.name).to eq("MySet")
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -36,7 +36,7 @@ module Finitio
|
|
36
36
|
it{ should eq(expected) }
|
37
37
|
|
38
38
|
it 'should have the correct name' do
|
39
|
-
subject.name.
|
39
|
+
expect(subject.name).to eq("MySet")
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
module Finitio
|
3
|
+
describe TypeFactory, "Factory#struct" do
|
4
|
+
|
5
|
+
let(:factory){ TypeFactory.new }
|
6
|
+
|
7
|
+
context 'when used with [Integer, Float]' do
|
8
|
+
subject{ factory.type([Integer, Float]) }
|
9
|
+
|
10
|
+
it{ should be_a(StructType) }
|
11
|
+
|
12
|
+
it 'should have the expected components' do
|
13
|
+
expect(subject.component_types).to eq([intType, floatType])
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
end
|
@@ -9,14 +9,14 @@ module Finitio
|
|
9
9
|
it{ should be_a(SubType) }
|
10
10
|
|
11
11
|
it 'should have the BuiltinType(Fixnum) super type' do
|
12
|
-
subject.super_type.
|
13
|
-
subject.super_type.ruby_type.
|
12
|
+
expect(subject.super_type).to be_a(BuiltinType)
|
13
|
+
expect(subject.super_type.ruby_type).to be(Fixnum)
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should have the correct constraint' do
|
17
|
-
subject.dress(10).
|
18
|
-
|
19
|
-
|
17
|
+
expect(subject.dress(10)).to eq(10)
|
18
|
+
expect{ subject.dress(-12) }.to raise_error(TypeError)
|
19
|
+
expect{ subject.dress(12) }.to raise_error(TypeError)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
@@ -44,8 +44,8 @@ module Finitio
|
|
44
44
|
it { should be_a(SubType) }
|
45
45
|
|
46
46
|
it 'should have the correct constraint' do
|
47
|
-
subject.dress('abc').
|
48
|
-
|
47
|
+
expect(subject.dress('abc')).to eq('abc')
|
48
|
+
expect{ subject.dress('123') }.to raise_error(TypeError)
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
@@ -18,7 +18,7 @@ module Finitio
|
|
18
18
|
it{ should eq(expected) }
|
19
19
|
|
20
20
|
it 'should have the correct name' do
|
21
|
-
subject.name.
|
21
|
+
expect(subject.name).to eq("MyTuple")
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -29,13 +29,13 @@ module Finitio
|
|
29
29
|
|
30
30
|
it 'should have the correct constraint on r' do
|
31
31
|
subject.dress(r: 36)
|
32
|
-
|
32
|
+
expect{
|
33
33
|
subject.dress(r: 543)
|
34
|
-
}.
|
34
|
+
}.to raise_error(TypeError)
|
35
35
|
end
|
36
36
|
|
37
37
|
it 'should have the correct name' do
|
38
|
-
subject.name.
|
38
|
+
expect(subject.name).to eq("MyTuple")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
metadata
CHANGED
@@ -1,32 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: finitio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Bernard Lambeau
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-09-18 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: citrus
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '2.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4.0'
|
22
23
|
type: :runtime
|
23
24
|
prerelease: false
|
24
25
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '2.4'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4.0'
|
30
33
|
description: Implements the Finitio information language in Ruby.
|
31
34
|
email:
|
32
35
|
- blambeau@gmail.com
|
@@ -40,323 +43,432 @@ files:
|
|
40
43
|
- CHANGELOG.md
|
41
44
|
- Gemfile
|
42
45
|
- Gemfile.lock
|
43
|
-
-
|
44
|
-
-
|
46
|
+
- LICENCE.md
|
47
|
+
- Manifest.txt
|
48
|
+
- README.md
|
49
|
+
- Rakefile
|
50
|
+
- finitio.gemspec
|
51
|
+
- lib/finitio.rb
|
45
52
|
- lib/finitio/Finitio/default.fio
|
53
|
+
- lib/finitio/errors.rb
|
54
|
+
- lib/finitio/support.rb
|
46
55
|
- lib/finitio/support/attribute.rb
|
47
|
-
- lib/finitio/support/
|
56
|
+
- lib/finitio/support/compilation.rb
|
57
|
+
- lib/finitio/support/constraint.rb
|
58
|
+
- lib/finitio/support/contract.rb
|
48
59
|
- lib/finitio/support/dress_helper.rb
|
49
60
|
- lib/finitio/support/heading.rb
|
61
|
+
- lib/finitio/support/metadata.rb
|
50
62
|
- lib/finitio/support/type_factory.rb
|
51
|
-
- lib/finitio/
|
52
|
-
- lib/finitio/syntax/
|
53
|
-
- lib/finitio/syntax/
|
54
|
-
- lib/finitio/syntax/
|
55
|
-
- lib/finitio/syntax/
|
56
|
-
- lib/finitio/syntax/
|
57
|
-
- lib/finitio/syntax/
|
58
|
-
- lib/finitio/syntax/
|
59
|
-
- lib/finitio/syntax/
|
60
|
-
- lib/finitio/syntax/
|
61
|
-
- lib/finitio/syntax/
|
63
|
+
- lib/finitio/syntax.rb
|
64
|
+
- lib/finitio/syntax/expr.rb
|
65
|
+
- lib/finitio/syntax/expr/arith_op.rb
|
66
|
+
- lib/finitio/syntax/expr/comparison.rb
|
67
|
+
- lib/finitio/syntax/expr/fn_call.rb
|
68
|
+
- lib/finitio/syntax/expr/identifier.rb
|
69
|
+
- lib/finitio/syntax/expr/literal.rb
|
70
|
+
- lib/finitio/syntax/expr/logic_dyadic.rb
|
71
|
+
- lib/finitio/syntax/expr/logic_not.rb
|
72
|
+
- lib/finitio/syntax/expr/oo_call.rb
|
73
|
+
- lib/finitio/syntax/expr/parenthesized.rb
|
74
|
+
- lib/finitio/syntax/expr/unary_minus_op.rb
|
75
|
+
- lib/finitio/syntax/expressions.citrus
|
62
76
|
- lib/finitio/syntax/finitio.citrus
|
63
77
|
- lib/finitio/syntax/finitio.sexp
|
64
|
-
- lib/finitio/syntax/
|
65
|
-
- lib/finitio/syntax/
|
66
|
-
- lib/finitio/syntax/
|
67
|
-
- lib/finitio/syntax/
|
68
|
-
- lib/finitio/syntax/
|
69
|
-
- lib/finitio/syntax/
|
70
|
-
- lib/finitio/syntax/
|
71
|
-
- lib/finitio/syntax/
|
72
|
-
- lib/finitio/syntax/
|
73
|
-
- lib/finitio/syntax/
|
74
|
-
- lib/finitio/syntax/
|
75
|
-
- lib/finitio/syntax/
|
76
|
-
- lib/finitio/syntax/
|
77
|
-
- lib/finitio/syntax/
|
78
|
-
- lib/finitio/syntax/
|
79
|
-
- lib/finitio/syntax.rb
|
78
|
+
- lib/finitio/syntax/lexer.citrus
|
79
|
+
- lib/finitio/syntax/literal.rb
|
80
|
+
- lib/finitio/syntax/literal/boolean.rb
|
81
|
+
- lib/finitio/syntax/literal/integer.rb
|
82
|
+
- lib/finitio/syntax/literal/real.rb
|
83
|
+
- lib/finitio/syntax/literal/string.rb
|
84
|
+
- lib/finitio/syntax/literals.citrus
|
85
|
+
- lib/finitio/syntax/node.rb
|
86
|
+
- lib/finitio/syntax/type.rb
|
87
|
+
- lib/finitio/syntax/type/ad_type.rb
|
88
|
+
- lib/finitio/syntax/type/any_type.rb
|
89
|
+
- lib/finitio/syntax/type/attribute.rb
|
90
|
+
- lib/finitio/syntax/type/builtin_type.rb
|
91
|
+
- lib/finitio/syntax/type/constraint_def.rb
|
92
|
+
- lib/finitio/syntax/type/constraints.rb
|
93
|
+
- lib/finitio/syntax/type/contract.rb
|
94
|
+
- lib/finitio/syntax/type/definitions.rb
|
95
|
+
- lib/finitio/syntax/type/expression.rb
|
96
|
+
- lib/finitio/syntax/type/external_pair.rb
|
97
|
+
- lib/finitio/syntax/type/heading.rb
|
98
|
+
- lib/finitio/syntax/type/inline_pair.rb
|
99
|
+
- lib/finitio/syntax/type/lambda_expr.rb
|
100
|
+
- lib/finitio/syntax/type/main_type.rb
|
101
|
+
- lib/finitio/syntax/type/metadata.rb
|
102
|
+
- lib/finitio/syntax/type/metadata_attr.rb
|
103
|
+
- lib/finitio/syntax/type/named_constraint.rb
|
104
|
+
- lib/finitio/syntax/type/relation_type.rb
|
105
|
+
- lib/finitio/syntax/type/seq_type.rb
|
106
|
+
- lib/finitio/syntax/type/set_type.rb
|
107
|
+
- lib/finitio/syntax/type/struct_type.rb
|
108
|
+
- lib/finitio/syntax/type/sub_type.rb
|
109
|
+
- lib/finitio/syntax/type/system.rb
|
110
|
+
- lib/finitio/syntax/type/tuple_type.rb
|
111
|
+
- lib/finitio/syntax/type/type_def.rb
|
112
|
+
- lib/finitio/syntax/type/type_ref.rb
|
113
|
+
- lib/finitio/syntax/type/union_type.rb
|
114
|
+
- lib/finitio/syntax/type/unnamed_constraint.rb
|
115
|
+
- lib/finitio/syntax/types.citrus
|
80
116
|
- lib/finitio/system.rb
|
117
|
+
- lib/finitio/type.rb
|
81
118
|
- lib/finitio/type/ad_type.rb
|
119
|
+
- lib/finitio/type/alias_type.rb
|
82
120
|
- lib/finitio/type/any_type.rb
|
83
121
|
- lib/finitio/type/builtin_type.rb
|
122
|
+
- lib/finitio/type/collection_type.rb
|
123
|
+
- lib/finitio/type/hash_based_type.rb
|
124
|
+
- lib/finitio/type/heading_based_type.rb
|
125
|
+
- lib/finitio/type/multi_relation_type.rb
|
126
|
+
- lib/finitio/type/multi_tuple_type.rb
|
127
|
+
- lib/finitio/type/proxy_type.rb
|
128
|
+
- lib/finitio/type/rel_based_type.rb
|
84
129
|
- lib/finitio/type/relation_type.rb
|
85
130
|
- lib/finitio/type/seq_type.rb
|
86
131
|
- lib/finitio/type/set_type.rb
|
132
|
+
- lib/finitio/type/struct_type.rb
|
87
133
|
- lib/finitio/type/sub_type.rb
|
88
134
|
- lib/finitio/type/tuple_type.rb
|
89
135
|
- lib/finitio/type/union_type.rb
|
90
|
-
- lib/finitio/type.rb
|
91
136
|
- lib/finitio/version.rb
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
96
|
-
-
|
97
|
-
-
|
98
|
-
- spec/
|
99
|
-
- spec/
|
100
|
-
- spec/
|
101
|
-
- spec/
|
137
|
+
- spec/attribute/test_equality.rb
|
138
|
+
- spec/attribute/test_fetch_on.rb
|
139
|
+
- spec/attribute/test_initialize.rb
|
140
|
+
- spec/attribute/test_optional.rb
|
141
|
+
- spec/attribute/test_required.rb
|
142
|
+
- spec/attribute/test_to_name.rb
|
143
|
+
- spec/constraint/test_anonymous.rb
|
144
|
+
- spec/constraint/test_equality.rb
|
145
|
+
- spec/constraint/test_name.rb
|
146
|
+
- spec/constraint/test_named.rb
|
147
|
+
- spec/constraint/test_triple_equal.rb
|
148
|
+
- spec/finitio/system.fio
|
149
|
+
- spec/finitio/test_ast.rb
|
150
|
+
- spec/finitio/test_parse.rb
|
151
|
+
- spec/finitio/test_system.rb
|
152
|
+
- spec/heading/test_allow_extra.rb
|
153
|
+
- spec/heading/test_each.rb
|
154
|
+
- spec/heading/test_equality.rb
|
155
|
+
- spec/heading/test_hash.rb
|
156
|
+
- spec/heading/test_hash_get.rb
|
157
|
+
- spec/heading/test_initialize.rb
|
158
|
+
- spec/heading/test_multi.rb
|
159
|
+
- spec/heading/test_size.rb
|
160
|
+
- spec/heading/test_to_name.rb
|
102
161
|
- spec/spec_helper.rb
|
103
|
-
- spec/
|
104
|
-
- spec/
|
105
|
-
- spec/
|
106
|
-
- spec/
|
107
|
-
- spec/
|
108
|
-
- spec/
|
109
|
-
- spec/
|
110
|
-
- spec/
|
111
|
-
- spec/
|
112
|
-
- spec/
|
113
|
-
- spec/
|
114
|
-
- spec/
|
115
|
-
- spec/
|
116
|
-
- spec/
|
117
|
-
- spec/
|
118
|
-
- spec/
|
119
|
-
- spec/
|
120
|
-
- spec/
|
121
|
-
- spec/
|
122
|
-
- spec/
|
123
|
-
- spec/
|
124
|
-
- spec/
|
125
|
-
- spec/
|
126
|
-
- spec/
|
127
|
-
- spec/
|
128
|
-
- spec/
|
129
|
-
- spec/
|
130
|
-
- spec/
|
131
|
-
- spec/
|
132
|
-
- spec/
|
133
|
-
- spec/
|
134
|
-
- spec/
|
135
|
-
- spec/
|
136
|
-
- spec/
|
137
|
-
- spec/
|
138
|
-
- spec/
|
139
|
-
- spec/
|
140
|
-
- spec/
|
141
|
-
- spec/
|
142
|
-
- spec/
|
143
|
-
- spec/
|
144
|
-
- spec/
|
145
|
-
- spec/
|
146
|
-
- spec/
|
147
|
-
- spec/
|
148
|
-
- spec/
|
149
|
-
- spec/
|
150
|
-
- spec/
|
151
|
-
- spec/
|
152
|
-
- spec/
|
153
|
-
- spec/
|
154
|
-
- spec/
|
155
|
-
- spec/
|
156
|
-
- spec/
|
157
|
-
- spec/
|
158
|
-
- spec/
|
159
|
-
- spec/
|
160
|
-
- spec/
|
161
|
-
- spec/
|
162
|
-
- spec/
|
163
|
-
- spec/
|
164
|
-
- spec/
|
165
|
-
- spec/
|
166
|
-
- spec/
|
167
|
-
- spec/
|
168
|
-
- spec/
|
169
|
-
- spec/
|
170
|
-
- spec/
|
171
|
-
- spec/
|
172
|
-
- spec/
|
173
|
-
- spec/
|
174
|
-
- spec/
|
175
|
-
- spec/
|
176
|
-
- spec/
|
177
|
-
- spec/
|
178
|
-
- spec/
|
179
|
-
- spec/
|
180
|
-
- spec/
|
181
|
-
- spec/
|
182
|
-
- spec/
|
183
|
-
- spec/
|
184
|
-
- spec/
|
185
|
-
- spec/
|
186
|
-
- spec/
|
187
|
-
- spec/
|
188
|
-
- spec/
|
189
|
-
- spec/
|
190
|
-
- spec/
|
191
|
-
- spec/
|
192
|
-
- spec/
|
193
|
-
- spec/
|
194
|
-
- spec/
|
195
|
-
- spec/
|
196
|
-
- spec/
|
197
|
-
- spec/
|
198
|
-
- spec/
|
199
|
-
- spec/
|
200
|
-
- spec/
|
201
|
-
- spec/
|
202
|
-
- spec/
|
203
|
-
- spec/
|
204
|
-
- spec/
|
205
|
-
- spec/
|
206
|
-
- spec/
|
207
|
-
- spec/
|
208
|
-
- spec/
|
209
|
-
- spec/
|
210
|
-
- spec/
|
211
|
-
- spec/
|
212
|
-
- spec/
|
213
|
-
- spec/
|
162
|
+
- spec/syntax/expr/test_free_variables.rb
|
163
|
+
- spec/syntax/expr/test_to_proc_source.rb
|
164
|
+
- spec/syntax/nodes/test_ad_type.rb
|
165
|
+
- spec/syntax/nodes/test_any_type.rb
|
166
|
+
- spec/syntax/nodes/test_attribute.rb
|
167
|
+
- spec/syntax/nodes/test_builtin_type.rb
|
168
|
+
- spec/syntax/nodes/test_comment.rb
|
169
|
+
- spec/syntax/nodes/test_constraint_def.rb
|
170
|
+
- spec/syntax/nodes/test_constraints.rb
|
171
|
+
- spec/syntax/nodes/test_contract.rb
|
172
|
+
- spec/syntax/nodes/test_expression.rb
|
173
|
+
- spec/syntax/nodes/test_heading.rb
|
174
|
+
- spec/syntax/nodes/test_metadata.rb
|
175
|
+
- spec/syntax/nodes/test_named_constraint.rb
|
176
|
+
- spec/syntax/nodes/test_relation_type.rb
|
177
|
+
- spec/syntax/nodes/test_seq_type.rb
|
178
|
+
- spec/syntax/nodes/test_set_type.rb
|
179
|
+
- spec/syntax/nodes/test_spacing.rb
|
180
|
+
- spec/syntax/nodes/test_struct_type.rb
|
181
|
+
- spec/syntax/nodes/test_sub_type.rb
|
182
|
+
- spec/syntax/nodes/test_system.rb
|
183
|
+
- spec/syntax/nodes/test_tuple_type.rb
|
184
|
+
- spec/syntax/nodes/test_type_def.rb
|
185
|
+
- spec/syntax/nodes/test_type_ref.rb
|
186
|
+
- spec/syntax/nodes/test_union_type.rb
|
187
|
+
- spec/syntax/nodes/test_unnamed_constraint.rb
|
188
|
+
- spec/syntax/test_compile.rb
|
189
|
+
- spec/syntax/test_compile_type.rb
|
190
|
+
- spec/system/test_add_type.rb
|
191
|
+
- spec/system/test_dsl.rb
|
192
|
+
- spec/system/test_dup.rb
|
193
|
+
- spec/system/test_fetch.rb
|
194
|
+
- spec/system/test_get_type.rb
|
195
|
+
- spec/system/test_initialize.rb
|
196
|
+
- spec/test_finitio.rb
|
197
|
+
- spec/type/ad_type/test_default_name.rb
|
198
|
+
- spec/type/ad_type/test_dress.rb
|
199
|
+
- spec/type/ad_type/test_include.rb
|
200
|
+
- spec/type/ad_type/test_initialize.rb
|
201
|
+
- spec/type/ad_type/test_name.rb
|
202
|
+
- spec/type/alias_type/test_default_name.rb
|
203
|
+
- spec/type/alias_type/test_delegation.rb
|
204
|
+
- spec/type/alias_type/test_name.rb
|
205
|
+
- spec/type/any_type/test_default_name.rb
|
206
|
+
- spec/type/any_type/test_dress.rb
|
207
|
+
- spec/type/any_type/test_equality.rb
|
208
|
+
- spec/type/any_type/test_include.rb
|
209
|
+
- spec/type/any_type/test_initialize.rb
|
210
|
+
- spec/type/any_type/test_name.rb
|
211
|
+
- spec/type/builtin_type/test_default_name.rb
|
212
|
+
- spec/type/builtin_type/test_dress.rb
|
213
|
+
- spec/type/builtin_type/test_equality.rb
|
214
|
+
- spec/type/builtin_type/test_include.rb
|
215
|
+
- spec/type/builtin_type/test_initialize.rb
|
216
|
+
- spec/type/builtin_type/test_name.rb
|
217
|
+
- spec/type/multi_relation_type/test_default_name.rb
|
218
|
+
- spec/type/multi_relation_type/test_dress.rb
|
219
|
+
- spec/type/multi_relation_type/test_equality.rb
|
220
|
+
- spec/type/multi_relation_type/test_include.rb
|
221
|
+
- spec/type/multi_relation_type/test_initialize.rb
|
222
|
+
- spec/type/multi_relation_type/test_name.rb
|
223
|
+
- spec/type/multi_tuple_type/test_default_name.rb
|
224
|
+
- spec/type/multi_tuple_type/test_dress.rb
|
225
|
+
- spec/type/multi_tuple_type/test_equality.rb
|
226
|
+
- spec/type/multi_tuple_type/test_include.rb
|
227
|
+
- spec/type/multi_tuple_type/test_initialize.rb
|
228
|
+
- spec/type/multi_tuple_type/test_name.rb
|
229
|
+
- spec/type/proxy_type/test_delegation.rb
|
230
|
+
- spec/type/proxy_type/test_resolve.rb
|
231
|
+
- spec/type/relation_type/test_default_name.rb
|
232
|
+
- spec/type/relation_type/test_dress.rb
|
233
|
+
- spec/type/relation_type/test_equality.rb
|
234
|
+
- spec/type/relation_type/test_include.rb
|
235
|
+
- spec/type/relation_type/test_initialize.rb
|
236
|
+
- spec/type/relation_type/test_name.rb
|
237
|
+
- spec/type/seq_type/test_default_name.rb
|
238
|
+
- spec/type/seq_type/test_dress.rb
|
239
|
+
- spec/type/seq_type/test_equality.rb
|
240
|
+
- spec/type/seq_type/test_include.rb
|
241
|
+
- spec/type/seq_type/test_initialize.rb
|
242
|
+
- spec/type/seq_type/test_name.rb
|
243
|
+
- spec/type/set_type/test_default_name.rb
|
244
|
+
- spec/type/set_type/test_dress.rb
|
245
|
+
- spec/type/set_type/test_equality.rb
|
246
|
+
- spec/type/set_type/test_include.rb
|
247
|
+
- spec/type/set_type/test_initialize.rb
|
248
|
+
- spec/type/set_type/test_name.rb
|
249
|
+
- spec/type/struct_type/test_default_name.rb
|
250
|
+
- spec/type/struct_type/test_dress.rb
|
251
|
+
- spec/type/struct_type/test_equality.rb
|
252
|
+
- spec/type/struct_type/test_include.rb
|
253
|
+
- spec/type/struct_type/test_initialize.rb
|
254
|
+
- spec/type/struct_type/test_name.rb
|
255
|
+
- spec/type/sub_type/test_default_name.rb
|
256
|
+
- spec/type/sub_type/test_dress.rb
|
257
|
+
- spec/type/sub_type/test_equality.rb
|
258
|
+
- spec/type/sub_type/test_include.rb
|
259
|
+
- spec/type/sub_type/test_initialize.rb
|
260
|
+
- spec/type/sub_type/test_name.rb
|
261
|
+
- spec/type/tuple_type/test_default_name.rb
|
262
|
+
- spec/type/tuple_type/test_dress.rb
|
263
|
+
- spec/type/tuple_type/test_equality.rb
|
264
|
+
- spec/type/tuple_type/test_include.rb
|
265
|
+
- spec/type/tuple_type/test_initialize.rb
|
266
|
+
- spec/type/tuple_type/test_name.rb
|
267
|
+
- spec/type/union_type/test_default_name.rb
|
268
|
+
- spec/type/union_type/test_dress.rb
|
269
|
+
- spec/type/union_type/test_equality.rb
|
270
|
+
- spec/type/union_type/test_include.rb
|
271
|
+
- spec/type/union_type/test_initialize.rb
|
272
|
+
- spec/type/union_type/test_name.rb
|
273
|
+
- spec/type_factory/dsl/test_adt.rb
|
274
|
+
- spec/type_factory/dsl/test_any.rb
|
275
|
+
- spec/type_factory/dsl/test_attribute.rb
|
276
|
+
- spec/type_factory/dsl/test_attributes.rb
|
277
|
+
- spec/type_factory/dsl/test_builtin.rb
|
278
|
+
- spec/type_factory/dsl/test_multi_relation.rb
|
279
|
+
- spec/type_factory/dsl/test_multi_tuple.rb
|
280
|
+
- spec/type_factory/dsl/test_relation.rb
|
281
|
+
- spec/type_factory/dsl/test_seq.rb
|
282
|
+
- spec/type_factory/dsl/test_set.rb
|
283
|
+
- spec/type_factory/dsl/test_struct.rb
|
284
|
+
- spec/type_factory/dsl/test_subtype.rb
|
285
|
+
- spec/type_factory/dsl/test_tuple.rb
|
286
|
+
- spec/type_factory/dsl/test_union.rb
|
287
|
+
- spec/type_factory/factory/test_builtin.rb
|
288
|
+
- spec/type_factory/factory/test_seq_type.rb
|
289
|
+
- spec/type_factory/factory/test_set_type.rb
|
290
|
+
- spec/type_factory/factory/test_struct_type.rb
|
291
|
+
- spec/type_factory/factory/test_sub_type.rb
|
292
|
+
- spec/type_factory/factory/test_tuple_type.rb
|
214
293
|
- tasks/gem.rake
|
215
294
|
- tasks/test.rake
|
216
295
|
homepage: https://github.com/blambeau/finitio
|
217
296
|
licenses: []
|
297
|
+
metadata: {}
|
218
298
|
post_install_message:
|
219
299
|
rdoc_options: []
|
220
300
|
require_paths:
|
221
301
|
- lib
|
222
302
|
required_ruby_version: !ruby/object:Gem::Requirement
|
223
|
-
none: false
|
224
303
|
requirements:
|
225
|
-
- -
|
304
|
+
- - ">="
|
226
305
|
- !ruby/object:Gem::Version
|
227
306
|
version: '0'
|
228
|
-
segments:
|
229
|
-
- 0
|
230
|
-
hash: 2377554315646118506
|
231
307
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
|
-
none: false
|
233
308
|
requirements:
|
234
|
-
- -
|
309
|
+
- - ">="
|
235
310
|
- !ruby/object:Gem::Version
|
236
311
|
version: '0'
|
237
|
-
segments:
|
238
|
-
- 0
|
239
|
-
hash: 2377554315646118506
|
240
312
|
requirements: []
|
241
313
|
rubyforge_project:
|
242
|
-
rubygems_version:
|
314
|
+
rubygems_version: 2.4.5
|
243
315
|
signing_key:
|
244
|
-
specification_version:
|
316
|
+
specification_version: 4
|
245
317
|
summary: Finitio - in Ruby
|
246
318
|
test_files:
|
247
|
-
- spec/
|
248
|
-
- spec/
|
249
|
-
- spec/
|
250
|
-
- spec/
|
319
|
+
- spec/attribute/test_equality.rb
|
320
|
+
- spec/attribute/test_fetch_on.rb
|
321
|
+
- spec/attribute/test_initialize.rb
|
322
|
+
- spec/attribute/test_optional.rb
|
323
|
+
- spec/attribute/test_required.rb
|
324
|
+
- spec/attribute/test_to_name.rb
|
325
|
+
- spec/constraint/test_anonymous.rb
|
326
|
+
- spec/constraint/test_equality.rb
|
327
|
+
- spec/constraint/test_name.rb
|
328
|
+
- spec/constraint/test_named.rb
|
329
|
+
- spec/constraint/test_triple_equal.rb
|
330
|
+
- spec/finitio/system.fio
|
331
|
+
- spec/finitio/test_ast.rb
|
332
|
+
- spec/finitio/test_parse.rb
|
333
|
+
- spec/finitio/test_system.rb
|
334
|
+
- spec/heading/test_allow_extra.rb
|
335
|
+
- spec/heading/test_each.rb
|
336
|
+
- spec/heading/test_equality.rb
|
337
|
+
- spec/heading/test_hash.rb
|
338
|
+
- spec/heading/test_hash_get.rb
|
339
|
+
- spec/heading/test_initialize.rb
|
340
|
+
- spec/heading/test_multi.rb
|
341
|
+
- spec/heading/test_size.rb
|
342
|
+
- spec/heading/test_to_name.rb
|
251
343
|
- spec/spec_helper.rb
|
252
|
-
- spec/
|
253
|
-
- spec/
|
254
|
-
- spec/
|
255
|
-
- spec/
|
256
|
-
- spec/
|
257
|
-
- spec/
|
258
|
-
- spec/
|
259
|
-
- spec/
|
260
|
-
- spec/
|
261
|
-
- spec/
|
262
|
-
- spec/
|
263
|
-
- spec/
|
264
|
-
- spec/
|
265
|
-
- spec/
|
266
|
-
- spec/
|
267
|
-
- spec/
|
268
|
-
- spec/
|
269
|
-
- spec/
|
270
|
-
- spec/
|
271
|
-
- spec/
|
272
|
-
- spec/
|
273
|
-
- spec/
|
274
|
-
- spec/
|
275
|
-
- spec/
|
276
|
-
- spec/
|
277
|
-
- spec/
|
278
|
-
- spec/
|
279
|
-
- spec/
|
280
|
-
- spec/
|
281
|
-
- spec/
|
282
|
-
- spec/
|
283
|
-
- spec/
|
284
|
-
- spec/
|
285
|
-
- spec/
|
286
|
-
- spec/
|
287
|
-
- spec/
|
288
|
-
- spec/
|
289
|
-
- spec/
|
290
|
-
- spec/
|
291
|
-
- spec/
|
292
|
-
- spec/
|
293
|
-
- spec/
|
294
|
-
- spec/
|
295
|
-
- spec/
|
296
|
-
- spec/
|
297
|
-
- spec/
|
298
|
-
- spec/
|
299
|
-
- spec/
|
300
|
-
- spec/
|
301
|
-
- spec/
|
302
|
-
- spec/
|
303
|
-
- spec/
|
304
|
-
- spec/
|
305
|
-
- spec/
|
306
|
-
- spec/
|
307
|
-
- spec/
|
308
|
-
- spec/
|
309
|
-
- spec/
|
310
|
-
- spec/
|
311
|
-
- spec/
|
312
|
-
- spec/
|
313
|
-
- spec/
|
314
|
-
- spec/
|
315
|
-
- spec/
|
316
|
-
- spec/
|
317
|
-
- spec/
|
318
|
-
- spec/
|
319
|
-
- spec/
|
320
|
-
- spec/
|
321
|
-
- spec/
|
322
|
-
- spec/
|
323
|
-
- spec/
|
324
|
-
- spec/
|
325
|
-
- spec/
|
326
|
-
- spec/
|
327
|
-
- spec/
|
328
|
-
- spec/
|
329
|
-
- spec/
|
330
|
-
- spec/
|
331
|
-
- spec/
|
332
|
-
- spec/
|
333
|
-
- spec/
|
334
|
-
- spec/
|
335
|
-
- spec/
|
336
|
-
- spec/
|
337
|
-
- spec/
|
338
|
-
- spec/
|
339
|
-
- spec/
|
340
|
-
- spec/
|
341
|
-
- spec/
|
342
|
-
- spec/
|
343
|
-
- spec/
|
344
|
-
- spec/
|
345
|
-
- spec/
|
346
|
-
- spec/
|
347
|
-
- spec/
|
348
|
-
- spec/
|
349
|
-
- spec/
|
350
|
-
- spec/
|
351
|
-
- spec/
|
352
|
-
- spec/
|
353
|
-
- spec/
|
354
|
-
- spec/
|
355
|
-
- spec/
|
356
|
-
- spec/
|
357
|
-
- spec/
|
358
|
-
- spec/
|
359
|
-
- spec/
|
360
|
-
- spec/
|
361
|
-
- spec/
|
362
|
-
- spec/
|
344
|
+
- spec/syntax/expr/test_free_variables.rb
|
345
|
+
- spec/syntax/expr/test_to_proc_source.rb
|
346
|
+
- spec/syntax/nodes/test_ad_type.rb
|
347
|
+
- spec/syntax/nodes/test_any_type.rb
|
348
|
+
- spec/syntax/nodes/test_attribute.rb
|
349
|
+
- spec/syntax/nodes/test_builtin_type.rb
|
350
|
+
- spec/syntax/nodes/test_comment.rb
|
351
|
+
- spec/syntax/nodes/test_constraint_def.rb
|
352
|
+
- spec/syntax/nodes/test_constraints.rb
|
353
|
+
- spec/syntax/nodes/test_contract.rb
|
354
|
+
- spec/syntax/nodes/test_expression.rb
|
355
|
+
- spec/syntax/nodes/test_heading.rb
|
356
|
+
- spec/syntax/nodes/test_metadata.rb
|
357
|
+
- spec/syntax/nodes/test_named_constraint.rb
|
358
|
+
- spec/syntax/nodes/test_relation_type.rb
|
359
|
+
- spec/syntax/nodes/test_seq_type.rb
|
360
|
+
- spec/syntax/nodes/test_set_type.rb
|
361
|
+
- spec/syntax/nodes/test_spacing.rb
|
362
|
+
- spec/syntax/nodes/test_struct_type.rb
|
363
|
+
- spec/syntax/nodes/test_sub_type.rb
|
364
|
+
- spec/syntax/nodes/test_system.rb
|
365
|
+
- spec/syntax/nodes/test_tuple_type.rb
|
366
|
+
- spec/syntax/nodes/test_type_def.rb
|
367
|
+
- spec/syntax/nodes/test_type_ref.rb
|
368
|
+
- spec/syntax/nodes/test_union_type.rb
|
369
|
+
- spec/syntax/nodes/test_unnamed_constraint.rb
|
370
|
+
- spec/syntax/test_compile.rb
|
371
|
+
- spec/syntax/test_compile_type.rb
|
372
|
+
- spec/system/test_add_type.rb
|
373
|
+
- spec/system/test_dsl.rb
|
374
|
+
- spec/system/test_dup.rb
|
375
|
+
- spec/system/test_fetch.rb
|
376
|
+
- spec/system/test_get_type.rb
|
377
|
+
- spec/system/test_initialize.rb
|
378
|
+
- spec/test_finitio.rb
|
379
|
+
- spec/type/ad_type/test_default_name.rb
|
380
|
+
- spec/type/ad_type/test_dress.rb
|
381
|
+
- spec/type/ad_type/test_include.rb
|
382
|
+
- spec/type/ad_type/test_initialize.rb
|
383
|
+
- spec/type/ad_type/test_name.rb
|
384
|
+
- spec/type/alias_type/test_default_name.rb
|
385
|
+
- spec/type/alias_type/test_delegation.rb
|
386
|
+
- spec/type/alias_type/test_name.rb
|
387
|
+
- spec/type/any_type/test_default_name.rb
|
388
|
+
- spec/type/any_type/test_dress.rb
|
389
|
+
- spec/type/any_type/test_equality.rb
|
390
|
+
- spec/type/any_type/test_include.rb
|
391
|
+
- spec/type/any_type/test_initialize.rb
|
392
|
+
- spec/type/any_type/test_name.rb
|
393
|
+
- spec/type/builtin_type/test_default_name.rb
|
394
|
+
- spec/type/builtin_type/test_dress.rb
|
395
|
+
- spec/type/builtin_type/test_equality.rb
|
396
|
+
- spec/type/builtin_type/test_include.rb
|
397
|
+
- spec/type/builtin_type/test_initialize.rb
|
398
|
+
- spec/type/builtin_type/test_name.rb
|
399
|
+
- spec/type/multi_relation_type/test_default_name.rb
|
400
|
+
- spec/type/multi_relation_type/test_dress.rb
|
401
|
+
- spec/type/multi_relation_type/test_equality.rb
|
402
|
+
- spec/type/multi_relation_type/test_include.rb
|
403
|
+
- spec/type/multi_relation_type/test_initialize.rb
|
404
|
+
- spec/type/multi_relation_type/test_name.rb
|
405
|
+
- spec/type/multi_tuple_type/test_default_name.rb
|
406
|
+
- spec/type/multi_tuple_type/test_dress.rb
|
407
|
+
- spec/type/multi_tuple_type/test_equality.rb
|
408
|
+
- spec/type/multi_tuple_type/test_include.rb
|
409
|
+
- spec/type/multi_tuple_type/test_initialize.rb
|
410
|
+
- spec/type/multi_tuple_type/test_name.rb
|
411
|
+
- spec/type/proxy_type/test_delegation.rb
|
412
|
+
- spec/type/proxy_type/test_resolve.rb
|
413
|
+
- spec/type/relation_type/test_default_name.rb
|
414
|
+
- spec/type/relation_type/test_dress.rb
|
415
|
+
- spec/type/relation_type/test_equality.rb
|
416
|
+
- spec/type/relation_type/test_include.rb
|
417
|
+
- spec/type/relation_type/test_initialize.rb
|
418
|
+
- spec/type/relation_type/test_name.rb
|
419
|
+
- spec/type/seq_type/test_default_name.rb
|
420
|
+
- spec/type/seq_type/test_dress.rb
|
421
|
+
- spec/type/seq_type/test_equality.rb
|
422
|
+
- spec/type/seq_type/test_include.rb
|
423
|
+
- spec/type/seq_type/test_initialize.rb
|
424
|
+
- spec/type/seq_type/test_name.rb
|
425
|
+
- spec/type/set_type/test_default_name.rb
|
426
|
+
- spec/type/set_type/test_dress.rb
|
427
|
+
- spec/type/set_type/test_equality.rb
|
428
|
+
- spec/type/set_type/test_include.rb
|
429
|
+
- spec/type/set_type/test_initialize.rb
|
430
|
+
- spec/type/set_type/test_name.rb
|
431
|
+
- spec/type/struct_type/test_default_name.rb
|
432
|
+
- spec/type/struct_type/test_dress.rb
|
433
|
+
- spec/type/struct_type/test_equality.rb
|
434
|
+
- spec/type/struct_type/test_include.rb
|
435
|
+
- spec/type/struct_type/test_initialize.rb
|
436
|
+
- spec/type/struct_type/test_name.rb
|
437
|
+
- spec/type/sub_type/test_default_name.rb
|
438
|
+
- spec/type/sub_type/test_dress.rb
|
439
|
+
- spec/type/sub_type/test_equality.rb
|
440
|
+
- spec/type/sub_type/test_include.rb
|
441
|
+
- spec/type/sub_type/test_initialize.rb
|
442
|
+
- spec/type/sub_type/test_name.rb
|
443
|
+
- spec/type/tuple_type/test_default_name.rb
|
444
|
+
- spec/type/tuple_type/test_dress.rb
|
445
|
+
- spec/type/tuple_type/test_equality.rb
|
446
|
+
- spec/type/tuple_type/test_include.rb
|
447
|
+
- spec/type/tuple_type/test_initialize.rb
|
448
|
+
- spec/type/tuple_type/test_name.rb
|
449
|
+
- spec/type/union_type/test_default_name.rb
|
450
|
+
- spec/type/union_type/test_dress.rb
|
451
|
+
- spec/type/union_type/test_equality.rb
|
452
|
+
- spec/type/union_type/test_include.rb
|
453
|
+
- spec/type/union_type/test_initialize.rb
|
454
|
+
- spec/type/union_type/test_name.rb
|
455
|
+
- spec/type_factory/dsl/test_adt.rb
|
456
|
+
- spec/type_factory/dsl/test_any.rb
|
457
|
+
- spec/type_factory/dsl/test_attribute.rb
|
458
|
+
- spec/type_factory/dsl/test_attributes.rb
|
459
|
+
- spec/type_factory/dsl/test_builtin.rb
|
460
|
+
- spec/type_factory/dsl/test_multi_relation.rb
|
461
|
+
- spec/type_factory/dsl/test_multi_tuple.rb
|
462
|
+
- spec/type_factory/dsl/test_relation.rb
|
463
|
+
- spec/type_factory/dsl/test_seq.rb
|
464
|
+
- spec/type_factory/dsl/test_set.rb
|
465
|
+
- spec/type_factory/dsl/test_struct.rb
|
466
|
+
- spec/type_factory/dsl/test_subtype.rb
|
467
|
+
- spec/type_factory/dsl/test_tuple.rb
|
468
|
+
- spec/type_factory/dsl/test_union.rb
|
469
|
+
- spec/type_factory/factory/test_builtin.rb
|
470
|
+
- spec/type_factory/factory/test_seq_type.rb
|
471
|
+
- spec/type_factory/factory/test_set_type.rb
|
472
|
+
- spec/type_factory/factory/test_struct_type.rb
|
473
|
+
- spec/type_factory/factory/test_sub_type.rb
|
474
|
+
- spec/type_factory/factory/test_tuple_type.rb
|