52 Commits

Author SHA1 Message Date
Volker Berlin
7383bd8f1f Add a list of script engines 2017-04-04 20:50:16 +02:00
Volker Berlin
18841cf83d Add junit rule for testing with node. 2017-04-02 22:26:53 +02:00
Volker Berlin
ffafeea189 more op codes 2017-04-02 19:40:42 +02:00
Volker Berlin
b80553886b add method addFile(URL) 2017-04-02 13:50:01 +02:00
Volker Berlin
b2e17e272b Add task nodeVersion and set system property node.dir 2017-04-02 10:06:52 +02:00
Volker Berlin
7d0f42c225 add method compileToBinary(File) 2017-04-02 10:04:23 +02:00
Volker Berlin
7add526da1 write methods with Export annotation as exported. 2017-03-31 20:43:57 +02:00
Volker Berlin
ec93b799b9 Add parser for annotations 2017-03-31 20:40:49 +02:00
Volker Berlin
ec1fc643c2 Add export annotation to mark methods for export 2017-03-31 20:39:31 +02:00
Volker Berlin
3e87ca8d6b Add external kinds 2017-03-31 20:38:03 +02:00
Volker Berlin
cbfe1e49fd Handle line endings automatically for java files 2017-03-26 22:18:32 +02:00
Volker Berlin
f3a0cd8d6f prepare for later testing with Node.js 2017-03-26 22:14:28 +02:00
Volker Berlin
6de8d441b3 Write locals to text format. 2017-03-26 16:49:07 +02:00
Volker Berlin
212e18ccfa Fix IndexOutOfBoundsException if there are no local variables. 2017-03-26 16:23:41 +02:00
Volker Berlin
92dc727962 Write locals to binary format. 2017-03-26 13:40:50 +02:00
Volker Berlin
a5eee6aa7d Add method reset() 2017-03-26 11:46:46 +02:00
Volker Berlin
527f3d2bc7 Prevent endless loop in error case. 2017-03-26 11:41:21 +02:00
Volker Berlin
43cb89f546 add size() method 2017-03-26 11:39:06 +02:00
Volker Berlin
f9a7d13c57 add getSize() methods 2017-03-26 11:25:59 +02:00
Volker Berlin
fe01f4cfdb Link to webassembly.org 2017-03-26 11:25:02 +02:00
Volker Berlin
8e1364fa9f remove debug code 2017-03-24 22:49:37 +01:00
Volker Berlin
49060e1e87 Add compileToBinary() to the public interface 2017-03-24 22:48:28 +01:00
Volker Berlin
41ef70b2b1 first writer for the binary format writer. 2017-03-24 22:47:33 +01:00
Volker Berlin
dfcf86a7c9 Add helper classes to hold WebAssembly structures 2017-03-24 22:46:18 +01:00
Volker Berlin
761a5c1b49 Add operation code 2017-03-24 22:43:27 +01:00
Volker Berlin
1db20a66b6 Control flow operators 2017-03-24 22:40:10 +01:00
Volker Berlin
e9e7d1aecc add method writeTo() 2017-03-24 22:24:56 +01:00
Volker Berlin
984cfb2bc5 Does not write an empty section 2017-03-24 22:14:33 +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
afaaf7a555 extends from FilterOutputStream to wrap passing stream. 2017-03-24 18:07:20 +01:00
Volker Berlin
6693aa0f95 Initial binary module writer 2017-03-23 22:20:44 +01:00
Volker Berlin
ab21373134 update annotations 2017-03-23 20:00:59 +01:00
Volker Berlin
9dfbba36fb Split the TextModulWriter in an abstract writer which can also use for
the binary format and the simple formatter. Some first byte code
operations.
2017-03-21 22:38:52 +01:00
Volker Berlin
908f93e213 Add line number to toString() 2017-03-21 18:19:23 +01:00
Volker Berlin
82f41cbcd5 add factory method with lineNumber 2017-03-21 17:35:06 +01:00
Volker Berlin
9baf237b4b empty class 2017-03-21 17:20:02 +01:00
Volker Berlin
81bae9ac67 correct license text 2017-03-20 22:44:38 +01:00
Volker Berlin
c4f84a15d8 fix link 2017-03-20 22:07:39 +01:00
Volker Berlin
39df1af540 typus 2017-03-20 20:23:07 +01:00
Volker Berlin
6a397601cc rename LICENSE file 2017-03-20 20:19:47 +01:00
Volker Berlin
9db8befa8b Move base folder 2017-03-20 19:55:16 +01:00
Volker Berlin
38549c311f Add TextModulWriter 2017-03-20 17:48:05 +01:00
Volker Berlin
9835ea0f12 rename to WasmException 2017-03-20 17:47:06 +01:00
Volker Berlin
431d2dc389 use linux lines 2017-03-20 17:45:23 +01:00
Volker Berlin
a7f450c35c Add class parser from JClassViewer 2017-03-20 17:44:36 +01:00
Volker Berlin
704a08cfcd add lineNumber 2017-03-19 22:05:16 +01:00
Volker Berlin
dc1128cb2e add factory method 2017-03-19 18:06:53 +01:00
Volker Berlin
bbb9c8c0c9 add travis 2017-03-19 18:06:04 +01:00
Volker Berlin
07813e43d0 Adaption for Gradle with different pathes for classes and resources 2017-03-19 18:05:28 +01:00