Re: Is "scripting" truly Lua's future?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Is "scripting" truly Lua's future?
- From: Tony Finch <dot@...>
- Date: 2008年9月15日 15:49:40 +0100
On 2008年9月12日, David Given wrote:
>
> - Lua doesn't have a preprocessor. My app was made up of multiple source
> files, and most of the time I wanted the same common header at the top
> of each source file (importing C functions, mostly). Many's the time I
> wished for #include.
It's a dynamic language, so you achieve something like that by calling a
global function which sets up the namespace at run time.
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
LUNDY: VARIABLE 3 OR 4. SLIGHT OR MODERATE. RAIN AT TIMES. MODERATE OR GOOD,
OCCASIONALLY POOR.