diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-02-28 19:32:08 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-02-28 19:32:08 +0100 |
commit | 7cc72737a0140f5f71e9d83d4f87503eb4c7604f (patch) | |
tree | dd40708fa84a27f1ffb100eb1cf57d46035a5d26 | |
parent | 3929d9038f3da75dbba8678cc8f2ba703b83b331 (diff) | |
download | juicebox-asm-7cc72737a0140f5f71e9d83d4f87503eb4c7604f.tar.gz juicebox-asm-7cc72737a0140f5f71e9d83d4f87503eb4c7604f.zip |
readme: update description of examples
-rw-r--r-- | README.md | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 |