readme update
This commit is contained in:
parent
93edd37c56
commit
282605ac7d
1 changed files with 12 additions and 2 deletions
14
README.md
14
README.md
|
|
@ -12,7 +12,9 @@ instead of having to choose between:
|
||||||
|
|
||||||
developers can just write ```INVOKE``` and the compiler will figure out the correct instruction to put in the class file.
|
developers can just write ```INVOKE``` and the compiler will figure out the correct instruction to put in the class file.
|
||||||
|
|
||||||
project status: early stage
|
__project status:__
|
||||||
|
|
||||||
|
early stage
|
||||||
* At this moment a complete compile cycle is guaranteed (unittested) for a really simple class.
|
* At this moment a complete compile cycle is guaranteed (unittested) for a really simple class.
|
||||||
|
|
||||||
Code example below, but the API will undoubtedly change.
|
Code example below, but the API will undoubtedly change.
|
||||||
|
|
@ -38,4 +40,12 @@ BeeConstructor createDefaultConstructor() {
|
||||||
line(5, RETURN))
|
line(5, RETURN))
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
*Ideas about what's next*
|
||||||
|
* MORE opcodes
|
||||||
|
* invoke dynamic support (also in constant pool)
|
||||||
|
* support for exceptions, class attributes
|
||||||
|
* figure out a nicer, better api, drop the line numbers
|
||||||
|
* or instead drop this idea and let the developer write the raw bytecode. The constant pool would then be the only thing Beejava adds.
|
||||||
|
* create a readable file format for opcode files
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue