Grift Standard Library
Standard library features for the Grift R7RS-compliant Scheme implementation
that require Rust's std (I/O, filesystem, etc.).
This crate implements the [IoProvider] trait from grift_core using
Rust's standard I/O, giving the no_std evaluator access to real
input/output when running on a hosted platform.
Quick Start
use StdIoProvider;
use IoProvider;
// Create a standard I/O provider
let mut io = new;
// Check port types
use PortId;
assert!;
assert!;
Crate Boundary
| Crate | #![no_std] |
Purpose |
|---|---|---|
grift_core |
✅ | Defines [IoProvider] trait |
grift_std |
❌ | Implements [IoProvider] with std::io |
grift_eval |
✅ | Pure evaluator, no I/O |
grift_repl |
❌ | Interactive REPL |