Skip to content

Commit 881dc23

Browse files
committed
Script worker
Add a new worker called "script", which compiles previously introduced parser using LLVM into bytecode for execution. It also provides a set of functionality available at runtime for such scripts. Note that it's a breaking change in terms of the interface. If before the workload configuration was passed as a first positional argument, now it has to be passed via `-c workload.toml`, to distinguish from passing a script via `-f script.ber`.
1 parent 3464e60 commit 881dc23

8 files changed

Lines changed: 921 additions & 53 deletions

File tree

Cargo.lock

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ io-uring = "0.7.10"
2828
enum_dispatch = "0.3.13"
2929
pest = "2.8.1"
3030
pest_derive = "2.8.1"
31+
llvm-sys = "201.0.1"
32+
docopt = "1.1.1"
33+
signal-hook = "0.3.18"

0 commit comments

Comments
 (0)