gisele 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/CHANGELOG.md +33 -13
  2. data/Gemfile +3 -2
  3. data/Gemfile.lock +6 -3
  4. data/LICENCE.md +1 -1
  5. data/README.md +5 -2
  6. data/Rakefile +0 -8
  7. data/examples/rectal-cancer-pathway/RectalCancerPathway.gis +1 -1
  8. data/gisele.gemspec +3 -2
  9. data/gisele.noespec +4 -3
  10. data/lib/gisele.rb +11 -7
  11. data/lib/gisele/command.rb +28 -19
  12. data/lib/gisele/compiling.rb +2 -0
  13. data/lib/gisele/compiling/to_glts.rb +125 -0
  14. data/lib/gisele/compiling/to_graph.rb +160 -0
  15. data/lib/gisele/compiling/to_graph.yml +20 -0
  16. data/lib/gisele/language.rb +22 -36
  17. data/lib/gisele/language/ast/bool_and.rb +1 -1
  18. data/lib/gisele/language/ast/bool_expr.rb +9 -1
  19. data/lib/gisele/language/ast/bool_not.rb +1 -1
  20. data/lib/gisele/language/ast/bool_or.rb +1 -1
  21. data/lib/gisele/language/ast/case_st.rb +1 -1
  22. data/lib/gisele/language/ast/else_clause.rb +1 -1
  23. data/lib/gisele/language/ast/node.rb +4 -66
  24. data/lib/gisele/language/grammar.citrus +2 -2
  25. data/lib/gisele/language/grammar.sexp.yml +83 -80
  26. data/lib/gisele/language/processors.rb +2 -2
  27. data/lib/gisele/language/processors/elsif_flattener.rb +14 -13
  28. data/lib/gisele/language/processors/if_to_case.rb +20 -18
  29. data/lib/gisele/language/processors/scoping_helper.rb +32 -0
  30. data/lib/gisele/language/processors/sugar_removal.rb +10 -5
  31. data/lib/gisele/language/syntax/case_st.rb +1 -1
  32. data/lib/gisele/language/syntax/node.rb +6 -2
  33. data/lib/gisele/language/syntax/when_clause.rb +1 -1
  34. data/lib/gisele/loader.rb +2 -1
  35. data/lib/gisele/version.rb +1 -1
  36. data/spec/command/main/gisele_glts.cmd +1 -0
  37. data/spec/command/main/gisele_glts.stdout +85 -0
  38. data/spec/command/main/gisele_help.stdout +3 -2
  39. data/spec/spec_helper.rb +2 -3
  40. data/spec/test_examples.rb +2 -2
  41. data/spec/unit/compiling/test_to_glts.rb +20 -0
  42. data/spec/unit/compiling/test_to_graph.rb +19 -0
  43. data/spec/unit/language/ast/test_bool_expr.rb +50 -0
  44. data/spec/unit/language/grammar_sexp/test_fluent_def.rb +1 -1
  45. data/spec/unit/language/processors/test_elsif_flattener.rb +3 -3
  46. data/spec/unit/language/processors/test_if_to_case.rb +7 -7
  47. data/spec/unit/language/processors/test_scoping_helper.rb +45 -0
  48. data/spec/unit/language/syntax/grammar/test_bool_expr.rb +2 -2
  49. data/spec/unit/language/syntax/grammar/test_boolean_literal.rb +2 -2
  50. data/spec/unit/language/syntax/grammar/test_case_st.rb +2 -2
  51. data/spec/unit/language/syntax/grammar/test_event.rb +2 -2
  52. data/spec/unit/language/syntax/grammar/test_event_name.rb +2 -2
  53. data/spec/unit/language/syntax/grammar/test_event_set.rb +2 -3
  54. data/spec/unit/language/syntax/grammar/test_fluent_def.rb +2 -2
  55. data/spec/unit/language/syntax/grammar/test_if_st.rb +2 -2
  56. data/spec/unit/language/syntax/grammar/test_par_st.rb +2 -2
  57. data/spec/unit/language/syntax/grammar/test_process_statement.rb +2 -2
  58. data/spec/unit/language/syntax/grammar/test_seq_st.rb +2 -2
  59. data/spec/unit/language/syntax/grammar/test_spaces.rb +2 -2
  60. data/spec/unit/language/syntax/grammar/test_spacing.rb +2 -3
  61. data/spec/unit/language/syntax/grammar/test_task_def.rb +2 -2
  62. data/spec/unit/language/syntax/grammar/test_task_name.rb +2 -2
  63. data/spec/unit/language/syntax/grammar/test_task_start_or_end.rb +2 -2
  64. data/spec/unit/language/syntax/grammar/test_trackvar_def.rb +2 -2
  65. data/spec/unit/language/syntax/grammar/test_unit_def.rb +2 -2
  66. data/spec/unit/language/syntax/grammar/test_variable_name.rb +24 -3
  67. data/spec/unit/language/syntax/grammar/test_when_clause.rb +2 -2
  68. data/spec/unit/language/syntax/grammar/test_while_st.rb +2 -2
  69. data/spec/unit/language/syntax/to_ast/test_bool_expr.rb +5 -1
  70. data/spec/unit/language/syntax/to_ast/test_case_st.rb +1 -1
  71. data/spec/unit/language/syntax/to_ast/test_else_clause.rb +1 -1
  72. data/spec/unit/language/syntax/to_ast/test_elsif_clause.rb +1 -1
  73. data/spec/unit/language/syntax/to_ast/test_event_set.rb +1 -1
  74. data/spec/unit/language/syntax/to_ast/test_fluent_def.rb +1 -1
  75. data/spec/unit/language/syntax/to_ast/test_if_st.rb +1 -1
  76. data/spec/unit/language/syntax/to_ast/test_par_st.rb +1 -1
  77. data/spec/unit/language/syntax/to_ast/test_seq_st.rb +1 -1
  78. data/spec/unit/language/syntax/to_ast/test_task_call_st.rb +1 -1
  79. data/spec/unit/language/syntax/to_ast/test_task_def.rb +1 -1
  80. data/spec/unit/language/syntax/to_ast/test_trackvar_def.rb +1 -1
  81. data/spec/unit/language/syntax/to_ast/test_unit_def.rb +1 -1
  82. data/spec/unit/language/syntax/to_ast/test_var_ref.rb +1 -1
  83. data/spec/unit/language/syntax/to_ast/test_when_clause.rb +1 -1
  84. data/spec/unit/language/syntax/to_ast/test_while_st.rb +1 -1
  85. data/spec/unit/language/test_syntax.rb +36 -38
  86. data/spec/unit/test_gisele.rb +1 -1
  87. metadata +189 -190
  88. data/lib/gisele/language/ast.rb +0 -14
  89. data/lib/gisele/language/ast/helpers.rb +0 -43
  90. data/lib/gisele/language/ast/unit_def.rb +0 -10
  91. data/lib/gisele/language/grammar.dot.yml +0 -19
  92. data/lib/gisele/language/processors/to_graph.rb +0 -146
  93. data/lib/gisele/language/rewriter.rb +0 -60
  94. data/lib/gisele/language/rewriter/helper.rb +0 -41
  95. data/lib/gisele/language/rewriter/scoping.rb +0 -34
  96. data/lib/gisele/language/rewriter/work_on_nodes.rb +0 -30
  97. data/lib/gisele/language/syntax.rb +0 -29
  98. data/spec/unit/language/ast/test_node.rb +0 -82
  99. data/spec/unit/language/processors/test_to_graph.rb +0 -17
  100. data/spec/unit/language/rewriter/test_helper.rb +0 -87
  101. data/spec/unit/language/rewriter/test_scoping.rb +0 -46
  102. data/spec/unit/language/rewriter/test_work_on_nodes.rb +0 -45
  103. data/spec/unit/language/test_ast.rb +0 -38
  104. data/spec/unit/language/test_rewriter.rb +0 -81
  105. data/spec/unit/test_language.rb +0 -35
