Conlang/compiler/cl-ast/src/lib.rs

22 lines
568 B
Rust
Raw Normal View History

2023-10-17 18:30:16 +00:00
//! # The Abstract Syntax Tree
//! Contains definitions of Conlang AST Nodes.
2023-10-17 18:30:16 +00:00
//!
//! # Notable nodes
//! - [Item] and [ItemKind]: Top-level constructs
//! - [Stmt] and [StmtKind]: Statements
//! - [Expr] and [ExprKind]: Expressions
//! - [Assign], [Binary], and [Unary] expressions
//! - [AssignKind], [BinaryKind], and [UnaryKind] operators
//! - [Ty] and [TyKind]: Type qualifiers
//! - [Path]: Path expressions
2024-03-01 03:04:45 +00:00
#![warn(clippy::all)]
#![feature(decl_macro)]
2024-04-19 02:31:46 +00:00
pub use ast::*;
2024-04-19 02:31:46 +00:00
pub mod ast;
pub mod ast_impl;
pub mod ast_visitor;
pub mod desugar;
pub mod format;