1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! Shared utilities for the Calyx compiler.
mod errors;
mod id;
mod namegenerator;
mod out_file;
mod pos_string;
mod position;
mod weight_graph;

mod math;
pub(crate) mod measure_time;

pub mod float;

pub use errors::{CalyxResult, Error, MultiError};
pub use id::{GSym, GetName, Id};
pub use math::bits_needed_for;
pub use namegenerator::NameGenerator;
pub use out_file::OutputFile;
pub use pos_string::PosString;
pub use position::{
    FileIdx, GPosIdx, GlobalPositionTable, PosIdx, PositionTable, WithPos,
};
pub use weight_graph::{BoolIdx, Idx, WeightGraph};