@@ -36,4 +36,4 @@ module Gisele::Language::Syntax
36
36
  end
37
37
 
38
38
  end
39
- end
39
+ end
@@ -9,4 +9,4 @@ module Gisele::Language::Syntax
9
9
  end
10
10
 
11
11
  end
12
- end
12
+ end
@@ -9,4 +9,4 @@ module Gisele::Language::Syntax
9
9
  end
10
10
 
11
11
  end
12
- end
12
+ end
@@ -7,4 +7,4 @@ module Gisele::Language::Syntax
7
7
  end
8
8
 
9
9
  end
10
- end
10
+ end
@@ -41,4 +41,4 @@ module Gisele::Language::Syntax
41
41
  end
42
42
 
43
43
  end
44
- end
44
+ end
@@ -23,4 +23,4 @@ module Gisele::Language::Syntax
23
23
  end
24
24
 
25
25
  end
26
- end
26
+ end
@@ -25,4 +25,4 @@ module Gisele::Language::Syntax
25
25
  end
26
26
 
27
27
  end
28
- end
28
+ end
@@ -9,4 +9,4 @@ module Gisele::Language::Syntax
9
9
  end
10
10
 
11
11
  end
12
- end
12
+ end
@@ -12,4 +12,4 @@ module Gisele::Language::Syntax
12
12
  end
13
13
 
14
14
  end
15
- end
15
+ end
@@ -21,4 +21,4 @@ module Gisele::Language::Syntax
21
21
  end
22
22
 
23
23
  end
24
- end
24
+ end
@@ -1,53 +1,51 @@
1
1
  require 'spec_helper'
2
- module Gisele::Language
3
- describe Syntax do
4
- include Syntax
2
+ describe Gisele do
3
+ include Gisele
5
4
 
6
- describe "parse" do
5
+ describe "parse" do
7
6
 
8
- it 'works with a file' do
9
- parsed = parse(fixtures_dir/:tasks/"simple.gis")
10
- parsed.should be_a(Citrus::Match)
11
- end
12
-
13
- it 'works on a String' do
14
- parsed = parse("task Hello end")
15
- parsed.should be_a(Citrus::Match)
16
- end
7
+ it 'works with a file' do
8
+ parsed = parse(fixtures_dir/:tasks/"simple.gis")
9
+ parsed.should be_a(Citrus::Match)
10
+ end
17
11
 
