added latest capability to readme
This commit is contained in:
parent
c5ce7ac651
commit
dd4f52f9cf
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
|
@ -44,6 +44,19 @@ BeeConstructor createDefaultConstructor() {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
and
|
||||||
|
```
|
||||||
|
BeeMethod print2 = BeeMethod.builder()
|
||||||
|
.withName("print2")
|
||||||
|
.withAccessFlags(MethodAccessFlags.PUBLIC)
|
||||||
|
.withCode(
|
||||||
|
line(0, GET, "java.lang.System","out"),
|
||||||
|
line(1, LD_CONST, "2"),
|
||||||
|
line(2, INVOKE, "java.io.PrintStream", "println", "java.lang.String"),
|
||||||
|
line(3, RETURN))
|
||||||
|
.build();
|
||||||
|
```
|
||||||
|
|
||||||
*Ideas about what's next*
|
*Ideas about what's next*
|
||||||
* MORE opcodes
|
* MORE opcodes
|
||||||
* invoke dynamic support (also in constant pool)
|
* invoke dynamic support (also in constant pool)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue