Skip to content

Commit

Permalink
makefile and add \n to output
Browse files Browse the repository at this point in the history
  • Loading branch information
Zach Tatlock committed Sep 27, 2010
1 parent cf610e2 commit 089935d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions interp/Makefile
@@ -0,0 +1,4 @@

all:
ocamlc -o interp nums.cma interp.ml

3 changes: 2 additions & 1 deletion interp/interp.ml
Expand Up @@ -337,7 +337,8 @@ let step_star deck : string =
st.pc |> lkup_instr deck
|> step st
done;
bigs_str st.out
st.out |> bigs_str
|> mkstr "%s\n"

let main () =
() |> input_deck
Expand Down

0 comments on commit 089935d

Please sign in to comment.