2014-01-01 21:52:25 +00:00
|
|
|
Import Int.
|
2013-12-30 21:35:37 +00:00
|
|
|
|
2013-11-16 06:01:06 +00:00
|
|
|
(**
|
|
|
|
function add_paren(code)
|
|
|
|
return "(" .. "** " .. code .. " **" .. ")"
|
|
|
|
end
|
|
|
|
parse_lean_cmds(add_paren([[
|
|
|
|
local env = get_environment()
|
|
|
|
env:add_var("x", Const("Int"))
|
|
|
|
print(env:find_object("x"))
|
|
|
|
]]))
|
|
|
|
print("done")
|
|
|
|
**)
|