calyx_utils/
lib.rs

1//! Shared utilities for the Calyx compiler.
2mod errors;
3mod id;
4mod namegenerator;
5mod out_file;
6mod pos_string;
7mod position;
8mod weight_graph;
9
10pub mod math;
11pub mod math_utilities;
12pub(crate) mod measure_time;
13
14pub mod float;
15
16pub use errors::{CalyxResult, Error, MultiError};
17pub use id::{GSym, GetName, Id};
18pub use math::bits_needed_for;
19pub use namegenerator::NameGenerator;
20pub use out_file::OutputFile;
21pub use pos_string::PosString;
22pub use position::{FileIdx, GPosIdx, GlobalPositionTable, PosIdx, WithPos};
23pub use weight_graph::{BoolIdx, Idx, WeightGraph};