lean2/tests/lean/nested.lean
Leonardo de Moura ef18cc4a92 fix(frontends/lean/parser): add existing command macros when creating parser object
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-26 13:38:14 -08:00

20 lines
250 B
Text

(**
cmd_macro("Simple",
{ macro_arg.String },
function (env, str)
print("OUTPUT: " .. str)
end
)
parse_lean_cmds([[
Simple "foo"
]])
**)
Simple "testing"
(**
parse_lean_cmds([[
Simple "bla"
]])
**)