slang_frontend/
lib.rs

1pub mod lexer;
2pub mod parser;
3pub mod parse_error;
4pub mod semantic_analysis;
5pub mod token;
6#[cfg(feature = "print-tokens")]
7pub mod token_printer;
8
9// Re-export error handling from slang_error
10pub use slang_error::{ErrorCode, CompilerError, CompileResult, ErrorCollector, LineInfo, report_errors};
11pub use lexer::tokenize;
12pub use parser::Parser;
13pub use semantic_analysis::{execute};
14pub use semantic_analysis::SemanticAnalysisError;
15pub use token::{Token, Tokentype};