tibrs 0.1.3

Provides functionality to compile and decompile tibasic source for TI graphing calculators
1
2
3
4
5
6
7
8
9
10
11
12
use serde::Deserialize;
use std::collections::HashMap;

#[derive(Deserialize, Debug, Clone)]
pub struct TibToken {
    pub size: i32,
    #[serde(rename = "hex")]
    pub hex_str: String,
    pub text: String,
}

pub type TokenMap = HashMap<String, TibToken>;