aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-04-21 15:52:21 -0400
committerbnewbold <bnewbold@robocracy.org>2016-04-21 15:54:37 -0400
commit010656f9ce275d12d8d6520d2443fa6d1d6e3b13 (patch)
tree0c48160d7c95dbcc89020896fe8bb4f6ff864bcb /rust
parentcf385d4bf9cfcb4b8ee27cdac05cd4b00124b7bf (diff)
downloadspectrum-010656f9ce275d12d8d6520d2443fa6d1d6e3b13.tar.gz
spectrum-010656f9ce275d12d8d6520d2443fa6d1d6e3b13.zip
rust: rename to spectrum
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