Haichuan Wang
Haichuan Wang
1) ast2src cannot handle minus op, issue #25 2) parser cannot access \\\r\n sequence, part of issue #21
The unm operator is ignored during the ast_to_src transformation. The source code bug.lua ``` lua a = -1 ``` The test code test.lua ``` lua require 'metalua.loader' mlc = require...
If I follow the document http://metalua.luaforge.net/manual004.html#toc9 to write an ast walker, such as ``` lua local cfg = { expr = { }, stat = { }, block = {...