dtr_core 0.5.1 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 567cfc936d95095b577f5f92b9e07328c3b3225186d40bb3d04bc0e2d678eaa6
4
- data.tar.gz: f01122597f91ecc1db9c108a2effa96ac734a318dde48f14e54441bf10e31ced
3
+ metadata.gz: 6a3cdffbc86ae587c123fbdd733fd4d1a8d9324607b0e5b34b62ccb514e39ac4
4
+ data.tar.gz: ca444a8b6ac9dd07877d5aff7815c1817ae22e621da932c5ccad7f34d9bbc9c9
5
5
  SHA512:
6
- metadata.gz: 5e05a81b1d527c88bd2e5b172b662d12a12519ce85d6aa7648a66360160c32a47bb1ab5df6176d44a2d70af69c5ea761056da3ce23b979d32212801fa39c1396
7
- data.tar.gz: ea2f450d0a1873f217797dc1021ffe62778189d3c16df20c04038d7c3c9f715728223389dedd3c6a267e0f322d1263337a31d580e25a874d914699c2afdc217e
6
+ metadata.gz: 291a726b8b9f8d7986f400f6394cb812913c4b2018edec5f8cf84b4cef7322aac6ce73a814811f630373a5f6dbc90111b55d9089ed4fbad57d7e14baeb5e5c70
7
+ data.tar.gz: 8e8b1a022bff07ff1f67a50d51f9cb16c3ca34479b1e1f449ab0ca2cf7da6c48b9699e0693c4be251301ff1c003ed8ab16ace9a67862a5c18b3be76d7e4453e2
@@ -40,6 +40,9 @@ module DTRCore
40
40
  { name: 'add_and_assign',
41
41
  description: 'Add two things of unknown types together and then assign to the first one.',
42
42
  category: INSTRUCTION_CATEGORY_UNTYPED },
43
+ { name: 'subtract', description: 'Subtract two things of unknown types together.', category: INSTRUCTION_CATEGORY_UNTYPED },
44
+ { name: 'divide', description: 'Divide two things of unknown types together.', category: INSTRUCTION_CATEGORY_UNTYPED },
45
+ { name: 'multiply', description: 'Multiply two things of unknown types together.', category: INSTRUCTION_CATEGORY_UNTYPED },
43
46
  # numeric operations
44
47
  { name: 'add_numbers', description: 'Add two numbers.', category: INSTRUCTION_CATEGORY_NUMERIC },
45
48
  { name: 'subtract_numbers', description: 'Subtract two numbers.', category: INSTRUCTION_CATEGORY_NUMERIC },
@@ -55,12 +58,12 @@ module DTRCore
55
58
  category: INSTRUCTION_CATEGORY_METHODS },
56
59
  # object operations
57
60
  { name: 'field', description: 'Reference an object field.', category: INSTRUCTION_CATEGORY_OBJECTS },
58
- { name: 'initialize_udt', description: 'Instantiate UDT object.', category: INSTRUCTION_CATEGORY_OBJECTS }
61
+ { name: 'initialize_udt', description: 'Instantiate UDT object.', category: INSTRUCTION_CATEGORY_OBJECTS },
59
62
  # conditional operations
60
- { name: 'conditional_jump', description: 'Jump to a label if first input is true.', category: INSTRUCTION_CATEGORY_CONDITIONAL }
61
- { name: 'unconditional_jump', description: 'Jump to a no matter what.', category: INSTRUCTION_CATEGORY_CONDITIONAL }
63
+ { name: 'conditional_jump', description: 'Jump to a label if first input is true.', category: INSTRUCTION_CATEGORY_CONDITIONAL },
64
+ { name: 'unconditional_jump', description: 'Jump to a no matter what.', category: INSTRUCTION_CATEGORY_CONDITIONAL },
62
65
  # logical operations
63
- { name: 'and', description: 'Logical AND.', category: INSTRUCTION_CATEGORY_LOGICAL }
66
+ { name: 'and', description: 'Logical AND.', category: INSTRUCTION_CATEGORY_LOGICAL },
64
67
  { name: 'or', description: 'Logical OR.', category: INSTRUCTION_CATEGORY_LOGICAL }
65
68
  ].freeze
66
69
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtr_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Durst