[Freeciv-Dev] Server/ruleset unification & grammars [Was [RFC PATCH] ini
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
Freeciv developers <freeciv-dev@xxxxxxxxxxx> |
Subject: |
[Freeciv-Dev] Server/ruleset unification & grammars [Was [RFC PATCH] init_techs] |
From: |
Arien Malec <arien_malec@xxxxxxxxx> |
Date: |
Mon, 24 Sep 2001 13:20:11 -0700 (PDT) |
--- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > > You know (f)lex and yacc/bison?
> >
> > I don't, though I'm sure I could learn them. Why?
>
> 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.
The concept of a small/little language is, IMHO, exactly the right one. The
choice of parsing infrastructure, however, depends on how complex the little
language is. lex/yacc are great for a complex language with LALR grammars, but
there is a certain overhead associated with them. If we confine ourselves to
LL(1) grammars, we don't need that overhead.
The sort of attribute setting stuff that the server and rulesets do is not
terribly hard & doesn't *need* the full overhead of lex/yacc.
Arien
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.
http://im.yahoo.com
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, (continued)
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Justin Moore, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Arien Malec, 2001/09/23
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Justin Moore, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Raimar Falke, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Justin Moore, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Reinier Post, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Daniel L Speyer, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Raimar Falke, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Daniel L Speyer, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Raimar Falke, 2001/09/24
- [Freeciv-Dev] Server/ruleset unification & grammars [Was [RFC PATCH] init_techs],
Arien Malec <=
- [Freeciv-Dev] Re: Server/ruleset unification & grammars [Was [RFC PATCH] init_techs], Stepan Roh, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Reinier Post, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Raimar Falke, 2001/09/24
- [Freeciv-Dev] Re: [RFC PATCH] init_techs, Greg Wooledge, 2001/09/24
- [Freeciv-Dev] Server/ruleset unification [Was [RFC PATCH] init_techs], Arien Malec, 2001/09/24
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Raimar Falke, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Arien Malec, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Raimar Falke, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Arien Malec, 2001/09/25
- [Freeciv-Dev] Re: Server/ruleset unification [Was [RFC PATCH] init_techs], Raimar Falke, 2001/09/25
|
|