18
- it 'accepts parse options' do
19
- parsed = parse("if goodCond Task1 end", :root => :if_st)
20
- parsed.should be_a(Citrus::Match)
21
- end
12
+ it 'works on a String' do
13
+ parsed = parse("task Hello end")
14
+ parsed.should be_a(Citrus::Match)
15
+ end
22
16
 
17
+ it 'accepts parse options' do
18
+ parsed = parse("if goodCond Task1 end", :root => :if_st)
19
+ parsed.should be_a(Citrus::Match)
23
20
  end
24
21
 
25
- describe "ast" do
22
+ end
26
23
 
27
- it 'accepts parse options' do
28
- ast = ast("if goodCond Task1 end", :root => :if_st)
29
- ast.should be_a(AST::Node)
30
- ast.first.should eq(:if_st)
31
- end
24
+ describe "ast" do
32
25
 
33
- it 'sets traceability marks correctly' do
34
- ast = ast("if goodCond Task1 end", :root => :if_st)
35
- ast.markers[:match].should_not be_nil
36
- end
26
+ it 'accepts parse options' do
27
+ ast = ast(parse("if goodCond Task1 end", :root => :if_st))
28
+ ast.should be_a(Sexpr)
29
+ ast.first.should eq(:if_st)
30
+ end
31
+
32
+ it 'sets traceability marks correctly' do
33
+ ast = ast(parse("if goodCond Task1 end", :root => :if_st))
34
+ ast.tracking_markers[:citrus_match].should_not be_nil
35
+ end
37
36
 
38
- fixture_files('tasks/**/*.gis').each do |file|
39
- it "works on #{file}" do
40
- parsed = Syntax.ast(file)
41
- parsed.should be_a(Array)
42
- parsed.should be_a(AST::Node)
43
- parsed.first.should eq(:unit_def)
44
- if (astfile = file.sub_ext(".ast")).exist?
45
- parsed.should eq(Kernel::eval(astfile.read, TOPLEVEL_BINDING, astfile.to_s))
46
- end
37
+ fixture_files('tasks/**/*.gis').each do |file|
38
+ it "works on #{file}" do
39
+ parsed = ast(parse(file))
40
+ parsed.should be_a(Array)
41
+ parsed.should be_a(Sexpr)
42
+ parsed.first.should eq(:unit_def)
43
+ if (astfile = file.sub_ext(".ast")).exist?
44
+ parsed.should eq(Kernel::eval(astfile.read, TOPLEVEL_BINDING, astfile.to_s))
47
45
  end
48
46
  end
49
-
50
- end # ast
47
+ end
51
48
 
52
49
  end
50
+
53
51
  end
@@ -5,4 +5,4 @@ describe Gisele do
5
5
  Gisele.const_defined?(:VERSION).should be_true
6
6
  end
7
7
 
8
- end
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gisele
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-20 00:00:00.000000000 Z
12
+ date: 2012-02-26 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70178529922440 !ruby/object:Gem::Requirement
16
+ requirement: &69839060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.9.2
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70178529922440
24
+ version_requirements: *69839060
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70178529919520 !ruby/object:Gem::Requirement
27
+ requirement: &69838720 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,21 +32,21 @@ dependencies:
32
32
  version: '1.0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70178529919520
35
+ version_requirements: *69838720
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70178529917540 !ruby/object:Gem::Requirement
38
+ requirement: &69838400 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: 2.8.0
43
+ version: '2.8'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70178529917540
46
+ version_requirements: *69838400
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: wlang
49
- requirement: &70178529916080 !ruby/object:Gem::Requirement
49
+ requirement: &69838140 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.10.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70178529916080
57
+ version_requirements: *69838140
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: citrus
60
- requirement: &70178529931480 !ruby/object:Gem::Requirement
60
+ requirement: &69837830 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '2.4'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70178529931480
68
+ version_requirements: *69837830
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: epath
71
- requirement: &70178529930900 !ruby/object:Gem::Requirement
71
+ requirement: &69837550 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.0.1
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70178529930900
79
+ version_requirements: *69837550
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: quickl
82
- requirement: &70178529930360 !ruby/object:Gem::Requirement
82
+ requirement: &69815800 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 0.4.3
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70178529930360
90
+ version_requirements: *69815800
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: awesome_print
93
- requirement: &70178529929540 !ruby/object:Gem::Requirement
93
+ requirement: &69815520 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '1.0'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *70178529929540
101
+ version_requirements: *69815520
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: yargi
104
- requirement: &70178529928700 !ruby/object:Gem::Requirement
104
+ requirement: &69815270 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ~>
@@ -109,18 +109,29 @@ dependencies:
109
109
  version: 0.2.0
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *70178529928700
112
+ version_requirements: *69815270
113
113
  - !ruby/object:Gem::Dependency
114
- name: sexp_grammar
115
- requirement: &70178529927800 !ruby/object:Gem::Requirement
114
+ name: sexpr
115
+ requirement: &69814980 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
119
119
  - !ruby/object:Gem::Version
