aboutsummaryrefslogtreecommitdiff
path: root/trunk/examples/ivyivyprobe.ml
blob: b51a70875d08b7f87ef76e7c7a66f3bc8d218067 (plain)
1
2
3
4
5
6
7
8
let _ =
  Ivyprobe.init ();
  try
    ignore (IvyLoop.set_up_channel Unix.stdin Ivy.stop (fun _ -> Ivyprobe.read stdin));
    IvyLoop.main ()
  with
    End_of_file -> Ivy.stop ()