harn-vm 0.10.167

Async bytecode virtual machine for the Harn programming language
Documentation
1
2
3
4
5
6
7
8
9
pub use harn_prompt_syntax::{TemplateError, TemplateParseError};

use crate::value::{VmError, VmValue};

impl From<TemplateError> for VmError {
    fn from(error: TemplateError) -> Self {
        VmError::Thrown(VmValue::String(arcstr::ArcStr::from(error.message())))
    }
}