spectec_ast 1.0.0

Parser for SpecTec ASTs in S-expression format
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("Error parsing S-expression: {0}")]
    SExpr(#[from] sexpr_parse::SExprError),
    #[error("Error decoding SpecTec AST: {0}")]
    Decode(#[from] decode::Error),
}

pub type Result<T> = core::result::Result<T, Error>;