120
- version: 0.1.0
120
+ version: 0.5.0
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *70178529927800
123
+ version_requirements: *69814980
124
+ - !ruby/object:Gem::Dependency
125
+ name: stamina-core
126
+ requirement: &69814660 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 0.5.3
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: *69814660
124
135
  description: ! 'This is a fresh-new implementation of the process analysis techniques
125
136
 
126
137
  developed in the Gisele and PIPAS research projects at UCLouvain'
@@ -140,148 +151,141 @@ files:
140
151
  - Gemfile
141
152
  - Gemfile.lock
142
153
  - bin/gisele
143
- - examples/meeting-scheduler/MeetingScheduling.gis
144
154
  - examples/rectal-cancer-pathway/RectalCancerPathway.gis
145
- - lib/gisele/command.rb
146
- - lib/gisele/errors.rb
147
- - lib/gisele/language/ast/bool_and.rb
148
- - lib/gisele/language/ast/bool_expr.rb
149
- - lib/gisele/language/ast/bool_not.rb
150
- - lib/gisele/language/ast/bool_or.rb
151
- - lib/gisele/language/ast/case_st.rb
152
- - lib/gisele/language/ast/else_clause.rb
153
- - lib/gisele/language/ast/elsif_clause.rb
154
- - lib/gisele/language/ast/helpers.rb
155
- - lib/gisele/language/ast/if_st.rb
156
- - lib/gisele/language/ast/node.rb
157
- - lib/gisele/language/ast/task_call_st.rb
158
- - lib/gisele/language/ast/unit_def.rb
159
- - lib/gisele/language/ast/var_ref.rb
160
- - lib/gisele/language/ast/when_clause.rb
161
- - lib/gisele/language/ast/while_st.rb
162
- - lib/gisele/language/ast.rb
163
- - lib/gisele/language/grammar.citrus
164
- - lib/gisele/language/grammar.dot.yml
165
- - lib/gisele/language/grammar.sexp.yml
166
- - lib/gisele/language/processors/elsif_flattener.rb
167
- - lib/gisele/language/processors/if_to_case.rb
168
- - lib/gisele/language/processors/sugar_removal.rb
169
- - lib/gisele/language/processors/to_graph.rb
170
- - lib/gisele/language/processors.rb
171
- - lib/gisele/language/rewriter/helper.rb
172
- - lib/gisele/language/rewriter/scoping.rb
173
- - lib/gisele/language/rewriter/work_on_nodes.rb
174
- - lib/gisele/language/rewriter.rb
175
- - lib/gisele/language/syntax/bool_and.rb
155
+ - examples/meeting-scheduler/MeetingScheduling.gis
156
+ - lib/gisele.rb
157
+ - lib/gisele/language.rb
158
+ - lib/gisele/language/syntax/bool_not.rb
159
+ - lib/gisele/language/syntax/task_def.rb
176
160
  - lib/gisele/language/syntax/bool_expr.rb
161
+ - lib/gisele/language/syntax/trackvar_def.rb
162
+ - lib/gisele/language/syntax/implicit_seq_st.rb
163
+ - lib/gisele/language/syntax/when_clause.rb
177
164
  - lib/gisele/language/syntax/bool_lit.rb
178
- - lib/gisele/language/syntax/bool_not.rb
179
- - lib/gisele/language/syntax/bool_or.rb
180
- - lib/gisele/language/syntax/bool_paren.rb
165
+ - lib/gisele/language/syntax/unit_def.rb
181
166
  - lib/gisele/language/syntax/case_st.rb
182
- - lib/gisele/language/syntax/else_clause.rb
183
- - lib/gisele/language/syntax/elsif_clause.rb
184
167
  - lib/gisele/language/syntax/event_set.rb
185
168
  - lib/gisele/language/syntax/fluent_def.rb
186
- - lib/gisele/language/syntax/if_st.rb
187
- - lib/gisele/language/syntax/implicit_seq_st.rb
188
169
  - lib/gisele/language/syntax/node.rb
189
- - lib/gisele/language/syntax/par_st.rb
190
- - lib/gisele/language/syntax/seq_st.rb
170
+ - lib/gisele/language/syntax/bool_paren.rb
191
171
  - lib/gisele/language/syntax/st_list.rb
192
- - lib/gisele/language/syntax/task_call_st.rb
193
- - lib/gisele/language/syntax/task_def.rb
194
- - lib/gisele/language/syntax/trackvar_def.rb
195
- - lib/gisele/language/syntax/unit_def.rb
196
172
  - lib/gisele/language/syntax/var_ref.rb
197
- - lib/gisele/language/syntax/when_clause.rb
173
+ - lib/gisele/language/syntax/else_clause.rb
174
+ - lib/gisele/language/syntax/elsif_clause.rb
175
+ - lib/gisele/language/syntax/bool_and.rb
176
+ - lib/gisele/language/syntax/if_st.rb
177
+ - lib/gisele/language/syntax/par_st.rb
178
+ - lib/gisele/language/syntax/seq_st.rb
198
179
  - lib/gisele/language/syntax/while_st.rb
