35 Commits

Author SHA1 Message Date
Volker Berlin
82cf49aa41
fix lambda expressions with field access 2022-07-31 13:33:24 +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
6d2a90785c remove type annotation from ref.is_null. Disable node until a new v8 canary version is available. 2020-06-29 21:00:47 +02:00
Volker Berlin
cfbadfa226 anyref --> externref, add kind to ref.null and ref.is_null, https://github.com/WebAssembly/reference-types/pull/87 2020-05-30 23:06:29 +02:00
Volker Berlin
87359fb497 Simplify the try/catch structure 2020-04-18 13:09:11 +02:00
Volker Berlin
d3f7069cc8 pass the signature from synthetic functions to the wat parser. 2020-03-27 21:10:02 +01:00
Volker Berlin
02696a6488 use a synthetic function call to calculate the function id of a virtual call. 2020-02-25 18:05:12 +01:00
Volker Berlin
2f2c39a07a simplify the initializing 2020-02-24 21:08:29 +01:00
Volker Berlin
525a2f2f87 change the static ClassFile cache to an instance cache 2020-01-02 15:15:21 +01:00
Volker Berlin
9286113b0c more wat instructions 2019-11-19 19:48:24 +01:00
Volker Berlin
947f66502b Add support for i32.load to the wat parser and some small bug fixes 2019-11-18 21:32:35 +01:00
Volker Berlin
ed00c7a02f add support for i32.mul to wat parser 2019-11-18 17:36:26 +01:00
Volker Berlin
c6d569c66c add support for more const instructions on WatParser 2019-11-12 20:06:31 +01:00
Volker Berlin
8f36ed4d6d initial checkin for StringManager (WIP) 2019-11-10 12:57:58 +01:00
Volker Berlin
6d7c8b12a9 add support for ref.is_null to wat parser 2019-11-09 18:59:47 +01:00
Volker Berlin
0ae27b2c86 add support for local.tee to wat parser 2019-11-09 18:48:28 +01:00
Volker Berlin
baf7fb9cf0 Add table.set/get 2019-11-03 19:00:49 +01:00
Volker Berlin
d1bb7cac23 pass the method with signature to the VariableManager as fallback 2019-09-23 20:33:21 +02:00
Volker Berlin
b4d2f6caa2 use WasmOptions on more places for consistency 2019-09-10 17:49:05 +02:00
Volker Berlin
0b28099674 Add ArrayType and improve the Java type parser. 2019-08-14 20:07:39 +02:00
Volker Berlin
5883adc2af pass the compiler properties to sub classes 2019-08-08 19:28:27 +02:00
Volker Berlin
6d4bf1d347 improve wat parser 2019-07-25 16:50:38 +02:00
Volker Berlin
c2b8505634 Math.min/max operation 2019-07-18 19:21:11 +02:00
Volker Berlin
588ac6db47 implement reinterpret opcodes and use it in the WatParser. 2019-07-14 12:41:40 +02:00
Volker Berlin
c64c620a38 more math operation for the text format (Watparser) 2019-07-13 15:46:20 +02:00
Volker Berlin
3709e9cc55 Generalize the usage of WasmTarget 2019-06-30 14:43:45 +02:00
Volker Berlin
3d5e3af432 fix NPE after restructure 2019-06-09 23:25:28 +02:00
Volker Berlin
3d5a98627f improve wat parser for native support. #2 2019-03-12 21:21:06 +01:00
Volker Berlin
9bcc7347c1 Change the old text format to the new format. fix #3 2019-02-22 23:19:10 +01:00
Volker Berlin
f5ed8aeeb6 get_local --> local.get, set_local --> local.set, see #3 2019-02-20 21:42:52 +01:00
Volker Berlin
0e02db9985 write function lazy to the output to hold space free for more meta informations 2019-01-01 12:26:32 +01:00
Volker Berlin
fe442e42e6 implement max operation in text format 2018-11-16 20:27:19 +01:00
Volker Berlin
0119a2bbc2 Add WatParser and tests 2018-11-11 11:00:52 +01:00