Refactored lib.rs into separate modules. Builds, VM panics on erroneous declaration compilation.

This commit is contained in:
paladin 2026-08-28 12:02:55 +01:00
parent ab43ff9f9e
commit c01313a7ec
6 changed files with 3264 additions and 3241 deletions

View file

@ -1,5 +1,5 @@
use crate::gc::{Gc, Traverse};
use crate::{Callable, Object, RunError, Value};
use crate::vm::{Callable, RunError, Value};
use std::rc::Rc;
// I've already spent 2 months on this interpreter, and I'm tired, so I've cut a few corners...