199
- - lib/gisele/language/syntax.rb
200
- - lib/gisele/language.rb
180
+ - lib/gisele/language/syntax/task_call_st.rb
181
+ - lib/gisele/language/syntax/bool_or.rb
182
+ - lib/gisele/language/grammar.citrus
183
+ - lib/gisele/language/grammar.sexp.yml
184
+ - lib/gisele/language/processors.rb
185
+ - lib/gisele/language/processors/elsif_flattener.rb
186
+ - lib/gisele/language/processors/if_to_case.rb
187
+ - lib/gisele/language/processors/sugar_removal.rb
188
+ - lib/gisele/language/processors/scoping_helper.rb
189
+ - lib/gisele/language/ast/bool_not.rb
190
+ - lib/gisele/language/ast/bool_expr.rb
191
+ - lib/gisele/language/ast/when_clause.rb
192
+ - lib/gisele/language/ast/case_st.rb
193
+ - lib/gisele/language/ast/node.rb
194
+ - lib/gisele/language/ast/var_ref.rb
195
+ - lib/gisele/language/ast/else_clause.rb
196
+ - lib/gisele/language/ast/elsif_clause.rb
197
+ - lib/gisele/language/ast/bool_and.rb
198
+ - lib/gisele/language/ast/if_st.rb
199
+ - lib/gisele/language/ast/while_st.rb
200
+ - lib/gisele/language/ast/task_call_st.rb
201
+ - lib/gisele/language/ast/bool_or.rb
202
+ - lib/gisele/compiling/to_glts.rb
203
+ - lib/gisele/compiling/to_graph.rb
204
+ - lib/gisele/compiling/to_graph.yml
205
+ - lib/gisele/errors.rb
201
206
  - lib/gisele/loader.rb
207
+ - lib/gisele/compiling.rb
208
+ - lib/gisele/command.rb
202
209
  - lib/gisele/version.rb
203
- - lib/gisele.rb
204
210
  - LICENCE.md
205
211
  - Manifest.txt
206
212
  - Rakefile
207
213
  - README.md
208
- - spec/command/main/gisele_ast_ruby.cmd
209
- - spec/command/main/gisele_ast_ruby.stdout
210
- - spec/command/main/gisele_graph.cmd
214
+ - spec/spec_helper.rb
215
+ - spec/command/test_command.rb
216
+ - spec/command/main/gisele_version.stdout
211
217
  - spec/command/main/gisele_graph.stdout
212
- - spec/command/main/gisele_help.cmd
213
- - spec/command/main/gisele_help.stdout
214
218
  - spec/command/main/gisele_no_sugar.cmd
215
219
  - spec/command/main/gisele_no_sugar.stdout
220
+ - spec/command/main/gisele_help.stdout
221
+ - spec/command/main/gisele_glts.cmd
222
+ - spec/command/main/gisele_help.cmd
223
+ - spec/command/main/gisele_ast_ruby.stdout
224
+ - spec/command/main/gisele_glts.stdout
225
+ - spec/command/main/gisele_graph.cmd
226
+ - spec/command/main/gisele_ast_ruby.cmd
216
227
  - spec/command/main/gisele_version.cmd
217
- - spec/command/main/gisele_version.stdout
218
- - spec/command/test_command.rb
219
- - spec/fixtures/tasks/complete.gis
220
- - spec/fixtures/tasks/simple.ast
221
- - spec/fixtures/tasks/simple.gis
222
- - spec/spec_helper.rb
223
228
  - spec/test_examples.rb
224
- - spec/unit/language/ast/test_node.rb
225
- - spec/unit/language/grammar_sexp/test_case_st.rb
226
- - spec/unit/language/grammar_sexp/test_event_set.rb
227
- - spec/unit/language/grammar_sexp/test_fluent_def.rb
228
- - spec/unit/language/grammar_sexp/test_initially.rb
229
- - spec/unit/language/grammar_sexp/test_nop_st.rb
230
- - spec/unit/language/grammar_sexp/test_when_clause.rb
231
- - spec/unit/language/processors/test_elsif_flattener.rb
232
- - spec/unit/language/processors/test_if_to_case.rb
233
- - spec/unit/language/processors/test_to_graph.rb
234
- - spec/unit/language/rewriter/test_helper.rb
235
- - spec/unit/language/rewriter/test_scoping.rb
236
- - spec/unit/language/rewriter/test_work_on_nodes.rb
237
- - spec/unit/language/syntax/grammar/test_bool_expr.rb
229
+ - spec/unit/language/syntax/grammar/test_when_clause.rb
230
+ - spec/unit/language/syntax/grammar/test_trackvar_def.rb
231
+ - spec/unit/language/syntax/grammar/test_seq_st.rb
232
+ - spec/unit/language/syntax/grammar/test_process_statement.rb
233
+ - spec/unit/language/syntax/grammar/test_unit_def.rb
234
+ - spec/unit/language/syntax/grammar/test_if_st.rb
238
235
  - spec/unit/language/syntax/grammar/test_boolean_literal.rb
239
- - spec/unit/language/syntax/grammar/test_case_st.rb
236
+ - spec/unit/language/syntax/grammar/test_task_def.rb
237
+ - spec/unit/language/syntax/grammar/test_spacing.rb
238
+ - spec/unit/language/syntax/grammar/test_task_start_or_end.rb
239
+ - spec/unit/language/syntax/grammar/test_spaces.rb
240
240
  - spec/unit/language/syntax/grammar/test_event.rb
