aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/spectrum.rs (renamed from rust/minimal.rs)13
1 files changed, 9 insertions, 4 deletions
diff --git a/rust/minimal.rs b/rust/spectrum.rs
index 15220cb..8a82a33 100644
--- a/rust/minimal.rs
+++ b/rust/spectrum.rs
@@ -1,6 +1,11 @@
-
-// A partial Scheme implementation in Rust
-// Build with: rustc minimal.rs -o minimal-rust
+/*
+ * A partial Scheme/LISP implementation in Rust. Build and run with:
+ *
+ * rustc spectrum.rs -o spectrum
+ * ./spectrum
+ *
+ * Intentended to work with Rust 1.8 (stable from Spring 2016)
+ */
use std::io;
use std::io::Write;
@@ -441,7 +446,7 @@ fn main() {
loop {
let raw_input = &mut String::new();
- stdout.write(b"\nminimal-rust> ").unwrap();
+ stdout.write(b"\nspectrum> ").unwrap();
stdout.flush().unwrap();
stdin.read_line(raw_input).unwrap();
let raw_input = raw_input; // UGH