dtr_core 0.2.5 → 0.2.7

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: 71c160a63f67d1b82c407bbb6493f4f1df122157e36a65672a3f29849c48983c
4
- data.tar.gz: 19628d6a63efa55634b589b1d11b3e5da0a6d654c7bb1ef56baf93b452e13046
3
+ metadata.gz: bbd3b08f52ae2f6b9801c67ada71ffc019de63c1b2f7442a5b7923733e8b073b
4
+ data.tar.gz: dadca4ebd8765b87ebd91244be19023fedda9f7c482319096ba40bd91b26853a
5
5
  SHA512:
6
- metadata.gz: 66aa5ede8dec5cd1300b7ab5f3786812ba3cf78fef363f47e4dcf49b81f7ab2cc12a0d16cc4913226ec8ee54da4007b315b1bff568c4dfc3d2972b5edf9e9a2b
7
- data.tar.gz: 3a1e92adad72c46e14c2ca6027c2abe2e0c2b27bb926496ba7a68ddba16d6631a78908ba0930d73f87e85dd96ef6ad21a0798c619f6fa4eb850c0402cde8bce7
6
+ metadata.gz: 247ba1cdb793d7174507d9639cd3aea54ac550e57d3de7f904e244b36d754663b3a7bfd3011fb1cd8e6916d92355b5438b0742adf45b8a18f6a9c8e8cf906c3d
7
+ data.tar.gz: a03686874827722ec117b20bd7dd86335e54b6a02f8b50c463f45ae2b7dfcb3ea55ac27373871fff4f858ed606f41795b27f95a52fe17618e6fa8793ba1b16d6
@@ -6,12 +6,14 @@ module DTRCore
6
6
  ## Instruction Categories ##
7
7
  INSTRUCTION_CATEGORY_BASIC = 'basic'
8
8
  INSTRUCTION_CATEGORY_STATE = 'state'
9
+ INSTRUCTION_CATEGORY_UNTYPED = 'untyped'
9
10
  INSTRUCTION_CATEGORY_NUMERIC = 'numeric'
10
11
  INSTRUCTION_CATEGORY_STRING = 'string'
11
12
  INSTRUCTION_CATEGORY_ENVIRONMENT = 'environment'
12
13
  INSTRUCTION_CATEGORIES = [
13
14
  INSTRUCTION_CATEGORY_BASIC,
14
15
  INSTRUCTION_CATEGORY_STATE,
16
+ INSTRUCTION_CATEGORY_UNTYPED,
15
17
  INSTRUCTION_CATEGORY_NUMERIC,
16
18
  INSTRUCTION_CATEGORY_STRING,
17
19
  INSTRUCTION_CATEGORY_ENVIRONMENT
@@ -24,6 +26,8 @@ module DTRCore
24
26
  # state operations
25
27
  { name: 'fetch_state', description: 'Fetch a value from the state.', category: INSTRUCTION_CATEGORY_STATE },
26
28
  { name: 'save_state', description: 'Save a value to the state.', category: INSTRUCTION_CATEGORY_STATE },
29
+ # untyped operations
30
+ { name: 'add', description: 'Add two things of unknown types together.', category: INSTRUCTION_CATEGORY_UNTYPED },
27
31
  # numeric operations
28
32
  { name: 'add_numbers', description: 'Add two numbers.', category: INSTRUCTION_CATEGORY_NUMERIC },
29
33
  { name: 'subtract_numbers', description: 'Subtract two numbers.', category: INSTRUCTION_CATEGORY_NUMERIC },
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.2.5
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Durst