dtr_to_rust 0.14.5 → 0.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/soroban_rust_backend.rb +32 -34
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06ead4aca0be96aad916b9bcf698872601b95af15ab0af7fcdb6d0576d639a96
|
4
|
+
data.tar.gz: bca7fe27e3988993ef4a28ac17412af4e5e76fbd4d42c9f8ecfa7b56cffc3bd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6ea0dd23bb5c70d074d8b15a5c9b5c6aa00145fa5ccec8fe3d3182efd14aa843735b9a5e13286c4544ac1679e8f31ca32afacaba477d4df2be1ff3062f63e92
|
7
|
+
data.tar.gz: fbbfde7d90119186ae17a50be67fcc1d5f86c50b0286c60188a99d7cd4a10487223fb804ed7aa8154debf115c4982e19acad89b8a137ef94c26a6e2a36f5549a
|
data/lib/soroban_rust_backend.rb
CHANGED
@@ -2,52 +2,50 @@ require 'dtr_core'
|
|
2
2
|
|
3
3
|
# This is the main module for the DTR to Rust gem.
|
4
4
|
module SorobanRustBackend
|
5
|
-
autoload :LCPBT_Forrest, '
|
6
|
-
autoload :LeftChildPreferentialBinaryTree, '
|
7
|
-
autoload :Silviculturist, '
|
8
|
-
autoload :CodeGenerator, '
|
9
|
-
autoload :
|
10
|
-
autoload :
|
11
|
-
autoload :
|
12
|
-
autoload :
|
13
|
-
autoload :ContractHandler, './lib/contract_handler'
|
5
|
+
autoload :LCPBT_Forrest, 'lcpbt_forrest'
|
6
|
+
autoload :LeftChildPreferentialBinaryTree, 'left_child_preferential_binary_tree'
|
7
|
+
autoload :Silviculturist, 'silviculturist'
|
8
|
+
autoload :CodeGenerator, 'code_generator'
|
9
|
+
autoload :InstructionHandler, 'instruction_handler'
|
10
|
+
autoload :UserDefinedTypesHandler, 'user_defined_types_handler'
|
11
|
+
autoload :FunctionHandler, 'function_handler'
|
12
|
+
autoload :ContractHandler, 'contract_handler'
|
14
13
|
|
15
14
|
# This module contains all the classes that handle the different types of instructions.
|
16
15
|
module Instruction
|
17
|
-
autoload :Evaluate, '
|
18
|
-
autoload :Field, '
|
19
|
-
autoload :Handler, '
|
20
|
-
autoload :Print, '
|
21
|
-
autoload :Return, '
|
22
|
-
autoload :InstantiateObject, '
|
23
|
-
autoload :Add, '
|
24
|
-
autoload :Subtract, '
|
25
|
-
autoload :Multiply, '
|
26
|
-
autoload :Divide, '
|
27
|
-
autoload :Assign, '
|
28
|
-
autoload :Jump, '
|
29
|
-
autoload :
|
30
|
-
autoload :
|
31
|
-
autoload :
|
32
|
-
autoload :
|
33
|
-
autoload :
|
34
|
-
autoload :
|
35
|
-
autoload :
|
36
|
-
autoload :
|
37
|
-
autoload :BinaryInstruction, './lib/instruction/binary_instruction'
|
16
|
+
autoload :Evaluate, 'instruction/evaluate'
|
17
|
+
autoload :Field, 'instruction/field'
|
18
|
+
autoload :Handler, 'instruction/handler'
|
19
|
+
autoload :Print, 'instruction/print'
|
20
|
+
autoload :Return, 'instruction/return'
|
21
|
+
autoload :InstantiateObject, 'instruction/instantiate_object'
|
22
|
+
autoload :Add, 'instruction/add'
|
23
|
+
autoload :Subtract, 'instruction/subtract'
|
24
|
+
autoload :Multiply, 'instruction/multiply'
|
25
|
+
autoload :Divide, 'instruction/divide'
|
26
|
+
autoload :Assign, 'instruction/assign'
|
27
|
+
autoload :Jump, 'instruction/jump'
|
28
|
+
autoload :ExitWithMessage, 'instruction/exit_with_message'
|
29
|
+
autoload :And, 'instruction/and'
|
30
|
+
autoload :Or, 'instruction/or'
|
31
|
+
autoload :EndOfIterationCheck, 'instruction/end_of_iteration_check'
|
32
|
+
autoload :Increment, 'instruction/increment'
|
33
|
+
autoload :TryAssign, 'instruction/try_assign'
|
34
|
+
autoload :Break, 'instruction/break'
|
35
|
+
autoload :BinaryInstruction, 'instruction/binary_instruction'
|
38
36
|
end
|
39
37
|
|
40
38
|
module Common
|
41
|
-
autoload :TypeTranslator, '
|
42
|
-
autoload :InputInterpreter, '
|
39
|
+
autoload :TypeTranslator, 'common/type_translator'
|
40
|
+
autoload :InputInterpreter, 'common/input_interpreter'
|
43
41
|
end
|
44
42
|
|
45
43
|
module NonTranslatables
|
46
|
-
autoload :Handler, '
|
44
|
+
autoload :Handler, 'non_translatables/handler'
|
47
45
|
end
|
48
46
|
|
49
47
|
module ContractState
|
50
|
-
autoload :Handler, '
|
48
|
+
autoload :Handler, 'contract_state/handler'
|
51
49
|
end
|
52
50
|
end
|
53
51
|
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dtr_to_rust
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Durst
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2024-07-19 00:00:00.000000000 Z
|
@@ -55,7 +55,7 @@ licenses:
|
|
55
55
|
- MIT
|
56
56
|
metadata:
|
57
57
|
rubygems_mfa_required: 'true'
|
58
|
-
post_install_message:
|
58
|
+
post_install_message:
|
59
59
|
rdoc_options: []
|
60
60
|
require_paths:
|
61
61
|
- lib
|
@@ -70,8 +70,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
|
-
rubygems_version: 3.
|
74
|
-
signing_key:
|
73
|
+
rubygems_version: 3.5.13
|
74
|
+
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Rust to DTR translator (Digicus Textual Representation).
|
77
77
|
test_files: []
|