Re: [Q] simple translator from Lua to Java Script and PHP
2008-11-01 04:23:43 GMT
Hi, I need some more directions, I reviewed the web page with list of LuaGrammar stuff and I tried to get something simple working to see which ones I could use as base so: a) Luabalanced -- works however it recognizes only top-level things -- like nested comments/tables/lists. It does not have an AST representation (it was not its goal anyways) b)looked at luafish http://lua-users.org/wiki/LuaFish The last comment said that the most recent work is using gg/mlp from metalua. I installed the [luaanalyze-20080925b.tar.gz] got it to run on the example file -- no problems. However, there is no documentations/samples on how to use this (since this is workin in progress). And I am having difficulties figuring out out the basic APIs to walk through the AST, and assign actions (if I need any for translation). c) Still having difficulties to get metalua to run on windows (but the metalua's gg/mlp works in the luaanalyse above -- so I am thinking when Fabian has time for getting the whole metalua support for windows/vs 2005/lua 5.1.4 -- I will at least get some knowledge of dealing with AST using luaanlyze)(Continue reading)
RSS Feed