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