Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: [RFC PATCH] init_techs
Home

[Freeciv-Dev] Re: [RFC PATCH] init_techs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx (Freeciv developers)
Subject: [Freeciv-Dev] Re: [RFC PATCH] init_techs
From: Reinier Post <rp@xxxxxxxxxx>
Date: Mon, 24 Sep 2001 22:37:43 +0200

On Mon, Sep 24, 2001 at 05:42:09PM +0200, Raimar Falke wrote:

> > > You know (f)lex and yacc/bison?
> > 
> > I don't, though I'm sure I could learn them.  Why?

lex is the standard Unix tool to parse input into tokens of varipous
types; yacc is the standard tool to parse structured constructs
consisting of such tokens; flex and bison are the GNU equivalents.

> You can easily define a small language which may be used to interface
> with the server. It can reduce the amount of parsing the "real"
> freeciv code has to do. It looks like some propose to implement
> something like this by hand.

As I said I don't know how portable lex is, and yacc may simply be
overkill.

>       Raimar

-- 
Reinier


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