expressir 0.2.7-x86-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. checksums.yaml +7 -0
  2. data/.cross_rubies +30 -0
  3. data/.github/workflows/rake.yml +45 -0
  4. data/.github/workflows/release.yml +84 -0
  5. data/.gitignore +17 -0
  6. data/.gitmodules +3 -0
  7. data/.rspec +2 -0
  8. data/.rubocop.yml +508 -0
  9. data/Gemfile +4 -0
  10. data/README.adoc +147 -0
  11. data/Rakefile +11 -0
  12. data/bin/console +12 -0
  13. data/bin/rspec +29 -0
  14. data/bin/setup +8 -0
  15. data/demo.rb +18 -0
  16. data/docs/development.md +90 -0
  17. data/exe/expressir +20 -0
  18. data/exe/generate-parser +48 -0
  19. data/expressir.gemspec +43 -0
  20. data/lib/expressir/cli/ui.rb +36 -0
  21. data/lib/expressir/cli.rb +27 -0
  22. data/lib/expressir/config.rb +23 -0
  23. data/lib/expressir/express/aggregate_dimension.rb +38 -0
  24. data/lib/expressir/express/attribute.rb +15 -0
  25. data/lib/expressir/express/comment.rb +7 -0
  26. data/lib/expressir/express/defined_type.rb +36 -0
  27. data/lib/expressir/express/derived.rb +65 -0
  28. data/lib/expressir/express/derived_aggregate.rb +43 -0
  29. data/lib/expressir/express/entity.rb +137 -0
  30. data/lib/expressir/express/explicit.rb +70 -0
  31. data/lib/expressir/express/explicit_aggregate.rb +46 -0
  32. data/lib/expressir/express/explicit_or_derived.rb +16 -0
  33. data/lib/expressir/express/global_rule.rb +44 -0
  34. data/lib/expressir/express/interface_specification.rb +51 -0
  35. data/lib/expressir/express/interfaced_item.rb +38 -0
  36. data/lib/expressir/express/inverse.rb +46 -0
  37. data/lib/expressir/express/inverse_aggregate.rb +37 -0
  38. data/lib/expressir/express/model_element.rb +7 -0
  39. data/lib/expressir/express/named_type.rb +19 -0
  40. data/lib/expressir/express/remark.rb +8 -0
  41. data/lib/expressir/express/repository.rb +306 -0
  42. data/lib/expressir/express/schema_definition.rb +96 -0
  43. data/lib/expressir/express/subtype_constraint.rb +14 -0
  44. data/lib/expressir/express/type.rb +26 -0
  45. data/lib/expressir/express/type_aggregate.rb +42 -0
  46. data/lib/expressir/express/type_enum.rb +29 -0
  47. data/lib/expressir/express/type_parser.rb +45 -0
  48. data/lib/expressir/express/type_select.rb +82 -0
  49. data/lib/expressir/express/unique_rule.rb +35 -0
  50. data/lib/expressir/express/where_rule.rb +32 -0
  51. data/lib/expressir/express.rb +11 -0
  52. data/lib/expressir/express_exp/2.4/express_parser.so +0 -0
  53. data/lib/expressir/express_exp/2.5/express_parser.so +0 -0
  54. data/lib/expressir/express_exp/2.6/express_parser.so +0 -0
  55. data/lib/expressir/express_exp/2.7/express_parser.so +0 -0
  56. data/lib/expressir/express_exp/3.0/express_parser.so +0 -0
  57. data/lib/expressir/express_exp/formatter.rb +1450 -0
  58. data/lib/expressir/express_exp/parser.rb +41 -0
  59. data/lib/expressir/express_exp/visitor.rb +2464 -0
  60. data/lib/expressir/express_parser.rb +30 -0
  61. data/lib/expressir/model/attribute.rb +27 -0
  62. data/lib/expressir/model/constant.rb +17 -0
  63. data/lib/expressir/model/entity.rb +46 -0
  64. data/lib/expressir/model/enumeration_item.rb +11 -0
  65. data/lib/expressir/model/expressions/aggregate_initializer.rb +13 -0
  66. data/lib/expressir/model/expressions/aggregate_item.rb +15 -0
  67. data/lib/expressir/model/expressions/attribute_reference.rb +15 -0
  68. data/lib/expressir/model/expressions/binary_expression.rb +40 -0
  69. data/lib/expressir/model/expressions/call.rb +15 -0
  70. data/lib/expressir/model/expressions/entity_constructor.rb +15 -0
  71. data/lib/expressir/model/expressions/group_reference.rb +15 -0
  72. data/lib/expressir/model/expressions/index_reference.rb +17 -0
  73. data/lib/expressir/model/expressions/interval.rb +21 -0
  74. data/lib/expressir/model/expressions/query_expression.rb +26 -0
  75. data/lib/expressir/model/expressions/simple_reference.rb +13 -0
  76. data/lib/expressir/model/expressions/unary_expression.rb +19 -0
  77. data/lib/expressir/model/function.rb +62 -0
  78. data/lib/expressir/model/identifier.rb +10 -0
  79. data/lib/expressir/model/interface.rb +18 -0
  80. data/lib/expressir/model/literals/binary.rb +13 -0
  81. data/lib/expressir/model/literals/integer.rb +13 -0
  82. data/lib/expressir/model/literals/logical.rb +17 -0
  83. data/lib/expressir/model/literals/real.rb +13 -0
  84. data/lib/expressir/model/literals/string.rb +15 -0
  85. data/lib/expressir/model/parameter.rb +17 -0
  86. data/lib/expressir/model/procedure.rb +60 -0
  87. data/lib/expressir/model/renamed_ref.rb +13 -0
  88. data/lib/expressir/model/repository.rb +19 -0
  89. data/lib/expressir/model/rule.rb +62 -0
  90. data/lib/expressir/model/schema.rb +67 -0
  91. data/lib/expressir/model/scope.rb +17 -0
  92. data/lib/expressir/model/statements/alias.rb +26 -0
  93. data/lib/expressir/model/statements/assignment.rb +15 -0
  94. data/lib/expressir/model/statements/call.rb +15 -0
  95. data/lib/expressir/model/statements/case.rb +17 -0
  96. data/lib/expressir/model/statements/case_action.rb +15 -0
  97. data/lib/expressir/model/statements/compound.rb +13 -0
  98. data/lib/expressir/model/statements/escape.rb +8 -0
  99. data/lib/expressir/model/statements/if.rb +17 -0
  100. data/lib/expressir/model/statements/null.rb +8 -0
  101. data/lib/expressir/model/statements/repeat.rb +34 -0
  102. data/lib/expressir/model/statements/return.rb +13 -0
  103. data/lib/expressir/model/statements/skip.rb +8 -0
  104. data/lib/expressir/model/subtype_constraint.rb +27 -0
  105. data/lib/expressir/model/type.rb +24 -0
  106. data/lib/expressir/model/types/aggregate.rb +17 -0
  107. data/lib/expressir/model/types/array.rb +21 -0
  108. data/lib/expressir/model/types/bag.rb +17 -0
  109. data/lib/expressir/model/types/binary.rb +15 -0
  110. data/lib/expressir/model/types/boolean.rb +8 -0
  111. data/lib/expressir/model/types/enumeration.rb +19 -0
  112. data/lib/expressir/model/types/generic.rb +13 -0
  113. data/lib/expressir/model/types/generic_entity.rb +13 -0
  114. data/lib/expressir/model/types/integer.rb +8 -0
  115. data/lib/expressir/model/types/list.rb +19 -0
  116. data/lib/expressir/model/types/logical.rb +8 -0
  117. data/lib/expressir/model/types/number.rb +8 -0
  118. data/lib/expressir/model/types/real.rb +13 -0
  119. data/lib/expressir/model/types/select.rb +21 -0
  120. data/lib/expressir/model/types/set.rb +17 -0
  121. data/lib/expressir/model/types/string.rb +15 -0
  122. data/lib/expressir/model/unique.rb +15 -0
  123. data/lib/expressir/model/variable.rb +17 -0
  124. data/lib/expressir/model/where.rb +15 -0
  125. data/lib/expressir/model.rb +65 -0
  126. data/lib/expressir/parser/owl_parser.rb +8 -0
  127. data/lib/expressir/parser.rb +6 -0
  128. data/lib/expressir/version.rb +3 -0
  129. data/lib/expressir.rb +21 -0
  130. data/original/examples/ap233/ap233e1_arm_lf_stepmod-2010-11-12.exp +9589 -0
  131. data/original/examples/ap233/ap233e1_arm_lf_stepmod-2010-11-12.owl +36619 -0
  132. data/original/examples/ap233/ap233e1_arm_lf_stepmod-2010-11-12.xml +13294 -0
  133. data/original/examples/employment/eclipse/.project +17 -0
  134. data/original/examples/employment/eclipse/Export/Employment.png +0 -0
  135. data/original/examples/employment/eclipse/Express/employment_schema.exp +33 -0
  136. data/original/examples/employment/eclipse/Express/employment_schema.xmi +77 -0
  137. data/original/examples/employment/eclipse/Express/employment_schema.xml +93 -0
  138. data/original/examples/employment/eclipse/Models/Employment.uml +4 -0
  139. data/original/examples/employment/eclipse/Models/Employment.umldi +240 -0
  140. data/original/examples/employment/eclipse/readme.txt +7 -0
  141. data/original/examples/employment/employment_schema.exp +33 -0
  142. data/original/examples/employment/employment_schema.rb +232 -0
  143. data/original/examples/employment/employment_schema.xml +93 -0
  144. data/original/examples/employment/employment_schema___module.rb +46 -0
  145. data/original/examples/employment/employment_schema___p28attr.rb +126 -0
  146. data/original/examples/employment/employment_schema___p28inst.rb +26 -0
  147. data/original/examples/employment/example_employment_data.xml +1 -0
  148. data/original/examples/employment/example_employment_data_copy.xml +1 -0
  149. data/original/examples/employment/example_employment_reader.rb +30 -0
  150. data/original/examples/employment/example_employment_writer.rb +51 -0
  151. data/original/examples/plcs/ap239e1_arm_lf_dexlib_2010-01-06.exp +3710 -0
  152. data/original/examples/plcs/ap239e1_arm_lf_dexlib_2010-01-06.owl +35880 -0
  153. data/original/examples/plcs/ap239e1_arm_lf_dexlib_2010-01-06.xmi +15357 -0
  154. data/original/examples/plcs/ap239e1_arm_lf_dexlib_2010-01-06.xml +9468 -0
  155. data/original/examples/plcs/ap239e2_arm_lf_stepmod-2010-01-25.exp +8404 -0
  156. data/original/examples/plcs/ap239e2_arm_lf_stepmod-2010-01-25.owl +43147 -0
  157. data/original/examples/plcs/ap239e2_arm_lf_stepmod-2010-01-25.xmi +18341 -0
  158. data/original/examples/plcs/ap239e2_arm_lf_stepmod-2010-01-25.xml +11632 -0
  159. data/original/examples/syntax/remark.exp +146 -0
  160. data/original/examples/syntax/remark_formatted.exp +175 -0
  161. data/original/examples/syntax/syntax.exp +311 -0
  162. data/original/examples/syntax/syntax_formatted.exp +1191 -0
  163. data/original/exp2ruby.rb +525 -0
  164. data/original/expsm.rb +34 -0
  165. data/original/mapping_owl.rb +1018 -0
  166. data/original/mapping_sysml.rb +2281 -0
  167. data/original/mapping_uml2.rb +599 -0
  168. data/original/mapping_uml2_eclipse.rb +433 -0
  169. data/original/reeper.rb +134 -0
  170. data/rakelib/cross-ruby.rake +308 -0
  171. data/spec/acceptance/express_to_owl_spec.rb +18 -0
  172. data/spec/acceptance/version_spec.rb +12 -0
  173. data/spec/expressir/express/repository_spec.rb +25 -0
  174. data/spec/expressir/express_exp/ap233_spec.rb +22 -0
  175. data/spec/expressir/express_exp/format_remark_spec.rb +28 -0
  176. data/spec/expressir/express_exp/format_syntax_spec.rb +28 -0
  177. data/spec/expressir/express_exp/parse_remark_spec.rb +346 -0
  178. data/spec/expressir/express_exp/parse_syntax_spec.rb +3003 -0
  179. data/spec/expressir/model/find_spec.rb +110 -0
  180. data/spec/expressr_spec.rb +5 -0
  181. data/spec/spec_helper.rb +17 -0
  182. data/spec/support/console_helper.rb +29 -0
  183. metadata +357 -0
