| Crates.io | lambdust |
| lib.rs | lambdust |
| version | 0.1.1 |
| created_at | 2025-07-01 12:32:57.295115+00 |
| updated_at | 2025-08-13 14:33:21.34979+00 |
| description | A Scheme dialect with gradual typing and effect systems |
| homepage | |
| repository | https://github.com/username/lambdust |
| max_upload_size | |
| id | 1733175 |
| size | 7,034,586 |
A comprehensive R7RS-large compliant Scheme interpreter written in Rust, featuring advanced type systems, effect handling, and high-performance concurrent execution.
# Clone the repository
git clone https://github.com/username/lambdust.git
cd lambdust
# Build the project
cargo build --release
# Run the REPL
cargo run
# Run performance monitor
cargo run --bin performance-monitor
;; Factorial with gradual typing
(define (factorial (n : Integer)) : Integer
(if (<= n 1)
1
(* n (factorial (- n 1)))))
;; Actor-based concurrency
(define counter-actor
(spawn-actor
(lambda (msg)
(match msg
((increment) (update-state (+ (get-state) 1)))
((get) (reply (get-state)))))))
;; Effect handling
(with-effects
(IO State)
(log-info "Starting computation")
(let ((result (expensive-computation)))
(save-state result)))
For comprehensive documentation, see:
minimal-repl: Lightweight REPLenhanced-repl: Full-featured REPL with syntax highlightingasync-runtime: Asynchronous runtime supportnetwork-io: Network I/O capabilitiesffi: Foreign Function Interface support# Run all tests
cargo test
# Run with specific features
cargo test --features "enhanced-repl,async-runtime"
# Check code quality
cargo clippy
Lambdust is designed for high performance with:
We welcome contributions! Please see our Contributing Guidelines for details.
cargo clippy passes with zero warningsLicensed under either of:
at your option.
This project builds upon decades of Scheme language development and the Rust ecosystem. Special thanks to the R7RS working group and the Rust community.