yomi-core 0.1.0

Core of the yomi scripting language: parser, type checker, VM and resumable saves
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::ast::{Expr, Stmt, StrPart};
use super::parser::parse;
use crate::diag::DiagCode;

fn codes(src: &str) -> Vec<DiagCode> {
    parse(src, "m").1.iter().map(|d| d.code).collect()
}

mod canon;
mod command_returns;
mod continuation;
mod format;
mod imports;
mod parse;
mod quotes;