1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/// [`sim`] is the submodule where the naive simulator goes.
///
/// Notable are:
/// * [`sim::SimCircuit`] which is the netlist representation of a [`Circuit`],
/// * [`sim::Sim`] which is the simulator itself.
/// * [`sim::Value`] which represents all live values during simulation.
pub mod sim;

/// [`ast`] is the submodule for the AST parser.
pub mod ast;

mod types;
mod typecheck;
mod package;
mod resolve;
mod component;
mod circuit;
mod parse;
mod expr;
mod path;
mod context;
mod loc;
mod error;

#[cfg(test)]
mod tests;

pub use types::*;
pub use typecheck::*;
pub use package::*;
pub use resolve::*;
pub use component::*;
pub use circuit::*;
pub use parse::*;
pub use expr::*;
pub use path::*;
pub use context::*;
pub use loc::*;
pub use error::*;