function ast_compare(ast1, ast2) [...snip...]endmlc = require 'metalua.compiler'.new() function compare(src1, src2) local ast1 = mlc.src_to_ast(src1) local ast2 = mlc.src_to_ast(src2) if ast_compare(ast1, ast2) then print "EQUAL" endend