summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2024-03-11 10:03:02 +0100
committerMarc Vertes <mvertes@free.fr>2024-03-11 10:03:02 +0100
commit89e1575f1d7e542b843a53ba7434ac0f034a63fb (patch)
tree0fea8a8262f38caad10b8532cdfe09d2c078a7a6 /readme.md
parent73eb1891da7171f2bea0d3eb36e3458f267e6f19 (diff)
fix callX, update readme
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md18
1 files changed, 3 insertions, 15 deletions
diff --git a/readme.md b/readme.md
index 7c28d83..a149a20 100644
--- a/readme.md
+++ b/readme.md
@@ -6,23 +6,11 @@ languages and virtual machines.
The first language definition is a subset of Go, enough to implement
simple benchmarks, as fibonacci numbers.
-The first VM is a stack machine, operated by walking directly the AST.
-
-The next step is to add a byte-code based VM and the corresponding byte code
-generator.
-
-Further steps is to get closer to full Go spec and / or introduce new
-languages definitions and new VM implementations.
+A byte-code based VM and the corresponding byte code generator are
+provided.
Note: this is highly experimental and unstable.
-
## Usage
-`go run ./cmd/gint < ./samples/fib`
-
-To debug visually the AST, you can set the `DOT` env to a command able
-to a display a graphviz dot input, such as `dot -Txlib` or `dotty -`
-(for old graphviz versions like mine):
-
-`DOT="dot -Txlib" go run ./cmd/gint < ./samples/fib`
+`go run . ./samples/fib`