metalua
metalua copied to clipboard
The metalua programming language
The website for metalua has been non-responsive for months now... https://metalua.luaforge.net/
The manual is written as if there is a `metalua` executable, but I could not find one. Linking `metalua.lua` to the `$PATH` appears to be insufficient since a) there is...
For example, I can't run with the example in [quick tour](http://metalua.luaforge.net/quicktour.html): ```lua --------------------------------------------------------- -- the "-{...}" means that we're going to do compile-time -- stuff (here, syntax extension) --------------------------------------------------------- -{...
Processes unary minus correctly, produces valid code for string literal method calls and IIFEs, processes label, goto, and the `Stat nodes, escapes invalid identifiers.
1) ast2src cannot handle minus op, issue #25 2) parser cannot access \\\r\n sequence, part of issue #21
The Lua community overall prefers continuing the legacy of C-style snake_case to CamelCase, for filenames, variables, and function names. Could metalua print a warning when it encounters CamelCase?
LuaJIT is much faster than ordinary Lua, but it uses a different (and incompatible) bytecode format and opcode set. LuaJIT also offers an easy-to-use FFI, which means that many libraries...
Hi, With the following source: ``` lua (This is blank line ) #!/usr/bin/lua return ``` Running lua I get: ``` sh $ lua /tmp/main.lua lua: /tmp/main.lua:2: unexpected symbol near '#'...
Running the following I get: ``` sh M> ast = mlc.luastring_to_ast([[local s ='\ ']]) Evaluation error: lexer.lua:284: Unknown escape sequence '\ ' stack traceback: [C]: in function 'error' lexer.lua:284: in...
I'm trying to compile metalua, but first it gave me an error with pluto.so saying I should recompile with -fPIC, so I added that flag there, and it worked, but...