erg/compiler/erg_parser/lib.rs
2022-09-10 17:32:25 +09:00

13 lines
345 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 desugar;
pub mod error;
pub mod lex;
pub mod parse;
pub mod token;
pub use parse::{Parser, ParserRunner};