359 Commits

Author SHA1 Message Date
Volker Berlin
855713a519
fix CONTINUE in a CATCH block 2022-07-24 14:29:32 +02:00
Volker Berlin
0ff60a2809
A middle block should not start at beginning of a CATCH block 2022-07-16 15:17:59 +02:00
Volker Berlin
9da6d8e736
Add the compiler flag "IgnoreNative" to generate stubs for rall not replaced, referenced native methods. #43 2022-06-26 17:36:30 +02:00
Volker Berlin
330634ea7f
fix TRY CATCH inside a loop without end marker. 2022-06-26 16:19:40 +02:00
Volker Berlin
9d1c9ee93b
expand a loop if there is a SWICH structure that point outside the loop. #43 2022-06-19 16:20:17 +02:00
Volker Berlin
062e2aeb47
fix while(true) inside a while(true) loop. #43 2022-06-16 22:47:22 +02:00
Volker Berlin
4611474ec5
Fix TRY CATCH with RETURN. 2022-06-12 21:02:43 +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
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
9acda37be4
fix conditionals expressions as method parameters in a SWITCH. 2022-05-07 21:19:48 +02:00
zephyr
fe3609649f Fix the serialization format error of sourceRoot field in sourcemap. 2022-05-05 17:16:17 +08:00
Volker Berlin
379d2e5c27 Enums is working now 2022-03-20 18:09:06 +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
8ce6c1d919 Add also the result/stack if possible also if execution of the script is failing. 2022-03-19 20:37:20 +01:00
Volker Berlin
f52c41ae14 fix loop detection for nested loops 2022-03-13 14:16:31 +01:00
Volker Berlin
710127bb44 Fix NULL values for INSTANCEOF and CAST. 2022-03-06 17:00:41 +01:00
Volker Berlin
9f0f82bb06 Use also RETURN in the BranchManager to calculate the IF THEN ELSE blocks. 2022-02-19 22:15:56 +01:00
Volker Berlin
7f9353833e use again the latest WABT version. see https://github.com/WebAssembly/wabt/issues/1812 2022-02-19 12:58:52 +01:00
Volker Berlin
1f045f312d Switch the parameter order for lambda expressions 2022-02-13 17:15:54 +01:00
Volker Berlin
86f95ad3bb fix WHILE loop after a return 2022-02-13 13:18:32 +01:00
Volker Berlin
8eac318ef8 Use hard-coded WABT pre-release until the latest WABT version is corrected. see https://github.com/WebAssembly/wabt/issues/1812 2022-01-30 14:53:27 +01:00
Volker Berlin
71d2b91895 fix a while loop in ELSE after an return. 2022-01-30 14:34:39 +01:00
Volker Berlin
ec7f23a35f Fix a loop inside an ELSE block 2022-01-23 16:48:40 +01:00
Volker Berlin
27faeada39 fix concatenated conditional operators 2022-01-01 21:03:06 +01:00
Volker Berlin
d68c74f032 Normalize empty THEN blocks to fix concated conditional operators 2021-12-26 20:17:15 +01:00
Volker Berlin
effd5813c9 Handle a GOTO instruction that come from a CONTINUE in a loop. 2021-11-16 21:28:11 +01:00
Volker Berlin
2c176b9a3f scan also super interfaces for default methods of needed method 2021-11-14 13:41:20 +01:00
Volker Berlin
53a6f8c074 disable not working tests 2021-10-24 17:52:11 +02:00
Volker Berlin
e186703dd4 disabled wabt.js because https://github.com/AssemblyScript/wabt.js/issues/26 2021-10-24 15:45:14 +02:00
Volker Berlin
87be1faafe Handle Conditional operator inside an if expression 2021-10-24 15:29:12 +02:00
Volker Berlin
fec40f1d40 Improve test speed on error. 2021-08-29 15:11:17 +02:00
Volker Berlin
76b84e3eee Typing error 2021-08-29 12:17:54 +02:00
Volker Berlin
4d1c2730bb try with sudo for github actions 2021-07-10 22:57:10 +02:00
Volker Berlin
d2ab56d61a API Doc 2021-07-10 18:44:11 +02:00
Volker Berlin
bac4522cfc correct decoding of exception handling 2021-06-13 19:36:03 +02:00
Volker Berlin
5fef399743 Handle DUP2 as two dup if used for non 64 bit values from stack (non variables) 2021-06-06 21:26:24 +02:00
Volker Berlin
3003daf65f implements Class.isPrimitive() 2021-05-30 15:35:37 +02:00
Volker Berlin
6520370e02 Handle DUP2 as two dup if used for non 64 bit values 2021-05-23 22:12:29 +02:00
Volker Berlin
534cd19c0f implements Class.getSimpleName() 2021-05-23 14:36:18 +02:00
Volker Berlin
4f4f9ddc29 implement Class.isArray 2021-05-23 12:42:37 +02:00
Volker Berlin
4e9e5ca069 Fix IF construct with conditional operator inside THEN. 2021-05-16 18:44:23 +02:00
Volker Berlin
922c7dbd71 lambda tests 2021-04-17 20:27:51 +02:00
Volker Berlin
1771ab1f39 Add support for Lambda expressions with parameters 2021-04-03 22:06:39 +02:00
Volker Berlin
6d4379b2e8 implements StructType.isSubTypeOf(x) for Arrays and Lambdas 2021-03-28 20:32:52 +02:00
Volker Berlin
1f167d99b9 implements StructType.isSubTypeOf(x) 2021-03-28 15:16:45 +02:00
Volker Berlin
43ae520d5a Ignore not existing paths and does not show an error message. 2021-03-27 13:31:29 +01:00
Volker Berlin
a80e3efa93 Wabt.js support the new exception proposal now 2021-03-09 20:07:57 +01:00
Volker Berlin
a6222e634b WABT supports the current exception proposal now 2021-03-03 18:10:08 +01:00
Volker Berlin
27199c53db use node version 16.0.0-v8-canary2021.02.23 2021-02-23 18:29:18 +01:00
Volker Berlin
bb97efa1f5 enable lambda expressions 2021-01-24 18:57:00 +01:00