40 Commits

Author SHA1 Message Date
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
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
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
4872dd137a Add support for partial classes 2020-01-19 15:15:01 +01:00
Volker Berlin
54d2deef4f add option WASM_USE_EH to ignore exception support because currently not supported 2020-01-12 12:42:31 +01:00
Volker Berlin
8589dbae66 add support for SOURCE_MAP_BASE 2019-12-31 13:04:52 +01:00
Volker Berlin
0d92b32162 add the compiler self to the library path 2019-12-07 17:01:33 +01:00
Volker Berlin
d0221065fb improve error message 2019-11-26 20:30:49 +01:00
Volker Berlin
2037b9e26b print also stacktrace to logger 2019-11-26 19:12:13 +01:00
Volker Berlin
b4d2f6caa2 use WasmOptions on more places for consistency 2019-09-10 17:49:05 +02:00
Volker Berlin
c1041325b7 add WasmOptions to reduce boilerplate code 2019-09-09 21:07:45 +02:00
Volker Berlin
3058348787 add constant for "wasm.use_gc" 2019-08-11 13:02:31 +02:00
Volker Berlin
5883adc2af pass the compiler properties to sub classes 2019-08-08 19:28:27 +02:00
Volker Berlin
b934de9556 add flush() on publish() 2019-07-23 21:50:22 +02:00
Volker Berlin
0d58782f75 ConsoleHandler.setOutputStream(x) has closed System.err 2019-07-23 17:19:52 +02:00
Volker Berlin
e37caf06b1 add logging 2019-07-19 22:29:34 +02:00
Volker Berlin
d9e8b70d06 Use JavaScript imports generated from the imports declarations. 2019-07-03 20:09:22 +02:00
Volker Berlin
3709e9cc55 Generalize the usage of WasmTarget 2019-06-30 14:43:45 +02:00
Volker Berlin
58fbce005a simplify 2019-04-04 18:54:52 +02:00
Volker Berlin
ed4fac4cbd Add a target handler. 2019-03-30 22:23:36 +01:00
Volker Berlin
7904f4026e Add support for Replace annotation to replace a single method. fix #4 2019-02-24 20:02:36 +01:00
Volker Berlin
3e365d718a print already written text format to syserr if an exception occur to understand easer where the problem come from. 2019-02-23 16:28:04 +01:00
Volker Berlin
d4012a751f compile on the fly only the needed instead all given 2018-12-13 20:05:13 +01:00
Volker Berlin
fce0ab5586 use BufferedOutputStream instead of a direct FileOutputStream 2018-12-01 20:56:05 +01:00
Volker Berlin
51b58e2a79 Add a function manager to add functions on demand. 2018-11-24 21:54:30 +01:00
Volker Berlin
2c792f4a4f add method addLibrary 2018-11-21 19:44:05 +01:00
Volker Berlin
a189a8328f declare WasmTextCode annotation 2018-11-16 20:14:43 +01:00
Volker Berlin
0227137e2e use constants for annotations 2018-11-16 17:46:10 +01:00
Volker Berlin
a10d029e00 pass compiler properties to the module writers 2018-10-08 22:02:19 +02:00
Volker Berlin
cd50b9c203 add compileToText(File) 2018-10-08 20:46:35 +02:00
Volker Berlin
53494d55be Add get/setProperty 2018-10-07 18:57:41 +02:00
Volker Berlin
dea54b631c Split ModuleWriter in ModuleWrite and ModuleGenerator 2018-06-01 19:44:40 +02:00
Volker Berlin
88a584cd63 First step to support imports. 2018-05-30 18:57:36 +02:00
Volker Berlin
f2efc5aafd add a prepare phase on compiling 2017-04-17 12:10:56 +02:00
Volker Berlin
b80553886b add method addFile(URL) 2017-04-02 13:50:01 +02:00
Volker Berlin
7d0f42c225 add method compileToBinary(File) 2017-04-02 10:04:23 +02:00
Volker Berlin
49060e1e87 Add compileToBinary() to the public interface 2017-03-24 22:48:28 +01:00
Volker Berlin
940195cdf0 Split function to more generic use 2017-03-24 18:19:25 +01:00
Volker Berlin
cad892b78c fix write error of class names 2017-03-24 18:08:03 +01:00
Volker Berlin
9db8befa8b Move base folder 2017-03-20 19:55:16 +01:00