dogamak / ttk91-rs

Crate for reading, writing, compiling and executing TTK91 code.
0 stars 0 forks source link

Custom parse error type #7

Closed dogamak closed 4 years ago

dogamak commented 4 years ago

Introduces parse error types bytecode::parse::ParseError and symbolic::parse::ParseError, which are type aliases for the error::ParseError<Kind> type.

ParseError can be turned into VerboseParseError if you have access to the original input buffer. VerboseParseError provides more detailed and easier to user error location information.