211 Commits

Author SHA1 Message Date
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
abb6c8a38a enable-exceptions in Wat2Wasm 2019-02-23 14:16:05 +01:00
Volker Berlin
f08b3d0869 Replace the github API for downloading WABT with web GUI because it is limit from Travis. 2019-02-23 14:06:36 +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
de320797a6 prepare node wabt module only if needed 2019-02-19 21:00:05 +01:00
Volker Berlin
fce938f6fd Use Wat2Wasm tool to test the text format. 2019-02-17 10:11:16 +01:00
Volker Berlin
c43a571c30 download wabt tool 2019-02-12 21:16:34 +01:00
Volker Berlin
522f25c326 improve supported array opertions 2019-01-13 14:42:24 +01:00
Volker Berlin
9e4d83861c implements struct.get/set 2019-01-13 11:47:57 +01:00
Volker Berlin
13350e4413 enable debug names also for text output 2019-01-01 14:18:25 +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
6196648cc0 add support for objects equals/not equals (if_acmpeq,if_acmpne) 2018-12-17 21:22:10 +01:00
Volker Berlin
9ba680848a first tests for structs (Objects). 2018-12-16 18:25:13 +01:00
Volker Berlin
30aa01c824 handling of Boolean return values 2018-12-14 21:19:47 +01:00
Volker Berlin
7701ce6993 write extra parameter for instance methods (non static) 2018-12-13 22:32:51 +01:00
Volker Berlin
02b94bb768 break if method found 2018-12-12 21:28:16 +01:00
Volker Berlin
bf6bf44252 accept also node script under windows 2018-12-06 19:59:20 +01:00
Volker Berlin
74dcb4dc09 experimental code for arrays 2018-12-02 19:54:59 +01:00
Volker Berlin
392b3ef66f prepare wat test via SpiderMonkey 2018-12-01 18:32:18 +01:00
Volker Berlin
4104a87597 fix java signature parsing with multiple return types 2018-11-29 18:35:56 +01:00
Volker Berlin
b2a359746d more dup operations 2018-11-26 20:35:50 +01:00
Volker Berlin
a8a9d9eb1e Tests for duplicate stack values via native library with multiple return values. 2018-11-25 17:07:34 +01:00
Volker Berlin
ad7174ba8c Enable multiple return values 2018-11-25 17:05:37 +01:00
Volker Berlin
f71747a87f Move WasmTextCode from tests into the core of the compiler for internal use. 2018-11-18 13:00:49 +01:00
Volker Berlin
83a99ce803 test for WasmTextCode 2018-11-17 17:57:53 +01:00
Volker Berlin
fe442e42e6 implement max operation in text format 2018-11-16 20:27:19 +01:00
Volker Berlin
01c469247e npm link seems not to work on travis, use dummy files to prevent the warnings 2018-11-11 13:31:37 +01:00
Volker Berlin
088e689daa reduce npm warnings and improve speed through singel global installation 2018-11-11 12:27:40 +01:00
Volker Berlin
0119a2bbc2 Add WatParser and tests 2018-11-11 11:00:52 +01:00
Volker Berlin
db4a6e19bd Add skipped exceptions tests until JS engines can handle it. 2018-11-09 19:47:39 +01:00
Volker Berlin
f15e9c8341 experimental exception handling 2018-11-03 18:01:42 +01:00
Volker Berlin
bdc5244ebb file extension is .wat and not .wast 2018-10-13 18:14:41 +02:00
Volker Berlin
103ae245a9 enable the debug output for the tests 2018-10-13 15:29:55 +02:00
Volker Berlin
bd6b2ef3c6 enable also in parseWat() the experimental code 2018-10-07 14:09:11 +02:00
Volker Berlin
f79038a19f Show also the outputstream in error case 2018-10-07 14:05:01 +02:00
Volker
10dcbd66b0 Add test for emptyMethod() 2018-09-28 18:41:10 +02:00
Volker
d9fcca86d0 Adapt changes in wabt.js 2018-09-28 18:40:33 +02:00
Volker
3577cded7f debug code for npm install wabt 2018-09-28 18:39:58 +02:00
Volker
e560cc95b6 Fix NPM for linux 2018-08-14 22:52:58 +02:00
Volker
3494c2a57a Add unit tests for the text output. 2018-08-14 22:36:43 +02:00
Volker
80a8b5d00d Test for static variables 2018-08-14 15:12:21 +02:00
Volker
fcaa15d22d Fix SWITCH start position detection and replace erroneous ValueStackManager 2018-08-11 18:12:40 +02:00
Volker
d7c13c018e Use the new Non-trapping float-to-int conversions for Java like behavior. 2018-08-11 15:46:20 +02:00
Volker
0822d9af8c END can not be outside of parent block 2018-08-10 20:35:17 +02:00
Volker
b5296e6268 test for conditional operator 2018-08-10 18:52:50 +02:00
Volker
9bf768c97b fix node location on Linux 2018-08-03 23:23:36 +02:00
Volker
f755d6fa1b add debug code to find the error on travis 2018-08-03 23:07:25 +02:00
Volker
4aedc02d5e use node version 10.8.0 for experimental features 2018-08-03 22:15:12 +02:00
Volker
a27733234f use experimental Sign-extension operators 2018-08-03 21:49:42 +02:00