metalua
metalua copied to clipboard
The metalua programming language
For Lua 5.2 compatibility, remove getfenv in base.lua.
I've love to be able to use metalua with Lua 5.3; One of the more interesting applications would be compiling 5.3 => 5.1; changing (e.g.) bitwise operators for function calls.
Trace: ``` $ luadist install metalua Downloading repository information... Finding out available versions of metalua... Getting metalua-0.5 (binary)... - trying another candidate due to: Error getting dependency of 'metalua-0.5': Package...
Could the tabs be updated? Download should point to an example `luadist install metalua` command, and `mailing list` should be replaced with a link to fab13n/metalua GitHub issues.
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 = {...
Hi, I'm on branch _konekildt_. I created an AST containing an error, while traversing it, I got a function instead of an ``Error` node. Here is the code to reproduce....
This PR aims to provide the location info of the token facing the one where a parse error occured. To this end, another line of text is added to the...
I have written an email to @fab13n but got no reply. I have been exploring the project for quite a few days and I really want to move this project...