241
- - spec/unit/language/syntax/grammar/test_event_name.rb
242
- - spec/unit/language/syntax/grammar/test_event_set.rb
243
- - spec/unit/language/syntax/grammar/test_fluent_def.rb
244
- - spec/unit/language/syntax/grammar/test_if_st.rb
241
+ - spec/unit/language/syntax/grammar/test_while_st.rb
245
242
  - spec/unit/language/syntax/grammar/test_par_st.rb
246
- - spec/unit/language/syntax/grammar/test_process_statement.rb
247
- - spec/unit/language/syntax/grammar/test_seq_st.rb
248
- - spec/unit/language/syntax/grammar/test_spaces.rb
249
- - spec/unit/language/syntax/grammar/test_spacing.rb
250
- - spec/unit/language/syntax/grammar/test_task_def.rb
251
243
  - spec/unit/language/syntax/grammar/test_task_name.rb
252
- - spec/unit/language/syntax/grammar/test_task_start_or_end.rb
253
- - spec/unit/language/syntax/grammar/test_trackvar_def.rb
254
- - spec/unit/language/syntax/grammar/test_unit_def.rb
244
+ - spec/unit/language/syntax/grammar/test_case_st.rb
255
245
  - spec/unit/language/syntax/grammar/test_variable_name.rb
256
- - spec/unit/language/syntax/grammar/test_when_clause.rb
257
- - spec/unit/language/syntax/grammar/test_while_st.rb
258
- - spec/unit/language/syntax/to_ast/test_bool_expr.rb
259
- - spec/unit/language/syntax/to_ast/test_case_st.rb
246
+ - spec/unit/language/syntax/grammar/test_fluent_def.rb
247
+ - spec/unit/language/syntax/grammar/test_event_set.rb
248
+ - spec/unit/language/syntax/grammar/test_bool_expr.rb
249
+ - spec/unit/language/syntax/grammar/test_event_name.rb
250
+ - spec/unit/language/syntax/to_ast/test_when_clause.rb
260
251
  - spec/unit/language/syntax/to_ast/test_else_clause.rb
261
- - spec/unit/language/syntax/to_ast/test_elsif_clause.rb
262
- - spec/unit/language/syntax/to_ast/test_event_set.rb
263
- - spec/unit/language/syntax/to_ast/test_fluent_def.rb
264
- - spec/unit/language/syntax/to_ast/test_if_st.rb
265
- - spec/unit/language/syntax/to_ast/test_par_st.rb
266
- - spec/unit/language/syntax/to_ast/test_seq_st.rb
267
- - spec/unit/language/syntax/to_ast/test_task_call_st.rb
268
- - spec/unit/language/syntax/to_ast/test_task_def.rb
269
252
  - spec/unit/language/syntax/to_ast/test_trackvar_def.rb
270
- - spec/unit/language/syntax/to_ast/test_unit_def.rb
253
+ - spec/unit/language/syntax/to_ast/test_seq_st.rb
271
254
  - spec/unit/language/syntax/to_ast/test_var_ref.rb
272
- - spec/unit/language/syntax/to_ast/test_when_clause.rb
255
+ - spec/unit/language/syntax/to_ast/test_unit_def.rb
256
+ - spec/unit/language/syntax/to_ast/test_if_st.rb
257
+ - spec/unit/language/syntax/to_ast/test_task_def.rb
258
+ - spec/unit/language/syntax/to_ast/test_elsif_clause.rb
273
259
  - spec/unit/language/syntax/to_ast/test_while_st.rb
274
- - spec/unit/language/test_ast.rb
275
- - spec/unit/language/test_rewriter.rb
260
+ - spec/unit/language/syntax/to_ast/test_par_st.rb
261
+ - spec/unit/language/syntax/to_ast/test_task_call_st.rb
262
+ - spec/unit/language/syntax/to_ast/test_case_st.rb
263
+ - spec/unit/language/syntax/to_ast/test_fluent_def.rb
264
+ - spec/unit/language/syntax/to_ast/test_event_set.rb
265
+ - spec/unit/language/syntax/to_ast/test_bool_expr.rb
276
266
  - spec/unit/language/test_syntax.rb
267
+ - spec/unit/language/grammar_sexp/test_when_clause.rb
268
+ - spec/unit/language/grammar_sexp/test_nop_st.rb
269
+ - spec/unit/language/grammar_sexp/test_case_st.rb
270
+ - spec/unit/language/grammar_sexp/test_initially.rb
271
+ - spec/unit/language/grammar_sexp/test_fluent_def.rb
272
+ - spec/unit/language/grammar_sexp/test_event_set.rb
273
+ - spec/unit/language/processors/test_scoping_helper.rb
274
+ - spec/unit/language/processors/test_elsif_flattener.rb
275
+ - spec/unit/language/processors/test_if_to_case.rb
276
+ - spec/unit/language/ast/test_bool_expr.rb
277
+ - spec/unit/compiling/test_to_glts.rb
278
+ - spec/unit/compiling/test_to_graph.rb
277
279
  - spec/unit/test_gisele.rb
