Skip to main content

cl_ast/
lib.rs

1//! # The Abstract Syntax Tree
2//! Contains definitions of Conlang AST Nodes.
3//!
4//! All AST nodes are parameterized by an implementation of the
5//! [AstTypes] trait. Implementers of the [AstTypes] trait are
6//! responsible for
7//!
8//! # Notable nodes
9//! - [Expr] Expressions
10//!   - [Bind], [Use], and [Make] expressions
11//!   - [Op] operators
12//! - [Pat]: Pattern matching operators
13#![warn(clippy::all)]
14#![feature(decl_macro)]
15
16pub use ast::*;
17
18pub mod ast;
19pub mod desugar;
20pub mod fmt;