From 5f90bf71ab2d347fbe2d0dc89b71ab5d6e923b46 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sun, 8 Dec 2024 23:48:15 +0100 Subject: [PATCH] bf: rename file and add to ci --- README.md | 2 +- ci/Makefile | 1 + examples/{bf_vm.rs => bf.rs} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename examples/{bf_vm.rs => bf.rs} (100%) diff --git a/README.md b/README.md index 6ca332c..abdc70f 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ The [`examples/`](examples/) folder provides additional examples: 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. -- [`bf_vm.rs`](examples/bf_vm.rs) implements a +- [`bfrs`](examples/bf.rs) implements a [brainfuck](https://en.wikipedia.org/wiki/Brainfuck) jit compiler and interpreter. diff --git a/ci/Makefile b/ci/Makefile index 9a76fdc..b433ed2 100644 --- a/ci/Makefile +++ b/ci/Makefile @@ -28,3 +28,4 @@ run-examples: cargo run --example add cargo run --example tiny_vm cargo run --example tiny_vm jit + cargo run --example bf diff --git a/examples/bf_vm.rs b/examples/bf.rs similarity index 100% rename from examples/bf_vm.rs rename to examples/bf.rs