lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


The whole compile-time stuff is loaded by metalua.compiler. Then, the format conversion functions are accessible as mlc.xxx_of_xxx(), with xxx replaced by one of function, luafile, luacstring, lexstream, luastring, ast. 

require 'metalua.compiler'
ast = mlc.ast_of_luastring [[foo=bar]]

-- Fabien.