myco 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/lib/myco/code_tools/AST/ArgumentAssembly.my.rb +4 -4
  3. data/lib/myco/code_tools/AST/ArrayAssembly.my.rb +4 -4
  4. data/lib/myco/code_tools/AST/Block.my +104 -0
  5. data/lib/myco/code_tools/AST/Block.my.rb +126 -0
  6. data/lib/myco/code_tools/AST/BlockArgument.my.rb +4 -4
  7. data/lib/myco/code_tools/AST/BlockLiteral.my +15 -94
  8. data/lib/myco/code_tools/AST/BlockLiteral.my.rb +18 -121
  9. data/lib/myco/code_tools/AST/BlockParameter.my.rb +4 -4
  10. data/lib/myco/code_tools/AST/BranchOperator.my.rb +4 -4
  11. data/lib/myco/code_tools/AST/ConstantAccess.my.rb +4 -4
  12. data/lib/myco/code_tools/AST/ConstantAssignment.my.rb +4 -4
  13. data/lib/myco/code_tools/AST/ConstantDefine.my.rb +4 -4
  14. data/lib/myco/code_tools/AST/ConstantReopen.my.rb +6 -6
  15. data/lib/myco/code_tools/AST/DeclareCategory.my.rb +6 -6
  16. data/lib/myco/code_tools/AST/DeclareDecorator.my.rb +4 -4
  17. data/lib/myco/code_tools/AST/DeclareFile.my.rb +6 -6
  18. data/lib/myco/code_tools/AST/DeclareMeme.my +3 -1
  19. data/lib/myco/code_tools/AST/DeclareMeme.my.rb +10 -6
  20. data/lib/myco/code_tools/AST/DeclareObject.my.rb +6 -6
  21. data/lib/myco/code_tools/AST/DeclareString.my.rb +4 -4
  22. data/lib/myco/code_tools/AST/DynamicString.my.rb +4 -4
  23. data/lib/myco/code_tools/AST/DynamicSymbol.my.rb +4 -4
  24. data/lib/myco/code_tools/AST/Invoke.my +3 -4
  25. data/lib/myco/code_tools/AST/Invoke.my.rb +5 -15
  26. data/lib/myco/code_tools/AST/InvokeMethod.my.rb +4 -4
  27. data/lib/myco/code_tools/AST/KeywordAssembly.my.rb +4 -4
  28. data/lib/myco/code_tools/AST/LocalVariableAccessAmbiguous.my.rb +4 -4
  29. data/lib/myco/code_tools/AST/LocalVariableAssignment.my.rb +4 -4
  30. data/lib/myco/code_tools/AST/MycoModuleScope.my +1 -1
  31. data/lib/myco/code_tools/AST/MycoModuleScope.my.rb +2 -2
  32. data/lib/myco/code_tools/AST/Node.my.rb +4 -4
  33. data/lib/myco/code_tools/AST/ParameterAssembly.my.rb +4 -4
  34. data/lib/myco/code_tools/AST/PipeOperator.my +25 -0
  35. data/lib/myco/code_tools/AST/PipeOperator.my.rb +28 -0
  36. data/lib/myco/code_tools/AST/Quest.my.rb +7 -7
  37. data/lib/myco/code_tools/AST/Script.my.rb +4 -4
  38. data/lib/myco/code_tools/AST/{Body.my → Sequence.my} +2 -2
  39. data/lib/myco/code_tools/AST/{Body.my.rb → Sequence.my.rb} +6 -6
  40. data/lib/myco/code_tools/AST/SplatValue.my.rb +4 -4
  41. data/lib/myco/code_tools/AST/StringLiteral.my.rb +4 -4
  42. data/lib/myco/code_tools/AST/SymbolLiteral.my.rb +4 -4
  43. data/lib/myco/code_tools/AST/ToRuby.my +9 -3
  44. data/lib/myco/code_tools/AST/ToRuby.my.rb +7 -5
  45. data/lib/myco/code_tools/AST/misc.my.rb +17 -17
  46. data/lib/myco/code_tools/AST.my +5 -3
  47. data/lib/myco/code_tools/AST.my.rb +7 -6
  48. data/lib/myco/code_tools/Parser.my.rb +4 -4
  49. data/lib/myco/code_tools/parser/MycoBuilder.my.rb +1 -1
  50. data/lib/myco/code_tools/parser/MycoCharacterClasses.my.rb +2 -2
  51. data/lib/myco/code_tools/parser/MycoGrammar.my +68 -25
  52. data/lib/myco/code_tools/parser/MycoGrammar.my.rb +126 -51
  53. data/lib/myco/code_tools/parser/MycoTokens.my +3 -2
  54. data/lib/myco/code_tools/parser/MycoTokens.my.rb +11 -7
  55. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/Builder.my.rb +2 -2
  56. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/BytecodeHelpers.my +1 -1
  57. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/BytecodeHelpers.my.rb +3 -3
  58. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/BytecodeInstructions.my +11 -11
  59. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/BytecodeInstructions.my.rb +11 -11
  60. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/BytecodeParser.my +1 -1
  61. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/BytecodeParser.my.rb +3 -6
  62. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/Constructions.my.rb +40 -40
  63. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/Grammar.my +3 -2
  64. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/Grammar.my.rb +9 -8
  65. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/Instructions.my.rb +2 -2
  66. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/Machine.my.rb +2 -2
  67. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/Parser.my.rb +2 -2
  68. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/Patterns.my.rb +44 -44
  69. data/lib/myco/code_tools/parser/pegleromyces/lib/pegleromyces/Processor.my.rb +4 -4
  70. data/lib/myco/tools/BasicCommand.my.rb +4 -4
  71. data/lib/myco/version.rb +1 -1
  72. metadata +16 -13
