calyx_frontend/
lib.rs

1//! Frontend parsing and AST representation.
2//!
3//! Defines the frontend AST and the parser.
4//! The frontend representation is transformed into the representation defined
5//! in the `ir` module.
6
7pub mod ast;
8pub mod parser;
9pub mod source_info;
10
11mod attribute;
12mod attributes;
13mod common;
14mod lib_sig;
15mod workspace;
16
17use attribute::InlineAttributes;
18
19pub use ast::NamespaceDef;
20pub use attribute::{
21    Attribute, BoolAttr, DEPRECATED_ATTRIBUTES, InternalAttr, NumAttr, SetAttr,
22    SetAttribute,
23};
24pub use attributes::{Attributes, GetAttributes};
25pub use common::{Direction, PortDef, Primitive, Width};
26pub use lib_sig::{LibrarySignatures, PrimitiveInfo};
27pub use workspace::Workspace;