erg/compiler/erg_parser/lib.rs
Shunsuke Shibayama 9c967d32f6 Fix #174
2022-09-22 21:52:06 +09:00

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