19 releases (7 breaking)
Uses new Rust 2021
0.86.1 | Jul 21, 2022 |
---|---|
0.85.3 | Jul 21, 2022 |
0.82.2 | Mar 31, 2022 |
0.79.0 | Dec 13, 2021 |
#625 in WebAssembly
72,175 downloads per month
Used in 22 crates
(via cranelift-codegen)
210KB
4.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
~185KB