From 7cc72737a0140f5f71e9d83d4f87503eb4c7604f Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 28 Feb 2024 19:32:08 +0100 Subject: readme: update description of examples --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5b262e1..e4d9ba3 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,15 @@ fn main() { The [`examples/`](examples/) folder provides additional examples: -- [`fib.rs`](examples/fib.rs) jit compile a function to compute the `fibonacci` sequence. -- [`add.rs`](examples/add.rs) jit compile a function calling another function compiled into the example. -- [`tiny_vm.rs`](examples/tiny_vm.rs) define a minimal `virtual machine (VM)` which demonstrates a simple jit compiler for translating VM guest software. +- [`fib.rs`](examples/fib.rs) jit compiles a function to compute the + `fibonacci` sequence. +- [`add.rs`](examples/add.rs) jit compiles a function calling another function + compiled into the example binary. +- [`tiny_vm.rs`](examples/tiny_vm.rs) defines a minimal `virtual machine (VM)` + with registers, instructions, data & instruction memory. The VM demonstrates + a simple *jit compiler* which has a *jit cache* and translates each *basic + block* on first execution when running a VM guest image. For reference an + interepter is also implemented. ## git hook for local development -- cgit v1.2.3