crosslang/golang-lean/Main.lean
Maximus Gorog fd3d42ae33 Add 'golang-lean/' from commit 'f5f17019224c6a6c319387214ceb8e29d09251c6'
git-subtree-dir: golang-lean
git-subtree-mainline: 6487c7046f
git-subtree-split: f5f1701922
2026-05-12 02:59:14 -06:00

10 lines
243 B
Text

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