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 +4 -4
- data/lib/dtr_core/supported_attributes.rb +7 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a3cdffbc86ae587c123fbdd733fd4d1a8d9324607b0e5b34b62ccb514e39ac4
|
4
|
+
data.tar.gz: ca444a8b6ac9dd07877d5aff7815c1817ae22e621da932c5ccad7f34d9bbc9c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|