possum-script 0.1.0

Scripting language for possum
Documentation
use std::{cell::RefCell, rc::Rc, sync::RwLock};

use crate::vm::{Value, Vm, Ptr};

pub struct Thread {
    func: Ptr,
    pc: usize,
    stack: Vec<Value>,
}

impl Thread {
    fn run(&mut self, vm: Rc<RwLock<Vm>>) {

    }

    fn tick(&mut self, vm: RwLock<Vm>) {

    }
}