wardite 0.1.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +178 -0
- data/Steepfile +1 -0
- data/examples/consts.wat +12 -0
- data/lib/wardite/alu_f32.generated.rb +250 -0
- data/lib/wardite/alu_f64.generated.rb +250 -0
- data/lib/wardite/alu_i32.generated.rb +457 -0
- data/lib/wardite/alu_i64.generated.rb +514 -0
- data/lib/wardite/convert.generated.rb +234 -0
- data/lib/wardite/instruction.rb +82 -33
- data/lib/wardite/leb128.rb +1 -1
- data/lib/wardite/value.rb +627 -0
- data/lib/wardite/version.rb +1 -1
- data/lib/wardite/wasi.rb +6 -4
- data/lib/wardite.rb +192 -115
- data/scripts/gen_alu.rb +750 -0
- data/scripts/gen_conv.rb +76 -0
- data/scripts/templates/alu_module.rb.tmpl +18 -0
- data/scripts/templates/conv_module.rb.tmpl +18 -0
- data/sig/generated/wardite/alu_f32.generated.rbs +11 -0
- data/sig/generated/wardite/alu_f64.generated.rbs +11 -0
- data/sig/generated/wardite/alu_i32.generated.rbs +11 -0
- data/sig/generated/wardite/alu_i64.generated.rbs +11 -0
- data/sig/generated/wardite/convert.generated.rbs +11 -0
- data/sig/generated/wardite/instruction.rbs +15 -6
- data/sig/generated/wardite/leb128.rbs +1 -1
- data/sig/generated/wardite/value.rbs +302 -0
- data/sig/generated/wardite/wasi.rbs +4 -2
- data/sig/generated/wardite.rbs +27 -12
- metadata +19 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wardite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uchio Kondo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A pure-ruby webassembly runtime
|
14
14
|
email:
|
@@ -25,6 +25,7 @@ files:
|
|
25
25
|
- examples/add.wasm
|
26
26
|
- examples/add.wat
|
27
27
|
- examples/call.wat
|
28
|
+
- examples/consts.wat
|
28
29
|
- examples/fib.wat
|
29
30
|
- examples/fib2.wat
|
30
31
|
- examples/helloworld.wat
|
@@ -34,15 +35,31 @@ files:
|
|
34
35
|
- examples/memory.wat
|
35
36
|
- exe/wardite
|
36
37
|
- lib/wardite.rb
|
38
|
+
- lib/wardite/alu_f32.generated.rb
|
39
|
+
- lib/wardite/alu_f64.generated.rb
|
40
|
+
- lib/wardite/alu_i32.generated.rb
|
41
|
+
- lib/wardite/alu_i64.generated.rb
|
37
42
|
- lib/wardite/const.rb
|
43
|
+
- lib/wardite/convert.generated.rb
|
38
44
|
- lib/wardite/instruction.rb
|
39
45
|
- lib/wardite/leb128.rb
|
46
|
+
- lib/wardite/value.rb
|
40
47
|
- lib/wardite/version.rb
|
41
48
|
- lib/wardite/wasi.rb
|
49
|
+
- scripts/gen_alu.rb
|
50
|
+
- scripts/gen_conv.rb
|
51
|
+
- scripts/templates/alu_module.rb.tmpl
|
52
|
+
- scripts/templates/conv_module.rb.tmpl
|
42
53
|
- sig/generated/wardite.rbs
|
54
|
+
- sig/generated/wardite/alu_f32.generated.rbs
|
55
|
+
- sig/generated/wardite/alu_f64.generated.rbs
|
56
|
+
- sig/generated/wardite/alu_i32.generated.rbs
|
57
|
+
- sig/generated/wardite/alu_i64.generated.rbs
|
43
58
|
- sig/generated/wardite/const.rbs
|
59
|
+
- sig/generated/wardite/convert.generated.rbs
|
44
60
|
- sig/generated/wardite/instruction.rbs
|
45
61
|
- sig/generated/wardite/leb128.rbs
|
62
|
+
- sig/generated/wardite/value.rbs
|
46
63
|
- sig/generated/wardite/version.rbs
|
47
64
|
- sig/generated/wardite/wasi.rbs
|
48
65
|
- sig/wardite.rbs
|