@@ -1,6 +1,6 @@
1
1
 
2
2
  ::Myco::Component.new([::Myco::FileToplevel], ::Myco.cscope.for_method_definition, __FILE__, __LINE__)
3
- .tap { |__c__| __c__.__last__ = __c__.component_eval {(::Myco.cscope.for_method_definition.const_set(:BasicCommand, ::Myco::Component.new([::Myco.find_constant(:Object)], ::Myco.cscope.for_method_definition, __FILE__, __LINE__)
3
+ .tap { |__c__| __c__.__last__ = __c__.component_eval {(::Myco.cscope.for_method_definition::BasicCommand = ::Myco::Component.new([::Myco.find_constant(:Object)], ::Myco.cscope.for_method_definition, __FILE__, __LINE__)
4
4
  .tap { |__c__| __c__.__last__ = __c__.component_eval {(
5
5
  declare_meme(:banner, [], nil, ::Myco.cscope.dup) { |*| ("")}
6
6
  declare_meme(:width, [], nil, ::Myco.cscope.dup) { |*| (30)}
@@ -32,7 +32,7 @@
32
32
  parser
33
33
  )}
34
34
  declare_meme(:show_help, [], nil, ::Myco.cscope.dup) { |*| (self.puts(self.options_parser.to_s))}
35
- ::Myco.cscope.for_method_definition.const_set(:Option, ::Myco::Component.new([::Myco.find_constant(:Object)], ::Myco.cscope.for_method_definition, __FILE__, __LINE__)
35
+ ::Myco.cscope.for_method_definition::Option = ::Myco::Component.new([::Myco.find_constant(:Object)], ::Myco.cscope.for_method_definition, __FILE__, __LINE__)
36
36
  .tap { |__c__| __c__.__last__ = __c__.component_eval {(
37
37
  declare_meme(:parser, [[:var, []]], nil, ::Myco.cscope.dup) { |*| nil}
38
38
  declare_meme(:register_in_parser, [], nil, ::Myco.cscope.dup) { |parser, name| (
@@ -53,9 +53,9 @@
53
53
  arg
54
54
  ))}
55
55
  )}
56
- )}})
56
+ )}}
57
57
  .tap { |__c__| __c__.__name__ = :Option }
58
58
  __category__(:options).component_eval {nil}
59
59
  __category__(:commands).component_eval {nil}
60
- )}})
60
+ )}}
61
61
  .tap { |__c__| __c__.__name__ = :BasicCommand })}}.instance
data/lib/myco/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Myco
3
- MYCO_VERSION = '0.1.5'
3
+ MYCO_VERSION = '0.1.6'
4
4
 
