298 Commits

Author SHA1 Message Date
Volker Berlin
83a99ce803 test for WasmTextCode 2018-11-17 17:57:53 +01:00
Volker Berlin
d252b1b202 support WasmTextCode annotation 2018-11-16 20:38:37 +01:00
Volker Berlin
fe442e42e6 implement max operation in text format 2018-11-16 20:27:19 +01:00
Volker Berlin
a189a8328f declare WasmTextCode annotation 2018-11-16 20:14:43 +01:00
Volker Berlin
88b819628f fix splitTokens 2018-11-16 20:13:53 +01:00
Volker Berlin
99f7786cf8 implements numeric max operation 2018-11-16 20:12:55 +01:00
Volker Berlin
b3df8e9562 throw exception by unknown token. 2018-11-16 19:26:32 +01:00
Volker Berlin
0227137e2e use constants for annotations 2018-11-16 17:46:10 +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
cc5d794c07 add nullable annotations for test 2018-11-11 11:22:37 +01:00
Volker Berlin
0119a2bbc2 Add WatParser and tests 2018-11-11 11:00:52 +01:00
Volker Berlin
101b759acb Add the Member interface to generalize the API usage 2018-11-10 10:46:36 +01:00
Volker Berlin
4fd7d44263 Improve WasmCodeBuilder for later use with WatParser. 2018-11-09 20:14:30 +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
74e6c0db06 Split the ModuleGenerator in WasmCodeBuilder and ModuleGenerator 2018-11-04 20:28:42 +01:00
Volker Berlin
a49288449d Simplify the usage of the exception 2018-11-04 20:25:55 +01:00
Volker Berlin
f15e9c8341 experimental exception handling 2018-11-03 18:01:42 +01:00
Volker Berlin
ce3e2d7546 improve exception message 2018-10-13 21:51:34 +02:00
Volker Berlin
c3b04e7016 exception value type 2018-10-13 21:21:53 +02:00
Volker Berlin
97c73adcfb Exception opcodes 2018-10-13 20:48:34 +02:00
Volker Berlin
bdc5244ebb file extension is .wat and not .wast 2018-10-13 18:14:41 +02:00
Volker Berlin
563075a578 write local method names if DebugNames is enabled 2018-10-13 18:10:05 +02:00
Volker Berlin
103ae245a9 enable the debug output for the tests 2018-10-13 15:29:55 +02:00
Volker Berlin
8e8489ee77 Write function names for debugging 2018-10-13 15:29:34 +02:00
Volker Berlin
3c2ec0f516 add writeString() 2018-10-09 22:33:14 +02: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
0c25c89d2b Refactor the writing of sections more object oriented. 2018-10-07 21:53:45 +02:00
Volker Berlin
df7cb74bcc Refactor the writing of sections more object oriented. 2018-10-07 21:20:14 +02:00
Volker Berlin
c0c24cb2cc Add link to Gradle Plugin 2018-10-07 19:04:04 +02:00
Volker Berlin
53494d55be Add get/setProperty 2018-10-07 18:57:41 +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 Berlin
60124cd446 prepare first release v0.1 2018-08-24 18:11:39 +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
41e66c8a14 Add more TODO for open opcodes 2018-08-14 22:34:53 +02:00
Volker
6ade59d02d fix structure problems with globals in text writer. 2018-08-14 22:09:01 +02:00
Volker
658b859b62 Fix the signum of compare operations in the text format. 2018-08-14 21:28:17 +02:00
Volker
a07e7fe4b1 Fix the signum of numeric operations in the text format. 2018-08-14 18:24:50 +02:00
Volker
5f0c24f5af Fix "import" in the text format 2018-08-14 18:17:48 +02:00
Volker
80a8b5d00d Test for static variables 2018-08-14 15:12:21 +02:00
Volker
dd29280641 Add support for global (static) variables 2018-08-14 15:11:21 +02:00
Volker
c269bae443 Move method getValueType() into class ValueType. 2018-08-14 12:14:36 +02:00
Volker
2c6fb9aae0 Add handling of global section. 2018-08-13 17:39:14 +02:00
Volker
758557f76b Fix getTempI32() that it work without the removed prepare phase. 2018-08-11 20:36:09 +02:00