mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-29 14:54:55 +00:00
16 lines
399 B
Rust
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};
|