1 2 3 4 5 6 7 8 9 10 11 12 13
local parser = require 'parser' rawset(_G, 'TEST', true) function TEST(script) local ast = parser:compile(script, 'lua', 'Lua 5.3') assert(ast) return ast end require 'full.normal' require 'full.example' require 'full.dirty'