From 5e7267c17064ff3236726abbdb53b49f7a7f0269 Mon Sep 17 00:00:00 2001 From: Sander Hautvast Date: Fri, 20 Nov 2020 17:57:27 +0100 Subject: [PATCH] added info to README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 46bebe5..c3fe852 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,25 @@ BeeMethod print2 = BeeMethod.builder() .build(); ``` +The latest commits are centered around the new feature that let's you write code like this: +``` +class com.acme.SimpleBean(V15) +field private int value +constructor public() + INVOKE super() + RETURN +method public getValue() -> int + RETURN this.value +method public setValue(int newValue) + LOAD newValue + PUT this.value + RETURN +``` +* text based instead of programmatic, although that will still be possible +* abstracts away most of the intricacies of working with a stack (although like bytecode it will still be stack based) +* indent-aware like python ;) + + *Ideas about what's next* * MORE opcodes * invoke dynamic support (also in constant pool)