resl 0.1.0

A modern configuration and serialization language with variables, expressions, and dynamic runtime evaluation
Documentation
macro_rules! label {
    ($s:expr) => {{
        let _: &str = $s;
        winnow::error::StrContext::Label($s)
    }};
}

macro_rules! exp_char {
    ($ch:expr) => {{
        let _: char = $ch;
        winnow::error::StrContext::Expected(winnow::error::StrContextValue::CharLiteral($ch))
    }};
}

macro_rules! exp_str {
    ($s:expr) => {{
        let _: &str = $s;
        winnow::error::StrContext::Expected(winnow::error::StrContextValue::StringLiteral($s))
    }};
}

macro_rules! exp_desc {
    ($desc:expr) => {{
        let _: &str = $desc;
        winnow::error::StrContext::Expected(winnow::error::StrContextValue::Description($desc))
    }};
}

pub(crate) use exp_char;
pub(crate) use exp_desc;
pub(crate) use exp_str;
pub(crate) use label;