8 return Ack(M - 1, Ack(M, (N - 1)))
\r
13 if(system.argv.len() > 2)
\r
17 m = system.argv[1].tointeger();
\r
18 n = system.argv[2].tointeger()
\r
24 io.stderr.write("Error = %s".fmt(err))
\r
28 // first write the definition to stdout, then the result
\r
29 print("Ack(M=%d, N=%d) = ".fmt(m, n)); io.stdout.flush(); println(Ack(m, n))
\r