<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/main.go b/main/main.go
index e6730de..0c7324b 100644
--- a/main/main.go
+++ b/main/main.go
@@ -40,10 +40,11 @@ func main() {
program := Parse(tokens)
stdin := bufio.NewReader(os.Stdin)
+ stdout := bufio.NewWriter(os.Stdout)
state := ProgramState {
in: walk.NewJSONIn(stdin),
- out: walk.NewJSONOut(),
+ out: walk.NewJSONOut(stdout),
program: program,
}