Skip to main content

sp1_hypercube/ir/
mod.rs

1//! Base types, enums, and structs for the constraint compiler.
2
3// `Vec<(String, Shape<ExprRef<F>, ExprExtRef<EF>>)>` is not a complex type IMO.
4#![allow(clippy::type_complexity)]
5// https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
6// Forces us to use `write!` instead of `String::push_str`, bad because we need to ignore the error
7// from `write!`. See "Known Problems" from the link above.
8#![allow(clippy::format_push_string)]
9
10mod ast;
11mod compiler;
12mod conversions;
13mod expr;
14mod expr_impl;
15mod func;
16mod lean;
17mod op;
18mod output;
19mod shape;
20mod var;
21
22pub use ast::*;
23pub use compiler::*;
24pub use expr::*;
25pub use func::*;
26pub use op::*;
27pub use output::*;
28pub use shape::*;
29pub use var::*;