5
5
  MYCO_REQUIRED_GEMS = [
6
6
  ['rubinius-toolset', '~> 2.3'],
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe McIlvain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-21 00:00:00.000000000 Z
11
+ date: 2015-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- type: :runtime
15
14
  version_requirements: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - "~>"
@@ -24,8 +23,8 @@ dependencies:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
25
  version: '2.3'
27
- - !ruby/object:Gem::Dependency
28
26
  type: :runtime
27
+ - !ruby/object:Gem::Dependency
29
28
  version_requirements: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
@@ -38,8 +37,8 @@ dependencies:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
39
  version: '2.2'
40
+ type: :runtime
41
41
  - !ruby/object:Gem::Dependency
42
- type: :development
43
42
  version_requirements: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - "~>"
@@ -52,8 +51,8 @@ dependencies:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
53
  version: '1.6'
55
- - !ruby/object:Gem::Dependency
56
54
  type: :development
55
+ - !ruby/object:Gem::Dependency
57
56
  version_requirements: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - "~>"
@@ -66,8 +65,8 @@ dependencies:
66
65
  - - "~>"
67
66
  - !ruby/object:Gem::Version
68
67
  version: '10.3'
69
- - !ruby/object:Gem::Dependency
70
68
  type: :development
69
+ - !ruby/object:Gem::Dependency
71
70
  version_requirements: !ruby/object:Gem::Requirement
72
71
  requirements:
73
72
  - - "~>"
@@ -80,8 +79,8 @@ dependencies:
80
79
  - - "~>"
81
80
  - !ruby/object:Gem::Version
82
81
  version: '0.9'
83
- - !ruby/object:Gem::Dependency
84
82
  type: :development
83
+ - !ruby/object:Gem::Dependency
85
84
  version_requirements: !ruby/object:Gem::Requirement
86
85
  requirements:
87
86
  - - "~>"
@@ -94,8 +93,8 @@ dependencies:
94
93
  - - "~>"
95
94
  - !ruby/object:Gem::Version
96
95
  version: '1.4'
97
- - !ruby/object:Gem::Dependency
98
96
  type: :development
97
+ - !ruby/object:Gem::Dependency
99
98
  version_requirements: !ruby/object:Gem::Requirement
100
99
  requirements:
101
100
  - - "~>"
@@ -108,8 +107,8 @@ dependencies:
108
107
  - - "~>"
109
108
  - !ruby/object:Gem::Version
110
109
  version: '3.0'
111
- - !ruby/object:Gem::Dependency
112
110
  type: :development
111
+ - !ruby/object:Gem::Dependency
113
112
  version_requirements: !ruby/object:Gem::Requirement
114
113
  requirements:
115
114
  - - "~>"
@@ -122,6 +121,7 @@ dependencies:
122
121
  - - "~>"
123
122
  - !ruby/object:Gem::Version
124
123
  version: '1.3'
124
+ type: :development
125
125
  description: An experimental language on the Rubinius VM
126
126
  email: joe.eli.mac@gmail.com
127
127
  executables:
@@ -152,14 +152,14 @@ files:
152
152
  - lib/myco/code_tools/AST/ArgumentAssembly.my.rb
153
153
  - lib/myco/code_tools/AST/ArrayAssembly.my
154
154
  - lib/myco/code_tools/AST/ArrayAssembly.my.rb
155
+ - lib/myco/code_tools/AST/Block.my
156
+ - lib/myco/code_tools/AST/Block.my.rb
155
157
  - lib/myco/code_tools/AST/BlockArgument.my
156
158
  - lib/myco/code_tools/AST/BlockArgument.my.rb
157
159
  - lib/myco/code_tools/AST/BlockLiteral.my
158
160
  - lib/myco/code_tools/AST/BlockLiteral.my.rb
159
161
  - lib/myco/code_tools/AST/BlockParameter.my
160
162
  - lib/myco/code_tools/AST/BlockParameter.my.rb
161
- - lib/myco/code_tools/AST/Body.my
162
- - lib/myco/code_tools/AST/Body.my.rb
163
163
  - lib/myco/code_tools/AST/BranchOperator.my
164
164
  - lib/myco/code_tools/AST/BranchOperator.my.rb
165
165
  - lib/myco/code_tools/AST/ConstantAccess.my
@@ -202,10 +202,14 @@ files:
202
202
  - lib/myco/code_tools/AST/Node.my.rb
203
203
  - lib/myco/code_tools/AST/ParameterAssembly.my
204
204
  - lib/myco/code_tools/AST/ParameterAssembly.my.rb
205
+ - lib/myco/code_tools/AST/PipeOperator.my
206
+ - lib/myco/code_tools/AST/PipeOperator.my.rb
205
207
  - lib/myco/code_tools/AST/Quest.my
206
208
  - lib/myco/code_tools/AST/Quest.my.rb
207
209
  - lib/myco/code_tools/AST/Script.my
208
210
  - lib/myco/code_tools/AST/Script.my.rb
211
+ - lib/myco/code_tools/AST/Sequence.my
212
+ - lib/myco/code_tools/AST/Sequence.my.rb
209
213
  - lib/myco/code_tools/AST/SplatValue.my
210
214
  - lib/myco/code_tools/AST/SplatValue.my.rb
211
215
  - lib/myco/code_tools/AST/StringLiteral.my
@@ -300,4 +304,3 @@ signing_key:
300
304
  specification_version: 4
301
305
  summary: An experimental language on the Rubinius VM
302
306
  test_files: []
303
- has_rdoc: