Crates.io | slide |
lib.rs | slide |
version | 0.0.1 |
source | src |
created_at | 2020-06-28 18:41:20.840507 |
updated_at | 2020-06-28 18:41:20.840507 |
description | A static expression optimizer. |
homepage | |
repository | https://github.com/yslide/slide |
max_upload_size | |
id | 259171 |
size | 53,329 |
slide is an static expression optimizer. Given an expression like
x(x + 2 * 3) / (x + 6)
slide should be able emit the lowered expression x
.
One of slide's design goals is compilation as a platform, where optimizations are configurable plugins.
slide is ready for very early use. Binaries can be downloaded from the repository
releases or installed with cargo
:
cargo install slide --version 0.0.1
# This should set slide in your path; for usage information, try
slide --help
Lots of features are still incomplete; please file an issue when you see something that could be improved. This is one of the best (and easiest!) ways to contribute to slide.
All contributions are warmly welcomed. For more information, including how to contribute to the development of slide, see our contribution docs.
The slide project exposes its library publicly, providing an API you can embed in your other Rust
apps. To add libslide
to your project, ensure the following in your Cargo.toml
:
libslide = "0.0.1"