Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2004:
[Freeciv-Dev] Re: (PR#8239) Speclist generator
Home

[Freeciv-Dev] Re: (PR#8239) Speclist generator

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8239) Speclist generator
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Mar 2004 11:32:10 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8239 >

Per I. Mathisen wrote:
> To overcome some limitations in the specfile system, I've made a python
> generator to create speclist header files. It is small and simple, and
> from a lists.def file in each relevant directory, creates a named header
> file which contains all the speclists listed in lists.def. They are
> all inlined, so no .c file is needed.

It's things like this that make it seem like we shouldn't be using C.

Maybe eventually all of Freeciv will be coded via python generators?

Maybe this code would be better off coded directly in python and linked 
to C?  (I'm not sure if this is possible because a lot of it is macros.)

jason




[Prev in Thread] Current Thread [Next in Thread]