71 Commits

Author SHA1 Message Date
Volker Berlin
9c56f8b7ac more control flow operators 2018-03-31 19:28:58 +02:00
Volker Berlin
97283a1d39 new branch manager with internal hierarchy. 2018-03-30 17:33:23 +02:00
Volker Berlin
b23683ff68 more if conditions 2018-03-28 20:07:51 +02:00
Volker Berlin
79ee98e8ce Implements the ELSE control structure 2018-03-27 20:04:35 +02:00
Volker Berlin
e633fc79b5 Returns CodeInputStream as list now. 2018-03-27 20:01:45 +02:00
Volker Berlin
8d7ea08f64 implements byte code ifne 2018-03-25 21:06:18 +02:00
Volker Berlin
d26b9bbb94 first step of a "if" implementation 2018-03-25 12:57:04 +02:00
Volker Berlin
014d3a1acf Add more numerical operations 2018-03-24 21:09:53 +01:00
Volker Berlin
5c7b7256c7 return parameter type is written as "result" and not "return". 2018-03-24 12:46:47 +01:00
Volker Berlin
4836024e4e Add support for invoke static method calls 2018-03-24 12:33:56 +01:00
Volker Berlin
bebfbd06d3 ApiDoc 2018-03-20 20:33:03 +01:00
Volker Berlin
0803c290c5 add getDeclaringClassFile() 2018-03-20 20:30:57 +01:00
Volker Berlin
f2efc5aafd add a prepare phase on compiling 2017-04-17 12:10:56 +02:00
Volker Berlin
5450ccb2ce switch to unchecked Exceptions to work better with Lambda expressions 2017-04-17 11:58:38 +02:00
Volker Berlin
33c1b028b5 use UTF8 encoding for section names 2017-04-17 10:25:35 +02:00
Volker Berlin
4b2089b88d the shift parameter for i64 data must also be of type i64. 2017-04-16 23:24:37 +02:00
Volker Berlin
cfac54ec40 add integer bitt operations 2017-04-16 12:20:53 +02:00
Volker Berlin
28d4fb9b1c add support for inc/dec 2017-04-16 11:28:11 +02:00
Volker Berlin
d2eb2e160f add support for mul and div 2017-04-14 16:31:35 +02:00
Volker Berlin
6632407c30 add "sub" operation 2017-04-11 21:16:27 +02:00
Volker Berlin
ac57b04730 add "sub" operation 2017-04-11 21:12:27 +02:00
Volker Berlin
cf289fc24c more i64 operations 2017-04-11 17:59:06 +02:00
Volker Berlin
0353a8104c add support for the first value type conversion 2017-04-11 17:47:21 +02:00
Volker Berlin
f9ff233350 line encoding 2017-04-11 17:46:08 +02:00
Volker Berlin
01afea0f0b line encoding 2017-04-11 17:45:36 +02:00
Volker Berlin
1438d8a988 line encoding 2017-04-11 17:44:49 +02:00
Volker Berlin
8c8d2aaa00 line encoding 2017-04-11 17:43:24 +02:00
Volker Berlin
1e281f7dae Add enum for cast operations 2017-04-11 17:42:38 +02:00
Volker Berlin
88a841748b first conversion opcode 2017-04-11 17:41:28 +02:00
Volker Berlin
cf55b7c52e translate slot index to position index 2017-04-09 22:45:52 +02:00
Volker Berlin
68aaa5c589 add getPosition() to LocalVariable 2017-04-09 22:21:47 +02:00
Volker Berlin
14dc89aacb Implements "add" for all data types 2017-04-09 20:45:23 +02:00
Volker Berlin
e698ba3607 Implements "add" for all data types 2017-04-09 18:46:27 +02:00
Volker Berlin
119d5ed7f4 add "add" operations 2017-04-09 18:44:25 +02:00
Volker Berlin
a3807680b7 add sourceFile to WasmException 2017-04-09 18:18:53 +02:00
Volker Berlin
0328322724 Add support for floating constants 2017-04-09 12:44:01 +02:00
Volker Berlin
cd2c51fc0a use little endian for floating number 2017-04-09 12:41:47 +02:00
Volker Berlin
20ddb355a9 add writeFloat() and writeDouble() 2017-04-09 11:56:22 +02:00
Volker Berlin
92a878b5bf add support for long const 2017-04-08 18:48:45 +02:00
Volker Berlin
2766f8170a complete const codes 2017-04-08 18:14:41 +02:00
Volker Berlin
301f49c2f4 add getConstantPool() 2017-04-08 18:09:06 +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
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
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