2014-01-05 18:32:47 +00:00
|
|
|
(*
|
2013-12-26 21:38:14 +00:00
|
|
|
cmd_macro("Simple",
|
|
|
|
{ macro_arg.String },
|
|
|
|
function (env, str)
|
|
|
|
print("OUTPUT: " .. str)
|
|
|
|
end
|
|
|
|
)
|
|
|
|
|
|
|
|
parse_lean_cmds([[
|
|
|
|
Simple "foo"
|
|
|
|
]])
|
2014-01-05 18:32:47 +00:00
|
|
|
*)
|
2013-12-26 21:38:14 +00:00
|
|
|
|
|
|
|
Simple "testing"
|
|
|
|
|
2014-01-05 18:32:47 +00:00
|
|
|
(*
|
2013-12-26 21:38:14 +00:00
|
|
|
parse_lean_cmds([[
|
|
|
|
Simple "bla"
|
|
|
|
]])
|
2014-01-05 18:32:47 +00:00
|
|
|
*)
|