bitsy_lang/lib.rs
1/// [`sim`] is the submodule where the naive simulator goes.
2///
3/// Notable are:
4/// * [`sim::SimCircuit`] which is the netlist representation of a [`Circuit`],
5/// * [`sim::Sim`] which is the simulator itself.
6/// * [`sim::Value`] which represents all live values during simulation.
7pub mod sim;
8
9/// [`ast`] is the submodule for the AST parser.
10pub mod ast;
11
12mod types;
13mod package;
14mod component;
15mod circuit;
16mod parse;
17mod expr;
18mod path;
19mod context;
20mod loc;
21mod error;
22
23#[cfg(test)]
24mod tests;
25
26pub use types::*;
27pub use package::*;
28pub use component::*;
29pub use circuit::*;
30pub use parse::*;
31pub use expr::*;
32pub use path::*;
33pub use context::*;
34pub use loc::*;
35pub use error::*;