diff options
Diffstat (limited to 'bin/main.ml')
| -rw-r--r-- | bin/main.ml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/main.ml b/bin/main.ml index 7bf6048..75328c9 100644 --- a/bin/main.ml +++ b/bin/main.ml | |||
| @@ -1 +1,8 @@ | |||
| 1 | let () = print_endline "Hello, World!" | 1 | open Sand |
| 2 | |||
| 3 | let () = | ||
| 4 | let open Editor in | ||
| 5 | let cli = Config.parse Sys.argv in | ||
| 6 | let editor = Editor.init cli in | ||
| 7 | let rec loop () = Action.(render *> handle_next_command2 >>= loop) in | ||
| 8 | Action.eval ~editor loop | ||
