Added the notion of streams

This includes a stream to a file
This commit is contained in:
Leon Mika 2024-04-10 21:58:06 +10:00
parent 781a761ead
commit 3b3bac4a7f
9 changed files with 290 additions and 23 deletions

View file

@ -23,7 +23,7 @@ func main() {
break
}
if err := inst.Eval(ctx, line); err != nil {
if err := inst.EvalAndDisplay(ctx, line); err != nil {
log.Printf("%T: %v", err, err)
}
}