278
- - spec/unit/test_language.rb
280
+ - spec/fixtures/tasks/simple.ast
281
+ - spec/fixtures/tasks/simple.gis
282
+ - spec/fixtures/tasks/complete.gis
279
283
  - tasks/debug_mail.rake
280
- - tasks/debug_mail.txt
284
+ - tasks/yard.rake
281
285
  - tasks/gem.rake
282
286
  - tasks/spec_test.rake
283
287
  - tasks/unit_test.rake
284
- - tasks/yard.rake
288
+ - tasks/debug_mail.txt
285
289
  homepage: https://github.com/blambeau/gisele
286
290
  licenses: []
287
291
  post_install_message:
@@ -294,9 +298,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
294
298
  - - ! '>='
295
299
  - !ruby/object:Gem::Version
296
300
  version: '0'
297
- segments:
298
- - 0
299
- hash: 1798935773122407326
300
301
  required_rubygems_version: !ruby/object:Gem::Requirement
301
302
  none: false
302
303
  requirements:
@@ -305,79 +306,77 @@ required_rubygems_version: !ruby/object:Gem::Requirement
305
306
  version: '0'
306
307
  requirements: []
307
308
  rubyforge_project:
308
- rubygems_version: 1.8.10
309
+ rubygems_version: 1.8.15
309
310
  signing_key:
310
311
  specification_version: 3
311
312
  summary: Gisele is a Process Analyzer Toolset
312
313
  test_files:
313
- - spec/command/main/gisele_ast_ruby.cmd
314
- - spec/command/main/gisele_ast_ruby.stdout
315
- - spec/command/main/gisele_graph.cmd
314
+ - spec/spec_helper.rb
315
+ - spec/command/test_command.rb
316
+ - spec/command/main/gisele_version.stdout
316
317
  - spec/command/main/gisele_graph.stdout
317
- - spec/command/main/gisele_help.cmd
318
- - spec/command/main/gisele_help.stdout
319
318
  - spec/command/main/gisele_no_sugar.cmd
320
319
  - spec/command/main/gisele_no_sugar.stdout
320
+ - spec/command/main/gisele_help.stdout
321
+ - spec/command/main/gisele_glts.cmd
322
+ - spec/command/main/gisele_help.cmd
323
+ - spec/command/main/gisele_ast_ruby.stdout
324
+ - spec/command/main/gisele_glts.stdout
325
+ - spec/command/main/gisele_graph.cmd
326
+ - spec/command/main/gisele_ast_ruby.cmd
321
327
  - spec/command/main/gisele_version.cmd
322
- - spec/command/main/gisele_version.stdout
323
- - spec/command/test_command.rb
324
- - spec/fixtures/tasks/complete.gis
325
- - spec/fixtures/tasks/simple.ast
326
- - spec/fixtures/tasks/simple.gis
327
- - spec/spec_helper.rb
328
328
  - spec/test_examples.rb
329
- - spec/unit/language/ast/test_node.rb
330
- - spec/unit/language/grammar_sexp/test_case_st.rb
331
- - spec/unit/language/grammar_sexp/test_event_set.rb
332
- - spec/unit/language/grammar_sexp/test_fluent_def.rb
333
- - spec/unit/language/grammar_sexp/test_initially.rb
334
- - spec/unit/language/grammar_sexp/test_nop_st.rb
335
- - spec/unit/language/grammar_sexp/test_when_clause.rb
336
- - spec/unit/language/processors/test_elsif_flattener.rb
337
- - spec/unit/language/processors/test_if_to_case.rb
338
- - spec/unit/language/processors/test_to_graph.rb
339
- - spec/unit/language/rewriter/test_helper.rb
340
- - spec/unit/language/rewriter/test_scoping.rb
341
- - spec/unit/language/rewriter/test_work_on_nodes.rb
342
- - spec/unit/language/syntax/grammar/test_bool_expr.rb
329
+ - spec/unit/language/syntax/grammar/test_when_clause.rb
330
+ - spec/unit/language/syntax/grammar/test_trackvar_def.rb
331
+ - spec/unit/language/syntax/grammar/test_seq_st.rb
332
+ - spec/unit/language/syntax/grammar/test_process_statement.rb
333
+ - spec/unit/language/syntax/grammar/test_unit_def.rb
334
+ - spec/unit/language/syntax/grammar/test_if_st.rb
343
335
  - spec/unit/language/syntax/grammar/test_boolean_literal.rb
344
- - spec/unit/language/syntax/grammar/test_case_st.rb
336
+ - spec/unit/language/syntax/grammar/test_task_def.rb
337
+ - spec/unit/language/syntax/grammar/test_spacing.rb
338
+ - spec/unit/language/syntax/grammar/test_task_start_or_end.rb
339
+ - spec/unit/language/syntax/grammar/test_spaces.rb
345
340
  - spec/unit/language/syntax/grammar/test_event.rb
