Error Messaging Redesign
This commit contains the following: * New data types to support full tracebacks * New traceback data type used across stl and ast * Updates to tests * fixes for error messaging in sym and some stl functions
This commit is contained in:
parent
91ad4eed12
commit
789349df48
24 changed files with 837 additions and 374 deletions
|
|
@ -21,6 +21,7 @@ mod lex;
|
|||
mod segment;
|
||||
mod stl;
|
||||
mod sym;
|
||||
mod error;
|
||||
|
||||
pub mod ast {
|
||||
pub use crate::run::run;
|
||||
|
|
@ -28,6 +29,7 @@ pub mod ast {
|
|||
pub use crate::lex::lex;
|
||||
pub use crate::segment::{Ctr, Seg, Type};
|
||||
pub use crate::sym::{Args, SymTable, Symbol, UserFn, ValueType};
|
||||
pub use crate::error::{Traceback, start_trace};
|
||||
}
|
||||
|
||||
pub mod stdlib {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue