[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is LPeg production ready yet?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 14 Jun 2017 13:47:58 -0300
> But why don't we also provide some c level functions further like:
> *load_lua_code_to_ast*: return corresponding ast table (the ast
> described by
> linked lua tables, and users could modify it as their wishes)
> *translate_ast_to_lua_code*: translate the ast table to lua source code
> *execute_ast*: execute the ast directly
Because the Lua parser does not build a AST.