From b686a670d2fa3f8fede1875dcd187750c9536b8e Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Mon, 30 Sep 2024 21:12:41 +0200 Subject: [PATCH] cleanup --- programs/adder.mbl | 6 ++---- src/main.rs | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/programs/adder.mbl b/programs/adder.mbl index 4657b31..c728ce2 100644 --- a/programs/adder.mbl +++ b/programs/adder.mbl @@ -1,5 +1,4 @@ -(print sum of 123 and 45) - +(print sum of 2 numbers) o > 1230 B vo A-+ @@ -17,8 +16,7 @@ v> * 1 o ^ F -R0 * 4 B *| # < -A8 v | # < -#| - -| v < +#-| v < | *-| F +B * ^ #< \F---- diff --git a/src/main.rs b/src/main.rs index 3a633e9..1fe6369 100644 --- a/src/main.rs +++ b/src/main.rs @@ -230,7 +230,7 @@ impl Machine { print!("{}", c.cyan()); } } - print!(" :: "); + print!("."); for (val, dir) in marbles_on_row { print!("{}", format!("{}{} ", dir.char(), val).magenta()) }