feat(core): add load and include prelude

This commit is contained in:
2026-04-01 00:35:52 +02:00
parent 3cb3e4a8fa
commit 48d4039c31
5 changed files with 64 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
use super::{expression::Expression, prelude::mk_prelude};
use std::{cell::RefCell, collections::HashMap, rc::Rc};
use std::{cell::RefCell, collections::HashMap, env, path::Path, rc::Rc};
#[derive(PartialEq, Clone, Debug)]
/// A Environment is a stack of `EnvironmentLayer`s. Each `EnvironmentLayer` is a mapping from