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;
9
10mod attribute;
11mod attributes;
12mod common;
13mod lib_sig;
14mod workspace;
15
16use attribute::InlineAttributes;
17
18pub use ast::NamespaceDef;
19pub use attribute::{
20 Attribute, BoolAttr, InternalAttr, NumAttr, DEPRECATED_ATTRIBUTES,
21};
22pub use attributes::{Attributes, GetAttributes};
23pub use common::{Direction, PortDef, Primitive, Width};
24pub use lib_sig::{LibrarySignatures, PrimitiveInfo};
25pub use workspace::Workspace;