fable_format 0.1.1

A Rust library for using the assets of Fable, Fable: The Lost Chapters, Fable Anniversary, and mods.
Documentation
mod decode;
mod encode;

use crate::script::ScriptExpression;

#[derive(Debug)]
pub struct Def {
    pub body: Vec<DefItem>,
}

#[derive(Debug)]
pub enum DefItem {
    Between(String),
    Definition(Definition),
}

#[derive(Debug)]
pub struct Definition {
    pub is_template: bool,
    pub group: String,
    pub name: String,
    pub specializes: Option<String>,
    pub body: Vec<ScriptExpression>,
}