Re: [Freeciv-Dev] Serious Suggestions
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Falk Hueffner (falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx) wrote:
> I have also considered this recently. I think using a "real" language
> for this is a bit overkill. I considered a simple language with some
> predefined predicates like:
>
> defenders < 2 : Riflemen
> food_surplus > 2 : Settlers
> !have(Great Wall) && size >= 4 : City Walls
> size >= 7 : Aqueduct
> production > 8 : JS-Bach
I think that if we're going to go to the trouble of adding some sort
of extension capability, it should be a full language, not just a
simple hack.
Someone mentioned "bloat". I think this is misleading -- we've already
got a graphical interface in the client, so adding a scripting language
is relatively insignificant. (I don't have statistics available, but my
feeling is that the overhead added by adding a Guile or Python interpreter
would be much smaller than the current client memory/CPU usage.)
--
Greg Wooledge | Distributed.NET http://www.distributed.net/
wooledge@xxxxxxxxxxx | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |
- Re: [Freeciv-Dev] Serious Suggestions, (continued)
- Re: [Freeciv-Dev] Serious Suggestions, Falk Hueffner, 1999/02/23
- Re: [Freeciv-Dev] Serious Suggestions, Matt Busigin, 1999/02/23
- Re: [Freeciv-Dev] Serious Suggestions,
Greg Wooledge <=
- Re: [Freeciv-Dev] Serious Suggestions, Stephen Hodge, 1999/02/24
- Re: [Freeciv-Dev] Serious Suggestions, Tony Stuckey, 1999/02/24
- Re: [Freeciv-Dev] Serious Suggestions, Matt Busigin, 1999/02/24
- Re: [Freeciv-Dev] Serious Suggestions, Reinier Post, 1999/02/25
- Re: [Freeciv-Dev] Serious Suggestions, Matt Busigin, 1999/02/24
- [Freeciv-Dev] Alternative Client, Billy Naylor, 1999/02/27
|
|