diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-07T20·42+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-08-12T13·05+0000 |
commit | e8253c70444a580d3b087a53118960d58fbe5984 (patch) | |
tree | 7b2b6f22073daa5c0b296c76f3093bdf255a0fea /tvix/eval/src/main.rs | |
parent | d59968649e843371db7d83ac1e2b327c08e70093 (diff) |
chore(tvix/eval): wire things up for development flow r/4408
This creates a REPL which outputs compiled bytecode, constants, and VM results for code snippets. Change-Id: If63f79a961456afd6a4cdf59b994107ff7ab8b47 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6072 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/main.rs')
-rw-r--r-- | tvix/eval/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/main.rs b/tvix/eval/src/main.rs index 55365efabd1b..4cfa0a137a1b 100644 --- a/tvix/eval/src/main.rs +++ b/tvix/eval/src/main.rs @@ -48,7 +48,7 @@ fn run_prompt() { fn run(code: String) { match eval::interpret(code) { - Ok(result) => println!("=> {:?}", result), + Ok(result) => println!("=> {}", result), Err(err) => eprintln!("{}", err), } } |