79 releases (28 breaking)
new 0.107.2 | May 7, 2024 |
---|---|
0.107.0 | Apr 22, 2024 |
0.106.0 | Mar 20, 2024 |
0.103.0 | Dec 20, 2023 |
0.79.0 | Dec 13, 2021 |
#45 in WebAssembly
424,243 downloads per month
Used in 335 crates
(via cranelift-codegen)
270KB
5.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–7.5MB
~41K SLoC