346
- - spec/unit/language/syntax/grammar/test_event_name.rb
347
- - spec/unit/language/syntax/grammar/test_event_set.rb
348
- - spec/unit/language/syntax/grammar/test_fluent_def.rb
349
- - spec/unit/language/syntax/grammar/test_if_st.rb
341
+ - spec/unit/language/syntax/grammar/test_while_st.rb
350
342
  - spec/unit/language/syntax/grammar/test_par_st.rb
351
- - spec/unit/language/syntax/grammar/test_process_statement.rb
352
- - spec/unit/language/syntax/grammar/test_seq_st.rb
353
- - spec/unit/language/syntax/grammar/test_spaces.rb
354
- - spec/unit/language/syntax/grammar/test_spacing.rb
355
- - spec/unit/language/syntax/grammar/test_task_def.rb
356
343
  - spec/unit/language/syntax/grammar/test_task_name.rb
357
- - spec/unit/language/syntax/grammar/test_task_start_or_end.rb
358
- - spec/unit/language/syntax/grammar/test_trackvar_def.rb
359
- - spec/unit/language/syntax/grammar/test_unit_def.rb
344
+ - spec/unit/language/syntax/grammar/test_case_st.rb
360
345
  - spec/unit/language/syntax/grammar/test_variable_name.rb
361
- - spec/unit/language/syntax/grammar/test_when_clause.rb
362
- - spec/unit/language/syntax/grammar/test_while_st.rb
363
- - spec/unit/language/syntax/to_ast/test_bool_expr.rb
364
- - spec/unit/language/syntax/to_ast/test_case_st.rb
346
+ - spec/unit/language/syntax/grammar/test_fluent_def.rb
347
+ - spec/unit/language/syntax/grammar/test_event_set.rb
348
+ - spec/unit/language/syntax/grammar/test_bool_expr.rb
349
+ - spec/unit/language/syntax/grammar/test_event_name.rb
350
+ - spec/unit/language/syntax/to_ast/test_when_clause.rb
365
351
  - spec/unit/language/syntax/to_ast/test_else_clause.rb
366
- - spec/unit/language/syntax/to_ast/test_elsif_clause.rb
367
- - spec/unit/language/syntax/to_ast/test_event_set.rb
368
- - spec/unit/language/syntax/to_ast/test_fluent_def.rb
369
- - spec/unit/language/syntax/to_ast/test_if_st.rb
370
- - spec/unit/language/syntax/to_ast/test_par_st.rb
371
- - spec/unit/language/syntax/to_ast/test_seq_st.rb
372
- - spec/unit/language/syntax/to_ast/test_task_call_st.rb
373
- - spec/unit/language/syntax/to_ast/test_task_def.rb
374
352
  - spec/unit/language/syntax/to_ast/test_trackvar_def.rb
375
- - spec/unit/language/syntax/to_ast/test_unit_def.rb
353
+ - spec/unit/language/syntax/to_ast/test_seq_st.rb
376
354
  - spec/unit/language/syntax/to_ast/test_var_ref.rb
377
- - spec/unit/language/syntax/to_ast/test_when_clause.rb
355
+ - spec/unit/language/syntax/to_ast/test_unit_def.rb
356
+ - spec/unit/language/syntax/to_ast/test_if_st.rb
357
+ - spec/unit/language/syntax/to_ast/test_task_def.rb
358
+ - spec/unit/language/syntax/to_ast/test_elsif_clause.rb
378
359
  - spec/unit/language/syntax/to_ast/test_while_st.rb
379
- - spec/unit/language/test_ast.rb
380
- - spec/unit/language/test_rewriter.rb
360
+ - spec/unit/language/syntax/to_ast/test_par_st.rb
361
+ - spec/unit/language/syntax/to_ast/test_task_call_st.rb
362
+ - spec/unit/language/syntax/to_ast/test_case_st.rb
363
+ - spec/unit/language/syntax/to_ast/test_fluent_def.rb
364
+ - spec/unit/language/syntax/to_ast/test_event_set.rb
365
+ - spec/unit/language/syntax/to_ast/test_bool_expr.rb
381
366
  - spec/unit/language/test_syntax.rb
367
+ - spec/unit/language/grammar_sexp/test_when_clause.rb
368
+ - spec/unit/language/grammar_sexp/test_nop_st.rb
369
+ - spec/unit/language/grammar_sexp/test_case_st.rb
370
+ - spec/unit/language/grammar_sexp/test_initially.rb
371
+ - spec/unit/language/grammar_sexp/test_fluent_def.rb
372
+ - spec/unit/language/grammar_sexp/test_event_set.rb
373
+ - spec/unit/language/processors/test_scoping_helper.rb
374
+ - spec/unit/language/processors/test_elsif_flattener.rb
375
+ - spec/unit/language/processors/test_if_to_case.rb
376
+ - spec/unit/language/ast/test_bool_expr.rb
377
+ - spec/unit/compiling/test_to_glts.rb
378
+ - spec/unit/compiling/test_to_graph.rb
382
379
  - spec/unit/test_gisele.rb
383
- - spec/unit/test_language.rb
380
+ - spec/fixtures/tasks/simple.ast
381
+ - spec/fixtures/tasks/simple.gis
382
+ - spec/fixtures/tasks/complete.gis