[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Using Lua to replace C
- From: Reuben Thomas <rrt@...>
- Date: Fri, 11 Mar 2011 22:54:22 +0000
On 11 March 2011 22:52, Dimiter "malkia" Stanev <malkia@gmail.com> wrote:
>
> Lua does not allow forward function declarations, and I cannot recompile
> just a function (or maybe there is a trick).
Um, yes it does:
> function f(x) return g(x) end
> function g(x) print (x) end
> f(30)
30
Or am I missing something?
--
http://rrt.sc3d.org