| Crates.io | oxur-repl |
| lib.rs | oxur-repl |
| version | 0.2.0 |
| created_at | 2026-01-03 17:50:38.871944+00 |
| updated_at | 2026-01-17 00:25:34.025603+00 |
| description | Oxur REPL: protocol, client, and server with tiered execution |
| homepage | |
| repository | https://github.com/oxur/oxur |
| max_upload_size | |
| id | 2020520 |
| size | 670,074 |
REPL implementation with three-tier execution for optimal performance.
Tier 1 - Interpreter (<1ms)
Tier 2 - Cached (~0ms)
Tier 3 - JIT (50-200ms first time, cached after)
The REPL uses a simple request/response protocol:
Eval - Evaluate an expressionLoad - Load a fileReset - Clear REPL stateStatus - Get execution statisticsShutdown - Stop the serveruse oxur_repl::ReplServer;
let mut server = ReplServer::new();
let response = server.handle(ReplRequest::Eval {
source: "(+ 1 2)".to_string()
});