102 releases (37 breaking)
0.116.1 | Jan 21, 2025 |
---|---|
0.115.1 | Jan 14, 2025 |
0.115.0 | Dec 20, 2024 |
0.114.0 | Nov 20, 2024 |
0.79.0 | Dec 13, 2021 |
#170 in WebAssembly
587,802 downloads per month
Used in 463 crates
(via cranelift-codegen)
305KB
6.5K
SLoC
ISLE: Instruction Selection / Lowering Expressions
ISLE is a domain specific language (DSL) for instruction selection and lowering
clif instructions to vcode's MachInst
s in Cranelift.
ISLE is a statically-typed term-rewriting language. You define rewriting rules
that map input terms (clif instructions) into output terms (MachInst
s). These
rules get compiled down into Rust source test that uses a tree of match
expressions that is as good or better than what you would have written by hand.
Dependencies
~0–6.5MB
~35K SLoC