import GolangLean

open GolangLean in
def main (args : List String) : IO UInt32 := do
  match args with
  | []     => runREPL; return 0
  | [path] => runFile path
  | _      =>
      IO.eprintln "Usage: golang-lean [script.go]"
      return 1
