[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: L2: Lua compiler in the works
- From: "steve donovan" <steve.j.donovan@...>
- Date: Tue, 20 Nov 2007 10:12:40 +0200
That sounds like a job for a preprocessor, not so? It would confuse the issue.
A particularly effective optimization would be detecting global table
calls (e.g. table.insert, math.sin) and automatically creating local
aliases. Can L2 do this?
On Nov 20, 2007 8:48 AM, Asko Kauppi <firstname.lastname@example.org> wrote:
> Not to discourage you, but I'd see inlining and the string.rep kind of
> optimizations easily doable via syntax modding (aka token filtering). It
> will still be a good thing to find such optimization points (btw, I've never
> needed string.rep myself...) but the eventual implementation could be merged
> with one of the filtering tools (MetaLua, luaSuper, ...).