Michael Schimmel 647fc79d28 Add scope and basic stdlib for evaluation
Introduces a `Scope` struct for dynamic scope management and a `Context`
struct to hold the current scope.
Implements a basic standard library with arithmetic operations and a
greater-than comparison.
Modifies `Node::eval` to handle identifiers by resolving them within the
current scope and `Call` nodes for function execution.
Updates the parser to use `Context::new()` for evaluating vector
elements, ensuring a fresh scope.
Enhances the main loop to handle potential runtime errors during
evaluation.
2026-02-17 00:33:58 +01:00
S
Description
No description provided
6.5 MiB
Languages
Rust 100%