erg/crates/erg_parser/lib.rs
2023-01-15 12:03:19 +09:00

16 lines
399 B
Rust

//! Implements `Parser` for Erg. `Parser` parses the source code to generate `AST`,
//! and performs type checking and other optimizations if necessary.
#![allow(clippy::large_enum_variant)]
extern crate erg_common;
pub mod ast;
pub mod build_ast;
pub mod convert;
pub mod desugar;
pub mod error;
pub mod lex;
pub mod parse;
pub mod token;
pub mod typespec;
pub use parse::{Parser, ParserRunner};