Re-exports§
pub use lexer::tokenize;
pub use parser::Parser;
pub use semantic_analysis::execute;
pub use semantic_analysis::SemanticAnalysisError;
pub use token::Token;
pub use token::Tokentype;
Modules§
Structs§
- Compiler
Error - Represents a compiler error with a message, line number, column number, position, and token length
- Error
Collector - Line
Info
Enums§
- Error
Code - Comprehensive error codes for all compilation errors in the Slang compiler.
Functions§
- report_
errors - Reports a list of compiler errors to stderr
Type Aliases§
- Compile
Result - A type alias for a result that can either be a value of type T or a list of compiler errors