@@ -0,0 +1,110 @@
1
+ require "spec_helper"
2
+ require "expressir/express_exp/parser"
3
+
4
+ RSpec.describe Expressir::Model do
5
+ describe ".find" do
6
+ it "finds an object" do
7
+ repo = Expressir::ExpressExp::Parser.from_exp(sample_file)
8
+
9
+ # universal scope
10
+ expect(repo.find('remark_schema')).to be_instance_of(Expressir::Model::Schema)
11
+ expect(repo.find('remark_schema.remark_constant')).to be_instance_of(Expressir::Model::Constant)
12
+ expect(repo.find('remark_schema.remark_type')).to be_instance_of(Expressir::Model::Type)
13
+ expect(repo.find('remark_schema.remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
14
+ expect(repo.find('remark_schema.remark_entity')).to be_instance_of(Expressir::Model::Entity)
15
+ expect(repo.find('remark_schema.remark_entity.remark_attribute')).to be_instance_of(Expressir::Model::Attribute)
16
+ expect(repo.find('remark_schema.remark_entity.remark_derived_attribute')).to be_instance_of(Expressir::Model::Attribute)
17
+ expect(repo.find('remark_schema.remark_entity.remark_inverse_attribute')).to be_instance_of(Expressir::Model::Attribute)
18
+ expect(repo.find('remark_schema.remark_entity.remark_unique')).to be_instance_of(Expressir::Model::Unique)
19
+ expect(repo.find('remark_schema.remark_entity.remark_where')).to be_instance_of(Expressir::Model::Where)
20
+ expect(repo.find('remark_schema.remark_subtype_constraint')).to be_instance_of(Expressir::Model::SubtypeConstraint)
21
+ expect(repo.find('remark_schema.remark_function')).to be_instance_of(Expressir::Model::Function)
22
+ expect(repo.find('remark_schema.remark_function.remark_parameter')).to be_instance_of(Expressir::Model::Parameter)
23
+ expect(repo.find('remark_schema.remark_function.remark_type')).to be_instance_of(Expressir::Model::Type)
24
+ expect(repo.find('remark_schema.remark_function.remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
25
+ expect(repo.find('remark_schema.remark_function.remark_constant')).to be_instance_of(Expressir::Model::Constant)
26
+ expect(repo.find('remark_schema.remark_function.remark_variable')).to be_instance_of(Expressir::Model::Variable)
27
+ expect(repo.find('remark_schema.remark_procedure')).to be_instance_of(Expressir::Model::Procedure)
28
+ expect(repo.find('remark_schema.remark_procedure.remark_parameter')).to be_instance_of(Expressir::Model::Parameter)
29
+ expect(repo.find('remark_schema.remark_procedure.remark_type')).to be_instance_of(Expressir::Model::Type)
30
+ expect(repo.find('remark_schema.remark_procedure.remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
31
+ expect(repo.find('remark_schema.remark_procedure.remark_constant')).to be_instance_of(Expressir::Model::Constant)
32
+ expect(repo.find('remark_schema.remark_procedure.remark_variable')).to be_instance_of(Expressir::Model::Variable)
33
+ expect(repo.find('remark_schema.remark_rule')).to be_instance_of(Expressir::Model::Rule)
34
+ expect(repo.find('remark_schema.remark_rule.remark_type')).to be_instance_of(Expressir::Model::Type)
35
+ expect(repo.find('remark_schema.remark_rule.remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
36
+ expect(repo.find('remark_schema.remark_rule.remark_constant')).to be_instance_of(Expressir::Model::Constant)
37
+ expect(repo.find('remark_schema.remark_rule.remark_variable')).to be_instance_of(Expressir::Model::Variable)
38
+ expect(repo.find('remark_schema.remark_rule.remark_where')).to be_instance_of(Expressir::Model::Where)
39
+
40
+ # schema scope
41
+ schema = repo.schemas.first
42
+ expect(schema.find('remark_constant')).to be_instance_of(Expressir::Model::Constant)
43
+ expect(schema.find('remark_type')).to be_instance_of(Expressir::Model::Type)
44
+ expect(schema.find('remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
45
+ expect(schema.find('remark_entity')).to be_instance_of(Expressir::Model::Entity)
46
+ expect(schema.find('remark_entity.remark_attribute')).to be_instance_of(Expressir::Model::Attribute)
47
+ expect(schema.find('remark_entity.remark_derived_attribute')).to be_instance_of(Expressir::Model::Attribute)
48
+ expect(schema.find('remark_entity.remark_inverse_attribute')).to be_instance_of(Expressir::Model::Attribute)
49
+ expect(schema.find('remark_entity.remark_unique')).to be_instance_of(Expressir::Model::Unique)
50
+ expect(schema.find('remark_entity.remark_where')).to be_instance_of(Expressir::Model::Where)
51
+ expect(schema.find('remark_subtype_constraint')).to be_instance_of(Expressir::Model::SubtypeConstraint)
52
+ expect(schema.find('remark_function')).to be_instance_of(Expressir::Model::Function)
53
+ expect(schema.find('remark_function.remark_parameter')).to be_instance_of(Expressir::Model::Parameter)
54
+ expect(schema.find('remark_function.remark_type')).to be_instance_of(Expressir::Model::Type)
55
+ expect(schema.find('remark_function.remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
56
+ expect(schema.find('remark_function.remark_constant')).to be_instance_of(Expressir::Model::Constant)
57
+ expect(schema.find('remark_function.remark_variable')).to be_instance_of(Expressir::Model::Variable)
58
+ expect(schema.find('remark_procedure')).to be_instance_of(Expressir::Model::Procedure)
59
+ expect(schema.find('remark_procedure.remark_parameter')).to be_instance_of(Expressir::Model::Parameter)
60
+ expect(schema.find('remark_procedure.remark_type')).to be_instance_of(Expressir::Model::Type)
61
+ expect(schema.find('remark_procedure.remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
62
+ expect(schema.find('remark_procedure.remark_constant')).to be_instance_of(Expressir::Model::Constant)
63
+ expect(schema.find('remark_procedure.remark_variable')).to be_instance_of(Expressir::Model::Variable)
64
+ expect(schema.find('remark_rule')).to be_instance_of(Expressir::Model::Rule)
65
+ expect(schema.find('remark_rule.remark_type')).to be_instance_of(Expressir::Model::Type)
66
+ expect(schema.find('remark_rule.remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
67
+ expect(schema.find('remark_rule.remark_constant')).to be_instance_of(Expressir::Model::Constant)
68
+ expect(schema.find('remark_rule.remark_variable')).to be_instance_of(Expressir::Model::Variable)
69
+ expect(schema.find('remark_rule.remark_where')).to be_instance_of(Expressir::Model::Where)
70
+
71
+ # entity scope
72
+ entity = schema.entities.first
73
+ expect(entity.find('remark_attribute')).to be_instance_of(Expressir::Model::Attribute)
74
+ expect(entity.find('remark_derived_attribute')).to be_instance_of(Expressir::Model::Attribute)
75
+ expect(entity.find('remark_inverse_attribute')).to be_instance_of(Expressir::Model::Attribute)
76
+ expect(entity.find('remark_unique')).to be_instance_of(Expressir::Model::Unique)
77
+ expect(entity.find('remark_where')).to be_instance_of(Expressir::Model::Where)
78
+
79
+ # function scope
80
+ function = schema.functions.first
81
+ expect(function.find('remark_parameter')).to be_instance_of(Expressir::Model::Parameter)
82
+ expect(function.find('remark_type')).to be_instance_of(Expressir::Model::Type)
83
+ expect(function.find('remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
84
+ expect(function.find('remark_constant')).to be_instance_of(Expressir::Model::Constant)
85
+ expect(function.find('remark_variable')).to be_instance_of(Expressir::Model::Variable)
86
+
87
+ # procedure scope
88
+ procedure = schema.procedures.first
89
+ expect(procedure.find('remark_parameter')).to be_instance_of(Expressir::Model::Parameter)
90
+ expect(procedure.find('remark_type')).to be_instance_of(Expressir::Model::Type)
91
+ expect(procedure.find('remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
92
+ expect(procedure.find('remark_constant')).to be_instance_of(Expressir::Model::Constant)
93
+ expect(procedure.find('remark_variable')).to be_instance_of(Expressir::Model::Variable)
94
+
95
+ # rule scope
96
+ rule = schema.rules.first
97
+ expect(rule.find('remark_type')).to be_instance_of(Expressir::Model::Type)
98
+ expect(rule.find('remark_enumeration_item')).to be_instance_of(Expressir::Model::EnumerationItem)
99
+ expect(rule.find('remark_constant')).to be_instance_of(Expressir::Model::Constant)
100
+ expect(rule.find('remark_variable')).to be_instance_of(Expressir::Model::Variable)
101
+ expect(rule.find('remark_where')).to be_instance_of(Expressir::Model::Where)
102
+ end
103
+ end
104
+
105
+ def sample_file
106
+ @sample_file ||= Expressir.root_path.join(
107
+ "original", "examples", "syntax", "remark.exp"
108
+ )
109
+ end
110
+ end
@@ -0,0 +1,5 @@
1
+ RSpec.describe Expressir do
2
+ it "has a version number" do
3
+ expect(Expressir::VERSION).not_to be nil
4
+ end
5
+ end
@@ -0,0 +1,17 @@
1
+ require "bundler/setup"
2
+ require "expressir"
3
+
4
+ Dir["./spec/support/**/*.rb"].sort.each { |file| require file }
5
+
6
+ RSpec.configure do |config|
7
+ # Enable flags like --only-failures and --next-failure
8
+ config.example_status_persistence_file_path = ".rspec_status"
9
+ config.include Expressir::ConsoleHelper
10
+
11
+ # Disable RSpec exposing methods globally on `Module` and `main`
12
+ config.disable_monkey_patching!
13
+
14
+ config.expect_with :rspec do |c|
15
+ c.syntax = :expect
16
+ end
17
+ end
@@ -0,0 +1,29 @@
1
+ module Expressir
2
+ module ConsoleHelper
3
+ def capture_stdout(&_block)
4
+ original_stdout = $stdout
5
+ $stdout = fake = StringIO.new
6
+
7
+ begin
8
+ yield
9
+ ensure
10
+ $stdout = original_stdout
11
+ end
12
+
13
+ fake.string
14
+ end
15
+
16
+ def capture_stderr(&_block)
17
+ original_stderr = $stderr
18
+ $stderr = fake = StringIO.new
19
+
20
+ begin
21
+ yield
22
+ ensure
23
+ $stderr = original_stderr
24
+ end
25
+
26
+ fake.string
27
+ end
28
+ end
29
+ end
metadata ADDED
@@ -0,0 +1,357 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: expressir
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.7
5
+ platform: x86-linux
6
+ authors:
7
+ - Ribose Inc.
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-01-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: nokogiri
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: antlr4-native
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.1.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.1.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.12.2
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.12.2
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake-compiler
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.1'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.1'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake-compiler-dock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.1'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '3.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '3.0'
139
+ description: ISO EXPRESS parser in Ruby, tools for accessing EXPRESS data models.
140
+ email:
141
+ - open.source@ribose.com'
142
+ executables:
143
+ - expressir
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - ".cross_rubies"
148
+ - ".github/workflows/rake.yml"
149
+ - ".github/workflows/release.yml"
150
+ - ".gitignore"
151
+ - ".gitmodules"
152
+ - ".rspec"
153
+ - ".rubocop.yml"
154
+ - Gemfile
155
+ - README.adoc
156
+ - Rakefile
157
+ - bin/console
158
+ - bin/rspec
159
+ - bin/setup
160
+ - demo.rb
161
+ - docs/development.md
162
+ - exe/expressir
163
+ - exe/generate-parser
164
+ - expressir.gemspec
165
+ - lib/expressir.rb
166
+ - lib/expressir/cli.rb
167
+ - lib/expressir/cli/ui.rb
168
+ - lib/expressir/config.rb
169
+ - lib/expressir/express.rb
170
+ - lib/expressir/express/aggregate_dimension.rb
171
+ - lib/expressir/express/attribute.rb
172
+ - lib/expressir/express/comment.rb
173
+ - lib/expressir/express/defined_type.rb
174
+ - lib/expressir/express/derived.rb
175
+ - lib/expressir/express/derived_aggregate.rb
176
+ - lib/expressir/express/entity.rb
177
+ - lib/expressir/express/explicit.rb
178
+ - lib/expressir/express/explicit_aggregate.rb
179
+ - lib/expressir/express/explicit_or_derived.rb
180
+ - lib/expressir/express/global_rule.rb
181
+ - lib/expressir/express/interface_specification.rb
182
+ - lib/expressir/express/interfaced_item.rb
183
+ - lib/expressir/express/inverse.rb
184
+ - lib/expressir/express/inverse_aggregate.rb
185
+ - lib/expressir/express/model_element.rb
186
+ - lib/expressir/express/named_type.rb
187
+ - lib/expressir/express/remark.rb
188
+ - lib/expressir/express/repository.rb
189
+ - lib/expressir/express/schema_definition.rb
190
+ - lib/expressir/express/subtype_constraint.rb
191
+ - lib/expressir/express/type.rb
192
+ - lib/expressir/express/type_aggregate.rb
193
+ - lib/expressir/express/type_enum.rb
194
+ - lib/expressir/express/type_parser.rb
195
+ - lib/expressir/express/type_select.rb
196
+ - lib/expressir/express/unique_rule.rb
197
+ - lib/expressir/express/where_rule.rb
198
+ - lib/expressir/express_exp/2.4/express_parser.so
199
+ - lib/expressir/express_exp/2.5/express_parser.so
200
+ - lib/expressir/express_exp/2.6/express_parser.so
201
+ - lib/expressir/express_exp/2.7/express_parser.so
202
+ - lib/expressir/express_exp/3.0/express_parser.so
203
+ - lib/expressir/express_exp/formatter.rb
204
+ - lib/expressir/express_exp/parser.rb
205
+ - lib/expressir/express_exp/visitor.rb
206
+ - lib/expressir/express_parser.rb
207
+ - lib/expressir/model.rb
208
+ - lib/expressir/model/attribute.rb
209
+ - lib/expressir/model/constant.rb
210
+ - lib/expressir/model/entity.rb
211
+ - lib/expressir/model/enumeration_item.rb
212
+ - lib/expressir/model/expressions/aggregate_initializer.rb
213
+ - lib/expressir/model/expressions/aggregate_item.rb
214
+ - lib/expressir/model/expressions/attribute_reference.rb
215
+ - lib/expressir/model/expressions/binary_expression.rb
216
+ - lib/expressir/model/expressions/call.rb
217
+ - lib/expressir/model/expressions/entity_constructor.rb
218
+ - lib/expressir/model/expressions/group_reference.rb
219
+ - lib/expressir/model/expressions/index_reference.rb
220
+ - lib/expressir/model/expressions/interval.rb
221
+ - lib/expressir/model/expressions/query_expression.rb
222
+ - lib/expressir/model/expressions/simple_reference.rb
223
+ - lib/expressir/model/expressions/unary_expression.rb
224
+ - lib/expressir/model/function.rb
225
+ - lib/expressir/model/identifier.rb
226
+ - lib/expressir/model/interface.rb
227
+ - lib/expressir/model/literals/binary.rb
228
+ - lib/expressir/model/literals/integer.rb
229
+ - lib/expressir/model/literals/logical.rb
230
+ - lib/expressir/model/literals/real.rb
231
+ - lib/expressir/model/literals/string.rb
232
+ - lib/expressir/model/parameter.rb
233
+ - lib/expressir/model/procedure.rb
234
+ - lib/expressir/model/renamed_ref.rb
235
+ - lib/expressir/model/repository.rb
236
+ - lib/expressir/model/rule.rb
237
+ - lib/expressir/model/schema.rb
238
+ - lib/expressir/model/scope.rb
239
+ - lib/expressir/model/statements/alias.rb
240
+ - lib/expressir/model/statements/assignment.rb
241
+ - lib/expressir/model/statements/call.rb
242
+ - lib/expressir/model/statements/case.rb
243
+ - lib/expressir/model/statements/case_action.rb
244
+ - lib/expressir/model/statements/compound.rb
245
+ - lib/expressir/model/statements/escape.rb
246
+ - lib/expressir/model/statements/if.rb
247
+ - lib/expressir/model/statements/null.rb
248
+ - lib/expressir/model/statements/repeat.rb
249
+ - lib/expressir/model/statements/return.rb
250
+ - lib/expressir/model/statements/skip.rb
251
+ - lib/expressir/model/subtype_constraint.rb
252
+ - lib/expressir/model/type.rb
253
+ - lib/expressir/model/types/aggregate.rb
254
+ - lib/expressir/model/types/array.rb
255
+ - lib/expressir/model/types/bag.rb
256
+ - lib/expressir/model/types/binary.rb
257
+ - lib/expressir/model/types/boolean.rb
258
+ - lib/expressir/model/types/enumeration.rb
259
+ - lib/expressir/model/types/generic.rb
260
+ - lib/expressir/model/types/generic_entity.rb
261
+ - lib/expressir/model/types/integer.rb
262
+ - lib/expressir/model/types/list.rb
263
+ - lib/expressir/model/types/logical.rb
264
+ - lib/expressir/model/types/number.rb
265
+ - lib/expressir/model/types/real.rb
266
+ - lib/expressir/model/types/select.rb
267
+ - lib/expressir/model/types/set.rb
268
+ - lib/expressir/model/types/string.rb
269
+ - lib/expressir/model/unique.rb
270
+ - lib/expressir/model/variable.rb
271
+ - lib/expressir/model/where.rb
272
+ - lib/expressir/parser.rb
273
+ - lib/expressir/parser/owl_parser.rb
274
+ - lib/expressir/version.rb
275
+ - original/examples/ap233/ap233e1_arm_lf_stepmod-2010-11-12.exp
276
+ - original/examples/ap233/ap233e1_arm_lf_stepmod-2010-11-12.owl
277
+ - original/examples/ap233/ap233e1_arm_lf_stepmod-2010-11-12.xml
278
+ - original/examples/employment/eclipse/.project
279
+ - original/examples/employment/eclipse/Export/Employment.png
280
+ - original/examples/employment/eclipse/Express/employment_schema.exp
281
+ - original/examples/employment/eclipse/Express/employment_schema.xmi
282
+ - original/examples/employment/eclipse/Express/employment_schema.xml
283
+ - original/examples/employment/eclipse/Models/Employment.uml
284
+ - original/examples/employment/eclipse/Models/Employment.umldi
285
+ - original/examples/employment/eclipse/readme.txt
286
+ - original/examples/employment/employment_schema.exp
287
+ - original/examples/employment/employment_schema.rb
288
+ - original/examples/employment/employment_schema.xml
289
+ - original/examples/employment/employment_schema___module.rb
290
+ - original/examples/employment/employment_schema___p28attr.rb
291
+ - original/examples/employment/employment_schema___p28inst.rb
292
+ - original/examples/employment/example_employment_data.xml
293
+ - original/examples/employment/example_employment_data_copy.xml
294
+ - original/examples/employment/example_employment_reader.rb
295
+ - original/examples/employment/example_employment_writer.rb
296
+ - original/examples/plcs/ap239e1_arm_lf_dexlib_2010-01-06.exp
297
+ - original/examples/plcs/ap239e1_arm_lf_dexlib_2010-01-06.owl
298
+ - original/examples/plcs/ap239e1_arm_lf_dexlib_2010-01-06.xmi
299
+ - original/examples/plcs/ap239e1_arm_lf_dexlib_2010-01-06.xml
300
+ - original/examples/plcs/ap239e2_arm_lf_stepmod-2010-01-25.exp
301
+ - original/examples/plcs/ap239e2_arm_lf_stepmod-2010-01-25.owl
302
+ - original/examples/plcs/ap239e2_arm_lf_stepmod-2010-01-25.xmi
303
+ - original/examples/plcs/ap239e2_arm_lf_stepmod-2010-01-25.xml
304
+ - original/examples/syntax/remark.exp
305
+ - original/examples/syntax/remark_formatted.exp
306
+ - original/examples/syntax/syntax.exp
307
+ - original/examples/syntax/syntax_formatted.exp
308
+ - original/exp2ruby.rb
309
+ - original/expsm.rb
310
+ - original/mapping_owl.rb
311
+ - original/mapping_sysml.rb
312
+ - original/mapping_uml2.rb
313
+ - original/mapping_uml2_eclipse.rb
314
+ - original/reeper.rb
315
+ - rakelib/cross-ruby.rake
316
+ - spec/acceptance/express_to_owl_spec.rb
317
+ - spec/acceptance/version_spec.rb
318
+ - spec/expressir/express/repository_spec.rb
319
+ - spec/expressir/express_exp/ap233_spec.rb
320
+ - spec/expressir/express_exp/format_remark_spec.rb
321
+ - spec/expressir/express_exp/format_syntax_spec.rb
322
+ - spec/expressir/express_exp/parse_remark_spec.rb
323
+ - spec/expressir/express_exp/parse_syntax_spec.rb
324
+ - spec/expressir/model/find_spec.rb
325
+ - spec/expressr_spec.rb
326
+ - spec/spec_helper.rb
327
+ - spec/support/console_helper.rb
328
+ homepage: https://github.com/lutaml/expressir
329
+ licenses:
330
+ - MIT
331
+ metadata:
332
+ homepage_uri: https://github.com/lutaml/expressir
333
+ source_code_uri: https://github.com/lutaml/expressir
334
+ changelog_uri: https://github.com/lutaml/expressir/releases
335
+ post_install_message:
336
+ rdoc_options: []
337
+ require_paths:
338
+ - lib
339
+ required_ruby_version: !ruby/object:Gem::Requirement
340
+ requirements:
341
+ - - ">="
342
+ - !ruby/object:Gem::Version
343
+ version: '2.4'
344
+ - - "<"
345
+ - !ruby/object:Gem::Version
346
+ version: 3.1.dev
347
+ required_rubygems_version: !ruby/object:Gem::Requirement
348
+ requirements:
349
+ - - ">="
350
+ - !ruby/object:Gem::Version
351
+ version: '0'
352
+ requirements: []
353
+ rubygems_version: 3.2.3
354
+ signing_key:
355
+ specification_version: 4
356
+ summary: ISO EXPRESS parser in Ruby, tools for accessing EXPRESS data models.
357
+ test_files: []