Sander Hautvast
|
138f14b8f3
|
added a parser to read text to BeeSource. Will require a lexer for the actual opcode
|
2020-11-19 22:29:09 +01:00 |
|
Sander Hautvast
|
60860490b8
|
removed linenumbers
|
2020-11-18 20:36:23 +01:00 |
|
Sander Hautvast
|
7412b7ba43
|
added better support for methods, maxLocals and maxStack is now calculated (was dummy constant before). JavaOpcodes contains info about the number of pops/pushes and an indication of wide-ness (1 or 2 bytes for constantpool index)
|
2020-11-18 18:45:08 +01:00 |
|
Sander Hautvast
|
21e01fe37d
|
moved the code to increase visibility
|
2020-11-16 17:59:12 +01:00 |
|
Sander Hautvast
|
3598ace9bf
|
made API classes final
|
2020-11-16 17:50:08 +01:00 |
|
Sander Hautvast
|
df5b271ef2
|
javadoc added
|
2020-11-16 17:37:42 +01:00 |
|
Sander Hautvast
|
e59d214a10
|
End-to-end compilation of a trivial class.
|
2020-11-16 17:24:28 +01:00 |
|
Sander Hautvast
|
ab4662f86e
|
started adding support for methods
|
2020-11-11 13:53:21 +01:00 |
|
Sander Hautvast
|
a1e78f5ed9
|
removed dead code
|
2020-11-11 11:07:10 +01:00 |
|
Sander Hautvast
|
72ef703e40
|
Added more tests and made them runnable with surefire
|
2020-11-11 10:58:39 +01:00 |
|
Sander Hautvast
|
e2c874937c
|
Added some tests
|
2020-11-10 21:57:39 +01:00 |
|
Sander Hautvast
|
c535d7a231
|
Added some tests
|
2020-11-10 21:57:32 +01:00 |
|
Sander Hautvast
|
0a16440c2e
|
Added some tests
|
2020-11-10 21:57:13 +01:00 |
|
Sander Hautvast
|
d926ed2adc
|
Added support for all primitive types. No arrays yet. That seems more complicated
|
2020-11-10 21:17:58 +01:00 |
|
Sander Hautvast
|
10ffe459e0
|
Added support for methods
|
2020-11-10 21:17:16 +01:00 |
|
Sander Hautvast
|
321182aca7
|
split LOAD into 3 separate opcodes
|
2020-11-10 21:15:04 +01:00 |
|
Sander Hautvast
|
6eedbdfac0
|
made it abstract class
|
2020-11-10 21:14:36 +01:00 |
|
Sander Hautvast
|
a138450d99
|
made it abstract class
|
2020-11-10 21:14:08 +01:00 |
|
Sander Hautvast
|
04b71c4e5b
|
updated toString to make it sort off javap-ish
|
2020-11-10 21:12:35 +01:00 |
|
Sander Hautvast
|
78cfcd411f
|
fixed a bug with wrong utf-8 length and added uniqueness checks. Improved the design
|
2020-11-10 12:49:10 +01:00 |
|
Sander Hautvast
|
d17883701d
|
minor reshuffling
|
2020-11-10 09:22:44 +01:00 |
|
Sander Hautvast
|
8eda63261b
|
created CompiledClass and refactored code into it. Added Interfaces to bytecode
|
2020-11-09 16:04:35 +01:00 |
|
Sander Hautvast
|
3e699d0754
|
added refs to this and super
|
2020-11-09 15:20:35 +01:00 |
|
Sander Hautvast
|
50649ea1a8
|
renamed constantpool entries again. fixed some issues. ConstantPool output seems to get there
|
2020-11-09 14:32:05 +01:00 |
|
Sander Hautvast
|
c6db240f47
|
implemented some basic getBytes methods to create bytecode for constantpool
|
2020-11-09 12:40:34 +01:00 |
|
Sander Hautvast
|
7968d27814
|
renamed constants and added bytecode tags
|
2020-11-09 11:25:42 +01:00 |
|
Sander Hautvast
|
61ca5f9a11
|
Moved some stuff around, removed obsolete code, added comments and javadoc
|
2020-11-09 10:24:10 +01:00 |
|
Sander Hautvast
|
9aad0e55c6
|
API draft, constant pool creator working in principle. A working test
|
2020-11-09 09:56:33 +01:00 |
|