1171 Commits

Author SHA1 Message Date
Volker Berlin
511d31af67
Add support for a block with input and return type. 2022-06-18 19:47:43 +02:00
Volker Berlin
4bb7f8f555
performance optimizing 2022-06-18 19:44:59 +02:00
Volker Berlin
062e2aeb47
fix while(true) inside a while(true) loop. #43 2022-06-16 22:47:22 +02:00
Volker Berlin
f5edb58911
define CATCH_ALL 2022-06-12 21:23:19 +02:00
Volker Berlin
4611474ec5
Fix TRY CATCH with RETURN. 2022-06-12 21:02:43 +02:00
Volker Berlin
a46cbe2bc5
fix handling of subopertions in a SWITCH and add more asserts. #43 2022-06-06 20:24:19 +02:00
Volker Berlin
4958cb2f46
convert also AssertErrors to WasmExceptions 2022-06-06 15:37:12 +02:00
Volker Berlin
442e0c896c
Use the normal break handling for the GOTO in the CASEs of an SWITCH. This eliminates the need to calculate the end of the SWITCH structure. #43 2022-06-06 15:21:14 +02:00
Volker Berlin
c392afc76f
Use a BLOCK with input parameters for SWITCHES so that the start position of the SWITCH value does not have to be determined. #43 2022-06-05 23:04:12 +02:00
Volker Berlin
3d5543fa38
toString() for debugging 2022-06-05 19:16:33 +02:00
Volker Berlin
56f46fcbe6
parse lambdas with two interfaces 2022-06-05 00:00:16 +02:00
Volker Berlin
f393802418
fix BranchNode order for some complex constructs. #43 2022-05-29 10:47:50 +02:00
Volker Berlin
d182bace9a
Catch block should not larger as the parent. 2022-05-28 21:40:31 +02:00
Volker Berlin
b4828b4659
Handle also Lamba for interfaces 2022-05-28 21:36:00 +02:00
Volker Berlin
97f9fb39a7
Ignore parsing errors on non *.class files which can be add through build systems. #41 2022-05-28 16:36:37 +02:00
Volker Berlin
ad93c2c10b
Parse also the annotation types: class, enum and annotation. #41 2022-05-28 15:48:13 +02:00
Volker Berlin
d46050a3a3
Does not include the end position of a block in findChildNodeAt() 2022-05-27 21:42:09 +02:00
Volker Berlin
bf58d2968a
Change the used Wasm instruction from IF ELSE END to BLOCK BLOCK BR_IF END END to solve problems of complex if expressions. 2022-05-26 21:50:45 +02:00
Volker Berlin
d1b4e6af5a
add params to findBlockStart() 2022-05-22 19:10:34 +02:00
Volker Berlin
20c6516b59
toString() for debugging 2022-05-22 18:52:12 +02:00
Volker Berlin
5a22c94b29
Detect also marked as needed methods if the method was previous add as replacement 2022-05-22 18:36:36 +02:00
Volker Berlin
52dd9a1665
use "java/lang/Object" as fallback type for NULL values 2022-05-08 18:53:45 +02:00
Volker Berlin
23199840c8
An array returns i32 for i8 and i16. 2022-05-08 17:43:47 +02:00
Volker Berlin
9acda37be4
fix conditionals expressions as method parameters in a SWITCH. 2022-05-07 21:19:48 +02:00
Volker Berlin
f61a994d40 Merge branch 'master' of https://github.com/i-net-software/JWebAssembly.git 2022-05-05 20:39:08 +02:00
Volker Berlin
dc8e1fe70c
Merge pull request #34 from zephyraft/master
Fix the serialization format error of sourceRoot field in sourcemap.
2022-05-05 18:04:06 +02:00
zephyr
fe3609649f Fix the serialization format error of sourceRoot field in sourcemap. 2022-05-05 17:16:17 +08:00
Volker Berlin
4b2b65e883 prevent empty ELSE branches 2022-04-24 18:18:29 +02:00
Volker Berlin
2f8538dbf5 extract method calculateSubOperations() 2022-04-24 17:19:10 +02:00
Volker Berlin
aabff4d93c Use BR_IF if possible. 2022-04-24 16:19:41 +02:00
Volker Berlin
7aaf9619bd first step for field description of classes for reflection API 2022-04-18 23:20:17 +02:00
Volker Berlin
4525c29263 register callbacks only if imports is needed. 2022-04-18 23:10:18 +02:00
Volker Berlin
593c1ee50a api doc 2022-04-17 20:38:34 +02:00
Volker Berlin
128906e4ef add support for global.get/set for the WatParser 2022-04-16 17:31:48 +02:00
Volker Berlin
0dfb7c4a34 add forName(String,ClassLoader) and cast(Object) 2022-04-16 17:27:02 +02:00
Volker Berlin
9c7b69b2a7 Block duplicate export names 2022-04-10 11:35:20 +02:00
Volker Berlin
ee8e9c797e documentation link 2022-04-10 10:56:52 +02:00
Volker Berlin
a6b8862e25 Add support for callbacks in import annotations. 2022-04-03 13:58:43 +02:00
Volker Berlin
d8a1d6abf0 release candidate 2022-04-03 13:46:35 +02:00
Volker Berlin
4ceea41ebc remove bintrayUpload 2022-03-27 13:11:43 +02:00
Volker Berlin
d57b8bc00c Emuns and Collection framework work now v0.4 2022-03-20 18:54:20 +01:00
Volker Berlin
c2231241ab remove debug code 2022-03-20 18:28:37 +01:00
Volker Berlin
04fc77e8f7 micro optimizing 2022-03-20 18:17:24 +01:00
Volker Berlin
379d2e5c27 Enums is working now 2022-03-20 18:09:06 +01:00
Volker Berlin
09ab338aa7 correct type hierarchy in isSubTypeOf() 2022-03-20 18:06:08 +01:00
Volker Berlin
1f51fbf036 API doc 2022-03-20 18:02:09 +01:00
Volker Berlin
4fbce5800c use node version 17.0.0-v8-canary2021.10.19 2022-03-20 17:58:57 +01:00
Volker Berlin
8d17e7cfc5 Use the Enum hack fpr all used enums. Before it was for the enums in the libraries 2022-03-19 22:12:30 +01:00
Volker Berlin
bf0b43fd1a The writer must be prepared before the types are written. 2022-03-19 22:08:43 +01:00
Volker Berlin
8ce6c1d919 Add also the result/stack if possible also if execution of the script is failing. 2022-03-19 20:37:20 +01:00